Instead of reloading the launcher, updating items dynamically when

Quiet mode changes

Bug: 27632028,27763316
Change-Id: I55f018e855448df0abcbf4fd0fcb39344594980c
This commit is contained in:
Sunny Goyal committed 2016-03-24 12:19:29 -07:00
1 parent d5bd67dfa9
commit da891c1a22
4 files changed
+69 -14

No files matched your search

@@ -93,4 +93,14 @@ public class UserHandleCompat {
intent.putExtra(name, mUser);
}
}
public static UserHandleCompat fromIntent(Intent intent) {
if (Utilities.ATLEAST_LOLLIPOP) {
UserHandle user = intent.getParcelableExtra(Intent.EXTRA_USER);
if (user != null) {
return UserHandleCompat.fromUser(user);
}
}
return null;
}
}