Update repo fragment and adapter

This commit is contained in:
topjohnwu
2017-07-18 23:18:57 +08:00
parent 6933bcf7bb
commit 10efe3859d
7 changed files with 180 additions and 373 deletions
@@ -18,7 +18,7 @@ public class ManagerUpdate extends BroadcastReceiver {
context,
new DownloadReceiver() {
@Override
public void onDownloadDone(Uri uri, Context context) {
public void onDownloadDone(Uri uri) {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
Intent install = new Intent(Intent.ACTION_INSTALL_PACKAGE);
install.setFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);