From c52ec89e1bd3a7de746d15411ccb5298594e892a Mon Sep 17 00:00:00 2001 From: Nick Chameyev Date: Mon, 29 Nov 2021 12:21:35 +0000 Subject: [PATCH] Add WRITE_SECURE_SETTINGS permission to Launcher We reused a code that handles rotation suggestion button from SysUI in Launcher. It requires WRITE_SECURE_SETTINGS permission to write how many times we have shown this button to show ripple only the first 3 times. AOSP Launcher didn't have this permission and it was crashing. Bug: 205491152 Test: tap on rotation suggestion button when in AOSP launcher Change-Id: I216abb86d43cc505aec1ff581c1f332ae3ad0db4 --- quickstep/AndroidManifest.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/quickstep/AndroidManifest.xml b/quickstep/AndroidManifest.xml index 0f9227457a..25b39ed7e6 100644 --- a/quickstep/AndroidManifest.xml +++ b/quickstep/AndroidManifest.xml @@ -28,6 +28,7 @@ +