Fixes: 154640131
Test: Manual -- Use 'adb shell dumpsys window windows || grep "PopupWindow"' to confirm number of PopupWindows displayed (should be zero at home screen.)
Open GlobalActions. Tap the power overflow menu and check number of PopupWindows while the overflow dropdown is visible (should be 1).
Put the phone to sleep by pressing the power button. Wake phone and make sure number of PopupWindows is 0.
Repeat with Controls structure switcher dropdown and add controls dropdown.
Change-Id: I4ae2d86e981465e8e6c0adf924a6fc2eabfc88ee
The subtitle aligns on top to an invisible checkbox, so it's position
remains the same between different screens.
Test: visual
Fixes: 154759251
Change-Id: I75c28dd02e099680555acdab200a0de909b57c51
Use PropertyInvalidatedCache to avoid redundant
calls to SubscriptionController.getDefaultSubscriptionId
Bug: 151953109
Test: Flashed build and verified that the phone booted
and executed the cache
Merged-In: I69b178b42a49b1eda6c2e72ce21d93906ff9d281
Change-Id: I69b178b42a49b1eda6c2e72ce21d93906ff9d281
apiextensions_e2e_test doesn't exist, the right name is
sdkextensions_e2e_test.
Bug: 154931418
Test: presubmit
Change-Id: Ibb9618bf0f1fdce6ceceb808705dab910b38755d
Instead of doing it immediately after sniff success.
This prevents some extractor implementations from
outputting formats during the "sniffing" advance.
Bug: 154120292
Test: atest CtsMediaParserTestCases
Change-Id: I4f3349a8053d371cd06beaf24bd9745da0a4a093
This change addresses one misuse of shouldFilter* where the binary logic
was inverted. It also makes the response of getPackageEnabled* and
getComponentEnabled* consistent by always throwing if a packageName is
not known to the caller.
Fixes: 145676437
Test: atest AppEnumerationTests
Change-Id: Ieaaa894a05c00c3cb3b3b2ebdf64a6948b23b475
- nullcheck buttonBarDivider
- only apply padding to non-default layout resolver
- create header for user instead of just once, because
it gets updated after it's first created
Fixes: 154832840
Fixes: 154330193
Test: manual
Change-Id: Ia9f2a1112a406e898dcf66954887ababae48f001
Use Lazy BiometricUnlockController in DozeServiceHost instead of
assigning its result to a member field after initialization. It
appears as though, in some cases, the DozeServiceHost gets used
before it is initialized, meaning that the BiometricUnlockController
member field would be null.
Fixes: 152187753
Test: atest SystemUITests
Change-Id: Ic1a31ded99b1cd07e25f9da530bcf155722bbe6a
Handle the show request as a show/hide request depending on the
state. Use callbacks to alert the system that the dialog has been
properly handled before closing.
Bug: 153797802
Test: manual
Change-Id: I3911b35e485cca88c382bc26f2f5312d3323d273
We cache the reference to the HAL and use a DeathRecipient to keep track
of whether it's still good.
Adds waitForService and waitForDeclaredService to the ServiceManager
Java implementation because they were missing.
Test: atest LightsManagerTest
Test: atest LightsServiceTest
Bug: 152509747
Bug: 154631113
Bug: 154627432
Bug: 154629168
Change-Id: Ife8471f3a7e47b48bb31015ddf40f1d7fef6240f
Following specs set out by UX for haptics, produce subtle haptic
feedback on touch as well as drag.
Bug: 154697212
Test: manual
Change-Id: I9a5b27de407529e61597784c22d002b1a4cfe724
Using arrays in Objects.hash() is error prone. Instead we
call Arrays.hashCode().
Test: m services
Bug: 154302664
Change-Id: Icf00fbaa465ef60951998659ae0333b2faf7042b
Adjust the check order when adjusting the focus.
If there is no move-to-top request, only adjust the task position,
otherwise it may send top position change to unrelated activities.
Bug: 154685134
Test: atest ActivityLifecycleTopResumedStateTests
Test: atest ActivityRecordTests
Change-Id: I0827641b8f24e8f42e6b8e8703648dc540c902ef