This would fail (as expected) on Pixel 3 / 3a.
On Pixel 3 / 3a, we skip the test in assumeTrue() in setUp(). tearDown()
should not throw and make the test fail.
Bug: 187364676
Test: forrest
Change-Id: I9e82c2e27c3ef71e73bf022db543318cfc0f2ef7
This stub locale allows devices to choose Spanish (Mexico) in the setup
app and Settings. There must be at least one translation in the
framework for the internationalisation system to present that locale as
a selectable option.
Test: manual (flash a device with PRODUCT_LOCALES += es_MX and use it)
Bug: 172918378
Change-Id: I0e04846a29b697d7f7acfde7c6aaa684512afbab
(cherry picked from commit d46287c7d7a139e0ef6d1dd1ed2bf96966190634)
This reverts commit 8b82086722.
Reason for revert: Metrics no-longer needed, we are adding compat for this.
Bug: 187153492
Test: N/A
Change-Id: I31bbe36378a2da969a094405b0e0a7b7b9cde3a0
For wifi, a old API: buildTemplateWifiWildcard will includes the merged
wifi which is included to mobile usage. It should not double count
again. Call new API: buildTemplateWifi with
NetworkId: NetworkTemplate.WIFI_NETWORKID_ALL
and null subscriberId to get non-merged wifi usage.
Test: atest -c DataUsageControllerTest
Test: Manual Test, wifi data usage count correctly.
Bug: 176396812
Merged-In: I047bc7dfe6a217c1a88faf3ed5c6783f33227c32
Change-Id: I047bc7dfe6a217c1a88faf3ed5c6783f33227c32
Instead of always wrapping errors in a DeviceIdAttestationException,
check to see if the underlying cause was originally a
DeviceIdAttestationException. If so, unwrap the cause and just re-throw
that, preserving the original error.
Bug: 183827468
Test: GtsGmsCoreSecurityTestApp
Change-Id: Iab78ccaff91dd1de615e1d2b18f709027aecd59e
When we call incStrong like this, it won't work if the
caller of ANativeWindow_fromSurface later calls
ANativeWindow_release and so we leak the reference indefinitely.
We change to call acquire so that the caller can call release.
Bug: 186190571
Test: Existing tests pass
Change-Id: I647a856923c891da2d305471f5ff84103d1f9ed5
Log the pull atom -- GlobalHibernatedApps in AppHibernationService
Bug: 186159449
Test: atest AppHibernationService
Test: statsd_testdrive 10109, pulled data is correct
Change-Id: Iefbdf6206b2615c5486aa6b22c0ef901bf2dcd76
This CL is part of the effort of removing ActivityView.
Test: atest WmTests:TaskStackChangedListenerTest
Bug: 179161778
Change-Id: Ia86232ce382a562ea6b31836e8e396bf1a6d5730
"Root" is eliminated from the interface name as it is a property
of the object and not the interface, but remains highlighted in the
getters to express the relationship between the called and returned
object.
Bug: 185365821
Test: Existing tests pass
Change-Id: I163fc23f2c37c984ef3ffeb7514c4d8c1c1a3f90
- Setup ability to request udfps from a SystemUI activity occluding the
keyguard
- Hookup keyguard wallet activity to request udfps
- Update UdfpsKeyguardView logic so that the udfps icon won't show if
the bouncer is visible. Add check for bouncer visibility to check
whether the bouncer view is visible - sometimes the bouncer expansion
can report visible even though the view itself is not visibile.
Test: atest SystemUITest
Bug: 183024921
Change-Id: I2aa922149586a8a6319e884442c21b74607e5017
Icon is building its own resource object and not including the default flag that would allow for including of shared-lib resources
Bug: 187332041
Test: Manual
Change-Id: I121b5f75cbe7d125f8adddb30c84024e2b1a80c7
When hiding the menu, there is a brief moment where the menu hide
animation is running, but the menu is already set as hidden in
mMenuState. In that case, other menu operations, such as resizing it,
would no-op, since it assumes the menu is not visible to the user
anymore. We will update the menu at end of the animation so that before
the animation finishes, we will respect that the menu is still in its
previous state. This will break apart the callback into two parts -
onMenuStateChanging, and onMenuStateChangeFinish.
Additionally, PipAnimationController used to only control animating the
PiP leash, but not the menu. This CL also adds a handler callback to
allow menu controller to apply the transaction.
Bug: 185513811
Bug: 186424689
Test: Tap once (show menu), pinch resize - menu resizes & fade along
with the resize
Test: Resize to smallest size, tap once (so that it grows bigger), and
then tap outside region - see that the menu no longer lags behind on
fading out.
Change-Id: I4432961aff074f4569d5d6d61b0e917511e2cbad
This default temp allowlist duration is used by broadcasts BOOT_COMPLETED, PRE_BOOT_COMPLETED, LOCKED_BOOT_COMPLETED, MY_PACKAGE_REPLACED, TIMEZONE_CHANGED, TIME_CHANGED and LOCALE_CHANGED
that are exempted from BG-FGS-start restriction.
Bug: 187196777
Test: Build and run.
Change-Id: I80aec4cebaff1c6284a3e541e3f4a7a41be2e836
The change is to avoid reporting failure if the check is done
as part of an intermediate step.
Test: manual
Bug: 151875019
Change-Id: Id181063a34d311adfd09912d1ecb3508c444e798