commit | 261a62219b4526c9c7be03992a14ea540a712b65 | [log] [tgz] |
---|---|---|
author | Himanshu Gupta <himanshuz@google.com> | Fri May 31 12:35:09 2024 +0100 |
committer | Himanshu Gupta <himanshuz@google.com> | Tue Jun 11 19:11:21 2024 +0100 |
tree | 6277b954026be16acd484fee4b7b2bd12dd33fc4 | |
parent | 533893e898d4ba5b2aba0aa045e278db0462ce62 [diff] |
Prompting the user to set Pixel/Quickstep as default Home app. requestQuietMode API throws SecurityException in case its called from a non-default Launcher app. To mitigate this, we catch the exception and prompt the user to set their default launcher to the current app. Video(Pixel): https://photos.app.goo.gl/ni5X1c6vBbYW2JMJ9 Video(Pixel-aosp): https://photos.app.goo.gl/cYLJpTYW76Jnbonc9 Bug: 320446272 Test: Manual Flag: NONE Bug fix tweak. Change-Id: I6afb2ae85cabc038e1503e9c34eebd974c4f7a50