Migrate PatchAPK to Kotlin

This commit is contained in:
topjohnwu
2019-08-04 13:00:27 -07:00
parent 8706d834b4
commit 33b7ab593c
7 changed files with 156 additions and 173 deletions
@@ -97,10 +97,6 @@ public class Notifications {
mgr.notify(Const.ID.DTBO_NOTIFICATION_ID, builder.build());
}
public static NotificationCompat.Builder progress(CharSequence title) {
return progress(App.self, title);
}
public static NotificationCompat.Builder progress(Context context, CharSequence title) {
NotificationCompat.Builder builder = new NotificationCompat.Builder(context, Const.ID.PROGRESS_NOTIFICATION_CHANNEL);
builder.setPriority(NotificationCompat.PRIORITY_LOW)