commit | e1206377de1f07116b5b3986e5a48a088cdeae6a | [log] [tgz] |
---|---|---|
author | Jiaquan He <hejq@google.com> | Tue May 03 14:11:23 2016 -0700 |
committer | Jiaquan He <hejq@google.com> | Wed May 11 19:27:16 2016 +0000 |
tree | 153c3bb486708ef275f1d8135a2786aa4475e6ad | |
parent | e97cbea82cb97d92a5d5d36b2e9307a5257ad03e [diff] [blame] |
Move the user account querying logic to UserInfoController. Bug: 28383751 Change-Id: I85985d772b6aa9bfeb4e900854c9150481bddf7a (cherry picked from commit ad4889c3c70ed042c24eac80f0f304ba67962dc3)
diff --git a/packages/SystemUI/src/com/android/systemui/qs/tiles/UserTile.java b/packages/SystemUI/src/com/android/systemui/qs/tiles/UserTile.java index 5b4279c..cc875ac 100644 --- a/packages/SystemUI/src/com/android/systemui/qs/tiles/UserTile.java +++ b/packages/SystemUI/src/com/android/systemui/qs/tiles/UserTile.java
@@ -96,7 +96,7 @@ } @Override - public void onUserInfoChanged(String name, Drawable picture) { + public void onUserInfoChanged(String name, Drawable picture, String userAccount) { mLastUpdate = new Pair<>(name, picture); refreshState(mLastUpdate); }