Commit Graph

623386 Commits

Author SHA1 Message Date
Kweku Adams
9f9fe8efb5 Check readiness of override-scheduled jobs.
Check the readiness of any jobs that were scheduled to override an
already running job once the running job has finished so that we can run
the new job immediately if it's ready.

Bug: 179818651
Test: atest CtsJobSchedulerTestCases
Change-Id: I86036e96964cc1786d25139ecd5e145165ce01c7
2021-02-10 15:58:00 -08:00
TreeHugger Robot
8fddb7a431 Merge "Use vibrator manager controller in VibratorManagerService" into sc-dev 2021-02-09 16:37:57 +00:00
Fabian Kozynski
f8c2d0ebf5 Merge "Change landing page from PrivacyDialog" into sc-dev 2021-02-09 16:36:38 +00:00
Songchun Fan
c4e2866c12 Merge "Revert^2 "[SettingsProvider] @Readable annotation to restrict access to hidden keys"" into sc-dev 2021-02-09 16:34:20 +00:00
Cassie Wang
6f200eb94f Merge "Require unlocked user for AppSearchImpl." into sc-dev 2021-02-09 16:20:21 +00:00
TreeHugger Robot
9ab8e869bc Merge "Remove two macros" into sc-dev 2021-02-09 16:16:47 +00:00
TreeHugger Robot
224e5f0b31 Merge "Rotate keyguard indication messages" into sc-dev 2021-02-09 15:36:14 +00:00
TreeHugger Robot
77cad7c3d9 Merge "Block calls to canAdminGrantSensorsPermissions on parent" into sc-dev 2021-02-09 15:28:41 +00:00
Lais Andrade
c4f27f3020 Use vibrator manager controller in VibratorManagerService
Add native methods to load manager capabilities and coordinate synced
vibrations in VibrationThread.

Bug: 167946816
Bug: 167946760
Test: VibratorManagerTest, VibrationThreadTest
Change-Id: I54dad9420be1e8cddae9023f8438581d3f553412
2021-02-09 14:44:13 +00:00
TreeHugger Robot
1afc2cdb46 Merge "Change CacheManager to not flush and submit at end of trimMemory." into sc-dev 2021-02-09 14:28:42 +00:00
Fabian Kozynski
02151de444 Merge "Add tile added/removed announcements" into sc-dev 2021-02-09 14:12:39 +00:00
Eran Messeri
cf9227656d Block calls to canAdminGrantSensorsPermissions on parent
Throw if canAdminGrantSensorsPermissions is called on the parent profile
instance.

That would fix ManagedProfileTest#testParentProfileApiDisabled

Bug: 179726587
Test: atest ManagedProfileTest#testParentProfileApiDisabled
Change-Id: I7ff654674ad412ac9a9219a1a470b50da928ea10
2021-02-09 13:44:58 +00:00
Beverly
aac8e536ab Rotate keyguard indication messages
In the new LS layout, we show the following messages in the keyguard
bottom area instead of in the KeyguardStatusView:
- Logout button
- Owner information

We also now show now playing as part of the rotating text on the lock
screen.

Bug: 178794517
Test: atest SystemUITest, manual
Change-Id: I1a0a47e300d1f9e5fe11c17d143e5a8f0ad8af60
2021-02-09 08:35:31 -05:00
Greg Daniel
41ef566268 Change CacheManager to not flush and submit at end of trimMemory.
The flush and submit at the start of trim memory now syncs the
cpu so that all work is done on the gpu and the max possible
amount of resources can be freed

This fixes CacheManager unit test since the submit at the end
trim memory was causing new resources to be available to be
purged.

Test: locally ran unit tests
Bug: 178978639
Change-Id: I8b57b042dd146fc6c1083540715295e93fd113d3
(cherry picked from commit 846644a46e)
2021-02-09 13:04:50 +00:00
Oli Lan
015c5af31d Merge "Add FrameworksInProcessTests to presubmit." into sc-dev 2021-02-09 12:44:15 +00:00
Zimuzo Ezeozue
7bbf564df0 Merge "Setup AnrController for StorageManagerService" into sc-dev 2021-02-09 12:37:15 +00:00
Zim
362d622e7e Setup AnrController for StorageManagerService
If transcoding is enabled, the StorageManagerService configures an
AnrController to allow delaying the ANR dialog when apps are
transcoding.

