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:
Amith Yamasani
2012-11-02 12:17:19 -07:00
parent 37238e5a4e
commit ecbd68b0de

View File

@ -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);
}