Resolve USER_ALL when inflating notification views.
Fixes the OTA icon display when the OTA is to be shown to all users. Bug: 7462511 Change-Id: I185d9d5340d866d0a4b0ae273a361e8db160e33b
This commit is contained in:
@ -896,6 +896,9 @@ public class Notification implements Parcelable
|
||||
|
||||
/** {@hide} */
|
||||
public void setUser(UserHandle user) {
|
||||
if (user.getIdentifier() == UserHandle.USER_ALL) {
|
||||
user = UserHandle.OWNER;
|
||||
}
|
||||
if (tickerView != null) {
|
||||
tickerView.setUser(user);
|
||||
}
|
||||
|
Reference in New Issue
Block a user