Improve notification support

This commit is contained in:
topjohnwu
2017-07-20 01:44:32 +08:00
parent c11a3dc95c
commit 668d85d14e
6 changed files with 63 additions and 42 deletions
@@ -7,6 +7,7 @@ import android.net.Uri;
import android.os.Build;
import android.support.v4.content.FileProvider;
import com.topjohnwu.magisk.MagiskManager;
import com.topjohnwu.magisk.utils.Utils;
import java.io.File;
@@ -34,8 +35,8 @@ public class ManagerUpdate extends BroadcastReceiver {
}
}
},
intent.getStringExtra("link"),
intent.getStringExtra(MagiskManager.INTENT_LINK),
Utils.getLegalFilename("MagiskManager-v" +
intent.getStringExtra("version") + ".apk"));
intent.getStringExtra(MagiskManager.INTENT_VERSION) + ".apk"));
}
}