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
Throw if canAdminGrantSensorsPermissions is called on the parent profile
instance.
That would fix ManagedProfileTest#testParentProfileApiDisabled
Bug: 179726587
Test: atest ManagedProfileTest#testParentProfileApiDisabled
Change-Id: I7ff654674ad412ac9a9219a1a470b50da928ea10
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
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)
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
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
* changes:
[FUI07] Stop making NetworkState with NetworkInfo from external callers
[FUI06] Stop using NetworkInfo in NetworkState from external callers
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