From 573c3e1712b35ff92b0a272a4c4de6f88a8b0cc0 Mon Sep 17 00:00:00 2001 From: Tony Date: Fri, 22 Feb 2019 13:10:59 -0800 Subject: Make TouchInteractionService direct boot aware - Add directBootAware="true" to TouchInteractionService manifest component - Add DeviceLockedInputConsumer which just sends a home intent on touch down Test: - Reboot - Swipe up anywhere to get to bouncer (pin/password/pattern) - Click "Emergency" to launch dialer while still in direct boot - Swipe up from the nav bar to exit/bring up bouncer Test: - Lock screen - Double press power to launch camera - Swipe up from nav bar to exit/bring up bouncer Bug: 125364936 Change-Id: I7a4cd2dc3a635daf4bb9a643a1e5251ca4e91e33 --- quickstep/AndroidManifest.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'quickstep/AndroidManifest.xml') diff --git a/quickstep/AndroidManifest.xml b/quickstep/AndroidManifest.xml index 542a235ad..62d050016 100644 --- a/quickstep/AndroidManifest.xml +++ b/quickstep/AndroidManifest.xml @@ -38,7 +38,8 @@ + android:permission="android.permission.STATUS_BAR_SERVICE" + android:directBootAware="true" > -- cgit v1.2.3