- Feb 16, 2021
-
-
TreeHugger Robot authored
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13554970 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I2a30fde30df3230b3f4e7264480c8d6cd48595ff
-
Fabian Kozynski authored
am skip reason: skipped by user reminv Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13554970 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ib30e82ec8ee260c65332f4833be2e8aead4d93e5
-
TreeHugger Robot authored
-
- Feb 15, 2021
-
-
Santos Cordon authored
Mostly just adding presubmit annotation, but has some test fixes as well. Bug: 178100879 Test: atest <each of the files in this CL> Change-Id: I073c66a520a3fb1ab58c19e702db2edd23d1e3ae
-
Hongming Jin authored
-
Gavin Corkery authored
-
Vadim Caen authored
Merge changes from topics "splash_api_sc_a2", "splash_api_sc_a3", "splash_api_sc_a4", "splash_api_sc_a5", "splash_api_sc_a6", "splash_exit_sc_a1" into sc-dev * changes: Add two more Api for SplashScreenView(7/N) Support persist night mode for application(6/N) Allow ShortcutInfo to specify a theme for splash screen.(5/N) Add API for show branding image on splash screen.(4/N) Provide new APIs for customize splash screen window.(3/N) Customizable exit splash screen animation.(2/N)
-
arangelov authored
Bug: 179143866 Test: none Change-Id: I47195f65e5a1039a984475d58fdfb9ad1651a107
-
Gavin Corkery authored
-
TreeHugger Robot authored
-
Oli Lan authored
-
TreeHugger Robot authored
-
wilsonshih authored
getIconAnimationDuration - Returns the duration of the icon animation if icon is animatable. getIconAnimationStart - If the replaced icon is animatable, return the animation start time in millisecond based on system. Bug: 73289295 Test: atest CtsWindowManagerDeviceTestCases:SplashscreenTests Change-Id: Ie4332d6764b4d0892a0e5e6f7c297102b71a79f9
-
wilsonshih authored
Developer now can use UiModeManager setApplicationNightMode to set the night mode and persist in framework. Next time when start a new process with the same package and userId, the persisted configuration will be overload to the process and activities. Introduce PackageConfigPersister, used to presist configuration for each package. Reference: go/wm-config-persist Bug: 73289295 Test: atest SplashscreenTests Change-Id: I17025a61526492596705ffe58ce450c328ff9470
-
wilsonshih authored
Provides new APIs so that shortcuts can preset the theme of the splash screen window. - Static way: android:splashScreenTheme Preset the splash screen theme from xml. - Dynamic way: ShortcutInfo.Builder#setStartingTheme Preset the splash screen theme when construct the ShortcutInfo programmatically. Bug: 73289295 Test: build/flash Test: atest AppWindowTokenTests ActivityRecordTests Change-Id: Ie5e73f9b22fea22659e496c12198c942f4bc93cd
-
TreeHugger Robot authored
-
wilsonshih authored
Add API windowSplashScreenBrandingImage to attach branding image on splash screen. Bug: 73289295 Test: build and flash Test: StartingSurfaceDrawerTests SplashscreenTests Change-Id: I15ab799d4e7bb74ce6814fa9375334db18022f3a
-
wilsonshih authored
Create new APIs for developer to customize starting window - windowSplashScreenBackground: specify the background color - windowSplashScreenAnimatedIcon: replace center icon on starting window, and it can be animatable. - windowSplashScreenAnimationDuration: the animation duration if the replace icon is animatable, it cannot exceed max_starting_window_intro_icon_anim_duration. Support ADV to replace the icon on starting window. Ref doc: go/improved_app_launch_animations Bug: 73289295 Test: build/flash Test: check splash screen starting window. Test: atest StartingSurfaceDrawerTests SplashscreenTests Test: atest ShellTaskOrganizerTests Change-Id: Id3de3e9b57d769f096baf43713c1e3c327ecfdc8
-
Gavin Corkery authored
Removes dependency on PackageManager when loading observers early in the boot. This is done by associating each MonitoredPackage with a "packageName" string rather than a VersionedPackage. Incoming failure calls will be matched against this string. Added test case to cover this condition. Test: Manual. Install apk with rollback enabled, reboot, adb shell dumpsys rollback, ensure package is still being monitored Test: atest StagedRollbackTest Bug: 177793481 Change-Id: I282ac75a9e97a58c3c0bf3e8978fd010ec5294cd
-
Gavin Corkery authored
Now it is possible for reboot to happen before the device test completes and fail the test. Let's move the last crash to trigger rollback to host side to avoid this problem. Bug: 178159821 Test: atest StagedRollbackTest Change-Id: I7db8d8a585c6d42be7f8017b55fbd4c547d7b56a Merged-In: I7db8d8a585c6d42be7f8017b55fbd4c547d7b56a (cherry picked from commit d32e3526)
-
wilsonshih authored
Introduce new APIs to customize exit splash screen animation. - SplashScreen This can be used for Activity to handle the exit splash screen animation. - SplashScreen#OnExitAnimationListener When receive onSplashScreenExit, the splash screen view will be on top of the activity. - SplashScreenView The view object which represents the view of current starting window. There are two APIs for developer to control it: - getIconView: get the icon view object. - remove: remove the view and release resources. If an Activity create a OnExitAnimationListener and set on SplashScreen, the core will request a copy of SplashScreenView from Shell, then send the parcelable information to client to reconstruct the view on top of the DecorView, then call onSplashScreenExit to let the listener able to operating this view. Bug: 73289295 Test: build/flash, check splash screen starting window. Test: atest StartingSurfaceDrawerTests ActivityRecordTests WindowOrganizerTests Test: atest CtsWindowManagerDeviceTestCases:SplashscreenTests Change-Id: I9f77fb4471bcf37a7f74d6c18a345ca56c05b716
-
TreeHugger Robot authored
-
Galia Peycheva authored
-
Kholoud Mohamed authored
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1585006 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ica1c0d36a56890ea0af92dc28abcf03555bd4f07
-
Lorenzo Colitti authored
Merge "BroadcastInterceptingContext: use passed-in broadcast Handler." am: 4346a646 am: 46654fe8 am: 61dd4acc Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1589251 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I5d38e78800c9a524ae7ccf5d55ebae1a9f60922f
-
Santos Cordon authored
Also fixed: - some tests needed to change to accomodate multi-display - Fixed non-deterministic handler execution. Bug: 178100879 Bug: 172555744 Test: atest DisplayManagerServiceTest Change-Id: I7526eda66ccab3da8445392e643c8b06d7302608
-
TreeHugger Robot authored
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13554970 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I86d974a2e1274a218e74b2d5ac7576a85915b744
-
Fabian Kozynski authored
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13554970 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: If3f805d3196fb64c76294177b127fa1e730a5111
-
Ruslan Tkhakokhov authored
-
Kholoud Mohamed authored
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1585006 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I23d3633cda96492ffd8f78b1cb2f348a771d8b05
-
Lorenzo Colitti authored
Merge "BroadcastInterceptingContext: use passed-in broadcast Handler." am: 4346a646 am: 46654fe8 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1589251 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ib20cb0ce6e981f71695edee77e428b4926266ea7
-
TreeHugger Robot authored
-
Kholoud Mohamed authored
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1585006 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I823a2663e5ea6fee8d71a3ed60a320fb1a00cd51
-
Kholoud Mohamed authored
-
Lorenzo Colitti authored
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1589251 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I81793b6c6ff3e4eb4146a115079443f76eecba13
-
Lorenzo Colitti authored
-
Lorenzo Colitti authored
Currently, BroadcastInterceptingContext always runs broadcast receivers on the thread that called sendBroadcast. This means: 1. Receivers might run on the wrong thread, making the test less realistic. 2. If any receiver checks what thread it's running on, then either the check needs to be modified or deleted, or the test must call sendBroadcast on the thread that the receiver expects to run on. The latter is impossible when there is more than one receiver that needs to run on more than one thread. This CL adds a setUseRegisteredHandlers method that allows tests to say that they want each receiver to run on the Handler specified at registration time. This CL also enables the new mode for ConnectivityServiceTest, and resolves a TODO to re-enable a disabled thread check. The new mode cannot be enabled by default because it would break most of the tests. All the below tests pass except for the car bluetooth test testAutoConnectAdapterOff_returnsImmediately which was already failing. Bug: 173331190 Test: atest CarInputServiceTest BluetoothProfileDeviceManagerTest Test: atest NetworkPolicyManagerServiceTest Test: atest ConnectivityServiceTest Test: atest TetheringTest TetheringNotificationUpdaterTest Test: atest VersionedBroadcastListenerTest EntitlementManagerTest Test: atest TetheringConfigurationTest Test: atest CachedDeviceStateServiceTest Test: atest EmergencyAffordanceServiceTest Change-Id: I3303bb14516f07a55d82a16b59c111ab3f8b0389
-
Zimuzo Ezeozue authored
-
Rubin Xu authored
[automerger skipped] Merge "add MANAGE_CREDENTIALS appop" into rvc-qpr-dev-plus-aosp am: d6c19708 -s ours am skip reason: Change-Id Ifd87b5e38f341db4b34bf9f61480e29e49148846 with SHA-1 d3c01ef5 is in history Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13562390 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I50ca6063d6d7c8ae9c92378a631105e292d84959
-
Rubin Xu authored
-