Loading core/java/android/app/ActivityManager.java +3 −0 Original line number Diff line number Diff line Loading @@ -3666,6 +3666,9 @@ public class ActivityManager { * processes to reclaim memory; the system will take care of restarting * these processes in the future as needed. * * <p class="note">Third party applications can only use this API to kill their own processes. * </p> * * @param packageName The name of the package whose processes are to * be killed. */ Loading core/java/android/app/Notification.java +6 −0 Original line number Diff line number Diff line Loading @@ -2761,6 +2761,10 @@ public class Notification implements Parcelable * @hide */ public void visitUris(@NonNull Consumer<Uri> visitor) { if (publicVersion != null) { publicVersion.visitUris(visitor); } visitor.accept(sound); if (tickerView != null) tickerView.visitUris(visitor); Loading Loading @@ -2846,6 +2850,8 @@ public class Notification implements Parcelable } } } visitIconUri(visitor, extras.getParcelable(EXTRA_CONVERSATION_ICON)); } if (isStyle(CallStyle.class) & extras != null) { Loading core/java/android/app/admin/DevicePolicyManager.java +2 −1 Original line number Diff line number Diff line Loading @@ -11411,7 +11411,8 @@ public class DevicePolicyManager { /** * Called by a device admin to set the long support message. This will be displayed to the user * in the device administators settings screen. * in the device administrators settings screen. If the message is longer than 20000 characters * it may be truncated. * <p> * If the long support message needs to be localized, it is the responsibility of the * {@link DeviceAdminReceiver} to listen to the {@link Intent#ACTION_LOCALE_CHANGED} broadcast core/java/android/widget/RemoteViews.java +19 −1 Original line number Diff line number Diff line Loading @@ -709,6 +709,11 @@ public class RemoteViews implements Parcelable, Filter { mActions.get(i).visitUris(visitor); } } if (mSizedRemoteViews != null) { for (int i = 0; i < mSizedRemoteViews.size(); i++) { mSizedRemoteViews.get(i).visitUris(visitor); } } if (mLandscape != null) { mLandscape.visitUris(visitor); } Loading Loading @@ -1803,7 +1808,7 @@ public class RemoteViews implements Parcelable, Filter { } @Override public final void visitUris(@NonNull Consumer<Uri> visitor) { public void visitUris(@NonNull Consumer<Uri> visitor) { switch (this.type) { case URI: final Uri uri = (Uri) getParameterValue(null); Loading Loading @@ -2266,6 +2271,14 @@ public class RemoteViews implements Parcelable, Filter { public int getActionTag() { return NIGHT_MODE_REFLECTION_ACTION_TAG; } @Override public void visitUris(@NonNull Consumer<Uri> visitor) { if (this.type == ICON) { visitIconUri((Icon) mDarkValue, visitor); visitIconUri((Icon) mLightValue, visitor); } } } /** Loading Loading @@ -2560,6 +2573,11 @@ public class RemoteViews implements Parcelable, Filter { public int getActionTag() { return VIEW_GROUP_ACTION_ADD_TAG; } @Override public final void visitUris(@NonNull Consumer<Uri> visitor) { mNestedViews.visitUris(visitor); } } /** Loading core/res/AndroidManifest.xml +5 −1 Original line number Diff line number Diff line Loading @@ -2829,6 +2829,10 @@ <!-- Allows an application to call {@link android.app.ActivityManager#killBackgroundProcesses}. <p class="note">Third party applications can only use this API to kill their own processes.</p> <p>Protection level: normal --> <permission android:name="android.permission.KILL_BACKGROUND_PROCESSES" Loading Loading
core/java/android/app/ActivityManager.java +3 −0 Original line number Diff line number Diff line Loading @@ -3666,6 +3666,9 @@ public class ActivityManager { * processes to reclaim memory; the system will take care of restarting * these processes in the future as needed. * * <p class="note">Third party applications can only use this API to kill their own processes. * </p> * * @param packageName The name of the package whose processes are to * be killed. */ Loading
core/java/android/app/Notification.java +6 −0 Original line number Diff line number Diff line Loading @@ -2761,6 +2761,10 @@ public class Notification implements Parcelable * @hide */ public void visitUris(@NonNull Consumer<Uri> visitor) { if (publicVersion != null) { publicVersion.visitUris(visitor); } visitor.accept(sound); if (tickerView != null) tickerView.visitUris(visitor); Loading Loading @@ -2846,6 +2850,8 @@ public class Notification implements Parcelable } } } visitIconUri(visitor, extras.getParcelable(EXTRA_CONVERSATION_ICON)); } if (isStyle(CallStyle.class) & extras != null) { Loading
core/java/android/app/admin/DevicePolicyManager.java +2 −1 Original line number Diff line number Diff line Loading @@ -11411,7 +11411,8 @@ public class DevicePolicyManager { /** * Called by a device admin to set the long support message. This will be displayed to the user * in the device administators settings screen. * in the device administrators settings screen. If the message is longer than 20000 characters * it may be truncated. * <p> * If the long support message needs to be localized, it is the responsibility of the * {@link DeviceAdminReceiver} to listen to the {@link Intent#ACTION_LOCALE_CHANGED} broadcast
core/java/android/widget/RemoteViews.java +19 −1 Original line number Diff line number Diff line Loading @@ -709,6 +709,11 @@ public class RemoteViews implements Parcelable, Filter { mActions.get(i).visitUris(visitor); } } if (mSizedRemoteViews != null) { for (int i = 0; i < mSizedRemoteViews.size(); i++) { mSizedRemoteViews.get(i).visitUris(visitor); } } if (mLandscape != null) { mLandscape.visitUris(visitor); } Loading Loading @@ -1803,7 +1808,7 @@ public class RemoteViews implements Parcelable, Filter { } @Override public final void visitUris(@NonNull Consumer<Uri> visitor) { public void visitUris(@NonNull Consumer<Uri> visitor) { switch (this.type) { case URI: final Uri uri = (Uri) getParameterValue(null); Loading Loading @@ -2266,6 +2271,14 @@ public class RemoteViews implements Parcelable, Filter { public int getActionTag() { return NIGHT_MODE_REFLECTION_ACTION_TAG; } @Override public void visitUris(@NonNull Consumer<Uri> visitor) { if (this.type == ICON) { visitIconUri((Icon) mDarkValue, visitor); visitIconUri((Icon) mLightValue, visitor); } } } /** Loading Loading @@ -2560,6 +2573,11 @@ public class RemoteViews implements Parcelable, Filter { public int getActionTag() { return VIEW_GROUP_ACTION_ADD_TAG; } @Override public final void visitUris(@NonNull Consumer<Uri> visitor) { mNestedViews.visitUris(visitor); } } /** Loading
core/res/AndroidManifest.xml +5 −1 Original line number Diff line number Diff line Loading @@ -2829,6 +2829,10 @@ <!-- Allows an application to call {@link android.app.ActivityManager#killBackgroundProcesses}. <p class="note">Third party applications can only use this API to kill their own processes.</p> <p>Protection level: normal --> <permission android:name="android.permission.KILL_BACKGROUND_PROCESSES" Loading