Loading core/java/android/app/Activity.java +2 −1 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ package android.app; import static android.Manifest.permission.CONTROL_REMOTE_APP_TRANSITION_ANIMATIONS; import static android.os.Process.myUid; import static java.lang.Character.MIN_VALUE; Loading Loading @@ -1025,7 +1026,7 @@ public class Activity extends ContextThemeWrapper */ @Nullable private ContentCaptureManager getContentCaptureManager() { // ContextCapture disabled for system apps if (getApplicationInfo().isSystemApp()) return null; if (!UserHandle.isApp(myUid())) return null; if (mContentCaptureManager == null) { mContentCaptureManager = getSystemService(ContentCaptureManager.class); } Loading Loading
core/java/android/app/Activity.java +2 −1 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ package android.app; import static android.Manifest.permission.CONTROL_REMOTE_APP_TRANSITION_ANIMATIONS; import static android.os.Process.myUid; import static java.lang.Character.MIN_VALUE; Loading Loading @@ -1025,7 +1026,7 @@ public class Activity extends ContextThemeWrapper */ @Nullable private ContentCaptureManager getContentCaptureManager() { // ContextCapture disabled for system apps if (getApplicationInfo().isSystemApp()) return null; if (!UserHandle.isApp(myUid())) return null; if (mContentCaptureManager == null) { mContentCaptureManager = getSystemService(ContentCaptureManager.class); } Loading