In later cl, the actual delay will be delegated to the
ExternalStorageService (MediaProvider).

Test: Manual
Bug: 170486601
Change-Id: Iafefba6a24cca1da7a73c5364f34893bf1868bea
2021-02-09 11:36:13 +00:00
Riddle Hsu
e1891e1e03 Merge "Remove SET_ORIENTATION_CHANGE_COMPLETE" into sc-dev 2021-02-09 11:22:11 +00:00
Steven Ng
005028d925 Merge "Add a layout attribute in widget metadata for widget preview" into sc-dev 2021-02-09 09:14:44 +00:00
Riddle Hsu
4bc0e4eb12 Apply launch power mode during freezing screen
The most common case of freezing screen is display orientation
change. It usually needs to relaunch activity and redraw windows,
that is similar to the scenario of normal activity launch. So
also apply the "launch" power mode to speed up the procedure.

This can reduce about 10% freezing time for both relaunch and
no-relaunch cases.

Bug: 178472794
Test: Rotate device and check log "Screen frozen for".

Change-Id: Idd4a2374d8ce978af36d75135b680a10c240f66d
2021-02-09 08:49:11 +00:00
TreeHugger Robot
6a7f2d9e95 Merge "Update Close App tests to new DSL format" into sc-dev 2021-02-09 08:44:56 +00:00
TreeHugger Robot
9f44d9997c Merge "Update IME tests to new DSL format" into sc-dev 2021-02-09 08:44:42 +00:00
TreeHugger Robot
a9048d72de Merge "Update app launch tests to new DSL format" into sc-dev 2021-02-09 08:43:22 +00:00
TreeHugger Robot
545262b457 Merge "Update rotation tests to new DSL format" into sc-dev 2021-02-09 08:42:23 +00:00
TreeHugger Robot
2390b55c90 Merge changes I08071058,I9a64a7ab into sc-dev
* changes:
  Update app pairs tests to new DSL format
  Create common assertions for new tests
2021-02-09 08:41:44 +00:00
Nathalie Le Clair
c7a460d5ec Merge "Fix CEC init twice in normal boot" into sc-dev 2021-02-09 07:58:31 +00:00
Kohsuke Yatoh
5d2f4fc3b3 Merge "Add FontListParser#writeFamily()." into sc-dev 2021-02-09 07:54:43 +00:00
Fiona Campbell
50997aeb8c Merge "Enable per display brightness setting" into sc-dev 2021-02-09 07:24:17 +00:00
TreeHugger Robot
ca7f10993f Merge "Apply fixed rotation animation for pip to fullscreen" into sc-dev 2021-02-09 07:08:02 +00:00
Winson Chung
5bb86857d6 Merge changes I06d26609,I0afbacd0 into sc-dev
* changes:
  10/ Update split for shell thread
  9/ Update transitions/starting window for shell thread
