commit | c52ec89e1bd3a7de746d15411ccb5298594e892a | [log] [tgz] |
---|---|---|
author | Nick Chameyev <nickchameyev@google.com> | Mon Nov 29 12:21:35 2021 +0000 |
committer | Nick Chameyev <nickchameyev@google.com> | Mon Nov 29 12:21:35 2021 +0000 |
tree | 497ab3bec963cecbbf84b46c8193c71444e1bf0b | |
parent | 0b7ed895e7cce7543922a8f7fae9e337f0589afa [diff] |
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