This fixed a request leak problem which was introduced in previous
Android release but caught recently, where the budget of
MultipathPolicyTracker was cleaned before unregistering requests,
the logic in the tracker would skip the unregister if there is
no budget.
Ignore-AOSP-First: Urgent fix
Test: MultipathPolicyTrackerTest#testOnThresholdReached
Bug: 233733267
Fix: 145963406
Change-Id: Icee43a4ee913a6459a47632f608fa6cb8b2ed4c2
Directly use ActivityManager#checkComponentPermission() to check whether
the components should be exempted from the intent filter enforcement
added in T.
Bug: 234103620
Test: atest CtsContentTestCases:PackageManagerTest
Change-Id: I67d1b4bb7d3520370fa9095fb81189acb6c3ebc1
WM Shell receives a leash for the DA that it wants to organize. However,
it's not releasing the SC when it receives a vanished callback. This
causes the SC to leak every time a new RootTaskDA is organized and then
vanishes.
Test: Add and remove simulated displays. Ensure no leaks
Bug: 231752353
Change-Id: I181695f4bae65ccc0cd25e1b5480e33307e7834d
When the screen times out, the device may not immediately lock based
upon a user setting. In this case, keyguard is visible but not fully
locked. If the user uses finger auth, MODE_ONLY_WAKE is used but the
keyguard is not properly dismissed. Use MODE_WAKE_AND_UNLOCK to run
all animations.
Fixes: 231553219
Test: atest BiometricsUnlockControllerTest
Change-Id: I8ff2c2f983b64c7f62d7025fce227a2dd9eabf04
Revert "Update smartspace shadow"
Revert "Update app icon shadows"
Revert submission 17935777-lightDarkDetection
Reason for revert: Talked with Adam Cohen, white shadows are controverstial and we'd need to escalate to senior UX if we want to ship. James would rather do it in U timeframe, will flag to UXers we work with that the opportunity to escalate is available if needed.
Reverted Changes:
Ia91221427:Update light/dark detection.
Ie12d3d054:Update app icon shadows
Icc88c3496:Update smartspace shadow
Change-Id: I7d6b972d29b328a7d5ca7ac7241156b6e51a2cd6
Bug: 221393932
Test: atest PersistentDataStoreTest
Test: Manually change brightness, run 'adb shell dumpsys display | grep -A30 PersistentDataStore' and check that the brightness value has updated. Also reboot the device and check that the brightness value stays the same.
Change-Id: I3d59017198c70fcfd99d55333b92333ad1f16ec3
Merged-In: I3d59017198c70fcfd99d55333b92333ad1f16ec3
Surface already has a lock on the native object so it's safe to call
destroy without holding additional locks. This also fixes ANR issues
where an app is still attempting to render when the window is destroyed.
Test: App from bug doesn't ANR
Bug: 234006724
Change-Id: I0d323c03f299e5857d1950870498f3182d019924
This fixes an issue where activities are started below the dream.
Bug: 198041170
Test: atest CentralSurfacesImplTest
Test: manually on device
Change-Id: Iec7324f397161c3e0bbf626153f8cb453e6a86ca