2021-02-09 06:40:57 +00:00
TreeHugger Robot
eff708b407 Merge "Add MediaCommunicationManager#getVersion()" into sc-dev 2021-02-09 05:58:22 +00:00
Junyu Lai
08078fe9ab Merge changes from topic "removeNI" am: c2d6240642 am: bd414490cb am: 4bd67ddfa9
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1536707

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I3553ff41d85f44c481ea065e6cbda5d286f9e1fa
2021-02-09 05:49:15 +00:00
TreeHugger Robot
e418222e6a Merge "Dispatch accessibility gesture if device supports touch" into sc-dev 2021-02-09 05:36:36 +00:00
Kweku Adams
f12f1dac73 Merge "Reserve execution slots for expedited jobs." into sc-dev 2021-02-09 05:07:17 +00:00
Junyu Lai
4bd67ddfa9 Merge changes from topic "removeNI" am: c2d6240642 am: bd414490cb
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1536707

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iec45cb7f553f08e4e3ec91827964a8eec8f96a91
2021-02-09 05:00:28 +00:00
Rambo Wang
374b512ca8 Merge "Rename SignalThresholdInfo.Builder#setThresholdUnlimited" am: 31083c40b9 am: 54a0c76e6a am: 35fbb8cb85
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1566912

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Idda620436f7f8799c842f76470e018eb2c25c4d2
2021-02-09 04:27:56 +00:00
Junyu Lai
bd414490cb Merge changes from topic "removeNI" am: c2d6240642
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1536707

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia7c6e3bf8f10b98fc2c4d83d41e65c64737753f0
2021-02-09 04:26:28 +00:00
Rambo Wang
35fbb8cb85 Merge "Rename SignalThresholdInfo.Builder#setThresholdUnlimited" am: 31083c40b9 am: 54a0c76e6a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1566912

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic9779453b960ce81c46555d2fd440d04eba3147c
2021-02-09 03:42:15 +00:00
Junyu Lai
c2d6240642 Merge changes from topic "removeNI"
* changes:
  [FUI07] Stop making NetworkState with NetworkInfo from external callers
  [FUI06] Stop using NetworkInfo in NetworkState from external callers
2021-02-09 03:37:59 +00:00
Steve Elliott
174eb3ef2e Merge "Add RemoteInput auth bypass flow" into sc-dev 2021-02-09 03:37:50 +00:00
Kweku Adams
20b0eee64f Reserve execution slots for expedited jobs.
Make sure we reserve at least 3 slots for expedited jobs (in the ideal
case) so we can get them to run as quickly as possible.

Also fix how we assign slots when there are already running jobs.

Bug: 171305774
Test: atest CtsJobSchedulerTestCases
Test: atest FrameworksMockingServicesTests:JobSchedulerServiceTest
Test: atest FrameworksServicesTests:PrioritySchedulingTest
Test: atest FrameworksServicesTests:WorkCountTrackerTest
Test: atest FrameworksServicesTests:WorkTypeConfigTest
Change-Id: Ic08bc9d665c4c016f01ddce8f952710e72bd27f9
2021-02-08 19:18:40 -08:00
TreeHugger Robot
162e6767d5 Merge "Use new GX overlay for new AOD/lockscreen transitions." into sc-dev 2021-02-09 03:09:47 +00:00
Michael Wright
3d712cce6c Merge "Fix flaky VibratorServiceTest" into sc-dev 2021-02-09 03:04:42 +00:00
Rob Carr
8ea6b33cbb Merge "SyncRtSurfaceTransactionApplier: Use BLASTSync" into sc-dev 2021-02-09 03:01:13 +00:00
Treehugger Robot
47f990f6dd [automerger skipped] Merge "Specify version for aidl_interface explicitly" am: 5968a3906e am: 8add53a34a am: bd0e762d11 -s ours
am skip reason: Change-Id I99a5000109b171a74ac4f604b88e86a87b48ec5f with SHA-1 969b9219b9 is in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1560410

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I6a388163b2a82ed4c669680f12827b579029658d
2021-02-09 03:00:08 +00:00
Rambo Wang
54a0c76e6a Merge "Rename SignalThresholdInfo.Builder#setThresholdUnlimited" am: 31083c40b9
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1566912

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I1a3ee8037a712e474a335b77fb5c8a3873fd599e
2021-02-09 02:59:42 +00:00
Rambo Wang
31083c40b9 Merge "Rename SignalThresholdInfo.Builder#setThresholdUnlimited" 2021-02-09 02:29:15 +00:00
TreeHugger Robot
f650c52876 Merge "[DO NOT MERGE] Improvements and fixes for BLE scanning within CDM" into sc-dev 2021-02-09 02:25:06 +00:00
Darryl Johnson
871f21e70c Merge "Revert "Defer triggering notifyLidSwitchChanged() until the system is ready."" into sc-dev 2021-02-09 02:16:46 +00:00
Treehugger Robot
bd0e762d11 Merge "Specify version for aidl_interface explicitly" am: 5968a3906e am: 8add53a34a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1560410

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Idd7b735da71f7beebc7976ae0a3bd33b98b0020c
2021-02-09 02:16:11 +00:00