Loading core/java/android/app/Notification.java +3 −3 Original line number Diff line number Diff line Loading @@ -207,7 +207,7 @@ public class Notification implements Parcelable * <p> * Avoids spamming the system with overly large strings such as full e-mails. */ private static final int MAX_CHARSEQUENCE_LENGTH = 5 * 1024; private static final int MAX_CHARSEQUENCE_LENGTH = 1024; /** * Maximum entries of reply text that are accepted by Builder and friends. Loading Loading @@ -7821,7 +7821,7 @@ public class Notification implements Parcelable */ public Message(@NonNull CharSequence text, long timestamp, @Nullable Person sender, boolean remoteInputHistory) { mText = text; mText = safeCharSequence(text); mTimestamp = timestamp; mSender = sender; mRemoteInputHistory = remoteInputHistory; Loading Loading @@ -7935,7 +7935,7 @@ public class Notification implements Parcelable bundle.putLong(KEY_TIMESTAMP, mTimestamp); if (mSender != null) { // Legacy listeners need this bundle.putCharSequence(KEY_SENDER, mSender.getName()); bundle.putCharSequence(KEY_SENDER, safeCharSequence(mSender.getName())); bundle.putParcelable(KEY_SENDER_PERSON, mSender); } if (mDataMimeType != null) { Loading core/java/android/os/Build.java +12 −0 Original line number Diff line number Diff line Loading @@ -1021,6 +1021,18 @@ public class Build { /** * R. * * <p>Applications targeting this or a later release will get these new changes in behavior. * For more information about this release, see the * <a href="/about/versions/11">Android 11 overview</a>.</p> * <ul> * <li><a href="/about/versions/11/behavior-changes-all">Behavior changes: all apps</a></li> * <li><a href="/about/versions/11/behavior-changes-11">Behavior changes: Apps targeting * Android 11</a></li> * <li><a href="/about/versions/11/non-sdk-11">Updates to non-SDK interface restrictions * in Android 11</a></li> * </ul> * */ public static final int R = 30; } Loading core/java/android/os/storage/StorageManagerInternal.java +1 −1 Original line number Diff line number Diff line Loading @@ -118,7 +118,7 @@ public abstract class StorageManagerInternal { * affects them. */ public abstract void onAppOpsChanged(int code, int uid, @Nullable String packageName, int mode); @Nullable String packageName, int mode, int previousMode); /** * Asks the StorageManager to reset all state for the provided user; this will result Loading packages/CarSystemUI/src/com/android/systemui/car/keyguard/CarKeyguardViewController.java +1 −4 Original line number Diff line number Diff line Loading @@ -141,7 +141,7 @@ public class CarKeyguardViewController extends OverlayViewController implements } @Override protected boolean shouldShowNavigationBar() { protected boolean shouldShowNavigationBarInsets() { return true; } Loading Loading @@ -177,7 +177,6 @@ public class CarKeyguardViewController extends OverlayViewController implements mKeyguardStateController.notifyKeyguardState(mShowing, /* occluded= */ false); mCarNavigationBarController.showAllKeyguardButtons(/* isSetUp= */ true); start(); getOverlayViewGlobalStateController().setWindowFocusable(/* focusable= */ true); reset(/* hideBouncerWhenShowing= */ false); notifyKeyguardUpdateMonitor(); } Loading @@ -192,7 +191,6 @@ public class CarKeyguardViewController extends OverlayViewController implements mBouncer.hide(/* destroyView= */ true); mCarNavigationBarController.hideAllKeyguardButtons(/* isSetUp= */ true); stop(); getOverlayViewGlobalStateController().setWindowFocusable(/* focusable= */ false); mKeyguardStateController.notifyKeyguardDoneFading(); mHandler.post(mViewMediatorCallback::keyguardGone); notifyKeyguardUpdateMonitor(); Loading Loading @@ -237,7 +235,6 @@ public class CarKeyguardViewController extends OverlayViewController implements public void onCancelClicked() { if (mBouncer == null) return; getOverlayViewGlobalStateController().setWindowFocusable(/* focusable= */ false); getOverlayViewGlobalStateController().setWindowNeedsInput(/* needsInput= */ false); mBouncer.hide(/* destroyView= */ true); Loading packages/CarSystemUI/src/com/android/systemui/car/notification/NotificationPanelViewController.java +2 −2 Original line number Diff line number Diff line Loading @@ -193,12 +193,12 @@ public class NotificationPanelViewController extends OverlayPanelViewController } @Override protected boolean shouldShowNavigationBar() { protected boolean shouldShowNavigationBarInsets() { return true; } @Override protected boolean shouldShowStatusBar() { protected boolean shouldShowStatusBarInsets() { return true; } Loading Loading
core/java/android/app/Notification.java +3 −3 Original line number Diff line number Diff line Loading @@ -207,7 +207,7 @@ public class Notification implements Parcelable * <p> * Avoids spamming the system with overly large strings such as full e-mails. */ private static final int MAX_CHARSEQUENCE_LENGTH = 5 * 1024; private static final int MAX_CHARSEQUENCE_LENGTH = 1024; /** * Maximum entries of reply text that are accepted by Builder and friends. Loading Loading @@ -7821,7 +7821,7 @@ public class Notification implements Parcelable */ public Message(@NonNull CharSequence text, long timestamp, @Nullable Person sender, boolean remoteInputHistory) { mText = text; mText = safeCharSequence(text); mTimestamp = timestamp; mSender = sender; mRemoteInputHistory = remoteInputHistory; Loading Loading @@ -7935,7 +7935,7 @@ public class Notification implements Parcelable bundle.putLong(KEY_TIMESTAMP, mTimestamp); if (mSender != null) { // Legacy listeners need this bundle.putCharSequence(KEY_SENDER, mSender.getName()); bundle.putCharSequence(KEY_SENDER, safeCharSequence(mSender.getName())); bundle.putParcelable(KEY_SENDER_PERSON, mSender); } if (mDataMimeType != null) { Loading
core/java/android/os/Build.java +12 −0 Original line number Diff line number Diff line Loading @@ -1021,6 +1021,18 @@ public class Build { /** * R. * * <p>Applications targeting this or a later release will get these new changes in behavior. * For more information about this release, see the * <a href="/about/versions/11">Android 11 overview</a>.</p> * <ul> * <li><a href="/about/versions/11/behavior-changes-all">Behavior changes: all apps</a></li> * <li><a href="/about/versions/11/behavior-changes-11">Behavior changes: Apps targeting * Android 11</a></li> * <li><a href="/about/versions/11/non-sdk-11">Updates to non-SDK interface restrictions * in Android 11</a></li> * </ul> * */ public static final int R = 30; } Loading
core/java/android/os/storage/StorageManagerInternal.java +1 −1 Original line number Diff line number Diff line Loading @@ -118,7 +118,7 @@ public abstract class StorageManagerInternal { * affects them. */ public abstract void onAppOpsChanged(int code, int uid, @Nullable String packageName, int mode); @Nullable String packageName, int mode, int previousMode); /** * Asks the StorageManager to reset all state for the provided user; this will result Loading
packages/CarSystemUI/src/com/android/systemui/car/keyguard/CarKeyguardViewController.java +1 −4 Original line number Diff line number Diff line Loading @@ -141,7 +141,7 @@ public class CarKeyguardViewController extends OverlayViewController implements } @Override protected boolean shouldShowNavigationBar() { protected boolean shouldShowNavigationBarInsets() { return true; } Loading Loading @@ -177,7 +177,6 @@ public class CarKeyguardViewController extends OverlayViewController implements mKeyguardStateController.notifyKeyguardState(mShowing, /* occluded= */ false); mCarNavigationBarController.showAllKeyguardButtons(/* isSetUp= */ true); start(); getOverlayViewGlobalStateController().setWindowFocusable(/* focusable= */ true); reset(/* hideBouncerWhenShowing= */ false); notifyKeyguardUpdateMonitor(); } Loading @@ -192,7 +191,6 @@ public class CarKeyguardViewController extends OverlayViewController implements mBouncer.hide(/* destroyView= */ true); mCarNavigationBarController.hideAllKeyguardButtons(/* isSetUp= */ true); stop(); getOverlayViewGlobalStateController().setWindowFocusable(/* focusable= */ false); mKeyguardStateController.notifyKeyguardDoneFading(); mHandler.post(mViewMediatorCallback::keyguardGone); notifyKeyguardUpdateMonitor(); Loading Loading @@ -237,7 +235,6 @@ public class CarKeyguardViewController extends OverlayViewController implements public void onCancelClicked() { if (mBouncer == null) return; getOverlayViewGlobalStateController().setWindowFocusable(/* focusable= */ false); getOverlayViewGlobalStateController().setWindowNeedsInput(/* needsInput= */ false); mBouncer.hide(/* destroyView= */ true); Loading
packages/CarSystemUI/src/com/android/systemui/car/notification/NotificationPanelViewController.java +2 −2 Original line number Diff line number Diff line Loading @@ -193,12 +193,12 @@ public class NotificationPanelViewController extends OverlayPanelViewController } @Override protected boolean shouldShowNavigationBar() { protected boolean shouldShowNavigationBarInsets() { return true; } @Override protected boolean shouldShowStatusBar() { protected boolean shouldShowStatusBarInsets() { return true; } Loading