Loading src/com/android/documentsui/DocumentsApplication.java +2 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ package com.android.documentsui; import android.annotation.SuppressLint; import android.app.ActivityManager; import android.app.Application; import android.content.BroadcastReceiver; Loading Loading @@ -115,6 +116,7 @@ public class DocumentsApplication extends Application { Log.d(TAG, "OverlayManager.setEnabled() result: " + result); } @SuppressLint("NewApi") // OverlayManager.class is @hide @Override public void onCreate() { super.onCreate(); Loading src/com/android/documentsui/PreBootReceiver.java +2 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,7 @@ package com.android.documentsui; import static com.android.documentsui.base.Shared.LAUNCHER_TARGET_CLASS; import static com.android.documentsui.base.SharedMinimal.DEBUG; import android.annotation.SuppressLint; import android.content.BroadcastReceiver; import android.content.ComponentName; import android.content.Context; Loading @@ -45,6 +46,7 @@ public class PreBootReceiver extends BroadcastReceiver { private static final String DOWNLOADS_TARGET_CLASS = "com.android.documentsui.ViewDownloadsActivity"; @SuppressLint("NewApi") // OverlayManager is @hdie @Override public void onReceive(Context context, Intent intent) { final PackageManager pm = context.getPackageManager(); Loading Loading
src/com/android/documentsui/DocumentsApplication.java +2 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ package com.android.documentsui; import android.annotation.SuppressLint; import android.app.ActivityManager; import android.app.Application; import android.content.BroadcastReceiver; Loading Loading @@ -115,6 +116,7 @@ public class DocumentsApplication extends Application { Log.d(TAG, "OverlayManager.setEnabled() result: " + result); } @SuppressLint("NewApi") // OverlayManager.class is @hide @Override public void onCreate() { super.onCreate(); Loading
src/com/android/documentsui/PreBootReceiver.java +2 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,7 @@ package com.android.documentsui; import static com.android.documentsui.base.Shared.LAUNCHER_TARGET_CLASS; import static com.android.documentsui.base.SharedMinimal.DEBUG; import android.annotation.SuppressLint; import android.content.BroadcastReceiver; import android.content.ComponentName; import android.content.Context; Loading @@ -45,6 +46,7 @@ public class PreBootReceiver extends BroadcastReceiver { private static final String DOWNLOADS_TARGET_CLASS = "com.android.documentsui.ViewDownloadsActivity"; @SuppressLint("NewApi") // OverlayManager is @hdie @Override public void onReceive(Context context, Intent intent) { final PackageManager pm = context.getPackageManager(); Loading