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
This commit is contained in:
1 parent
533893e898
commit
261a62219b
7 files changed
+113
-7
No files matched your search
@@ -55,12 +55,11 @@ public abstract class UserProfileManager {
|
||||
public @interface UserProfileState { }
|
||||
|
||||
protected final StatsLogManager mStatsLogManager;
|
||||
protected final UserManager mUserManager;
|
||||
protected final UserCache mUserCache;
|
||||
|
||||
@UserProfileState
|
||||
private int mCurrentState;
|
||||
|
||||
private final UserManager mUserManager;
|
||||
private final UserCache mUserCache;
|
||||
|
||||
protected UserProfileManager(UserManager userManager,
|
||||
StatsLogManager statsLogManager,
|
||||
UserCache userCache) {
|
||||
|
||||
Reference in new issue
Block a user