- Only take snapshot if keyguard is secure because the snapshot
doesn't help too much if there is unlocking window animation,
because screen is already turned on in this case.
- Only use the snapshot when unlocking to home directly because
the visual look may be worse with translate animation.
- Dismiss the snapshot starting window directly when the main
window is ready, so it has less chance to see the fading
translucent outdated snapshot.
Bug: 140811348
Bug: 148553119
Test: Unlock device with fingerprint and password.
Check the top area of home doesn't have obvious
fading scrim.
Change-Id: Ifb1302bd185d83ca9b203cf5d01a8f50fa1d6e69
We need to implement mapping between PRIVATE_FLAG_IS_SCREEN_DECOR
windows and inset providers before these tests can pass.
Temporarily ignore them so we can flip the flag.
Test: n/a
Bug: 145242835
Bug: 118118435
Change-Id: Ib0960938c01c8408d355ddb919b5db8d65095905
When we need to make the IME fallback the control target, we also
need to allow showing the IME as the existing check doesn't pass.
Bug: 111084606
Test: MultiDisplaySystemDecorationTests.testCrossDisplayBasicImeOperations
Test: MultiDisplaySecurityTests.testNoInputConnectionForUntrustedVirtualDisplay
Change-Id: Ibbf21a8da2e523fce1703b80b1cba45c0989eecf
This is not used yet to avoid making the change too big to review,
but D05 will use this. Refer to D05 for how this is going to be
used.
Test: ConnectivityServiceTest
Change-Id: I32c12702c8bce959682b02f157946d3f37b12a0c
The callbacks are fired when the list of connected clients or their IP
addresses / hostname change.
Test: flashed, connected 2 devices, verified callbacks
Test: atest TetheringTests
Bug: 135411507
Change-Id: I96291038cf7b39a67547a5f74fcd7cbedc1ca002
By default Presentation can be dismiss if DisplayMetrics has changed.
However, even when DisplayMetrics has changed, we should still show
KeyguardPresentation on secondary display.
Bug: 149004025
Test: follow issue description.
Test: atest MultiDisplayKeyguardTests
Change-Id: Icf7f5726648bc8b8037bbdd31eac3f0b1cbd5945
Add NfcServiceProto for protobuf dumpsys of nfc service. Primarily used
by incident service to capture an incident report proto.
Command to invoke (any of the following after lunch and env setup):
$ adb shell dumpsys nfc --proto
$ adb shell incident 3052
$ incident_report 3052
Bug: 146086108
Exempt-From-Owner-Approval: Owners not reachable.
Test: Execute the above commands and compare the output against dumpsys
nfc.
Change-Id: I024e148d64ccef5441a67efcbad95c622e5df12a
There are test that rely on that being checked first.
Bug: 149350547
Test: atest android.security.cts.ServicePermissionsTest#testDumpProtected
Change-Id: Ifeac7219c217ee522af442e46dc7832b6afb9e42