Jorim Jaggi | 3d878be | 2014-05-10 03:22:32 +0200 | [diff] [blame] | 1 | /* |
Jason Monk | 9abca5e | 2016-11-11 16:18:14 -0500 | [diff] [blame^] | 2 | * Copyright (C) 2016 The Android Open Source Project |
Jorim Jaggi | 3d878be | 2014-05-10 03:22:32 +0200 | [diff] [blame] | 3 | * |
Jason Monk | 9abca5e | 2016-11-11 16:18:14 -0500 | [diff] [blame^] | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file |
| 5 | * except in compliance with the License. You may obtain a copy of the License at |
Jorim Jaggi | 3d878be | 2014-05-10 03:22:32 +0200 | [diff] [blame] | 6 | * |
| 7 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | * |
Jason Monk | 9abca5e | 2016-11-11 16:18:14 -0500 | [diff] [blame^] | 9 | * Unless required by applicable law or agreed to in writing, software distributed under the |
| 10 | * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 11 | * KIND, either express or implied. See the License for the specific language governing |
| 12 | * permissions and limitations under the License. |
Jorim Jaggi | 3d878be | 2014-05-10 03:22:32 +0200 | [diff] [blame] | 13 | */ |
| 14 | |
| 15 | package com.android.systemui.statusbar.policy; |
| 16 | |
Jorim Jaggi | 3d878be | 2014-05-10 03:22:32 +0200 | [diff] [blame] | 17 | import android.graphics.drawable.Drawable; |
Jorim Jaggi | 3d878be | 2014-05-10 03:22:32 +0200 | [diff] [blame] | 18 | |
Jason Monk | 8852905 | 2016-11-04 13:29:58 -0400 | [diff] [blame] | 19 | import com.android.systemui.statusbar.policy.UserInfoController.OnUserInfoChangedListener; |
Jorim Jaggi | 3d878be | 2014-05-10 03:22:32 +0200 | [diff] [blame] | 20 | |
Jason Monk | 9abca5e | 2016-11-11 16:18:14 -0500 | [diff] [blame^] | 21 | public interface UserInfoController extends CallbackController<OnUserInfoChangedListener> { |
Jorim Jaggi | 3d878be | 2014-05-10 03:22:32 +0200 | [diff] [blame] | 22 | |
Jason Monk | 9abca5e | 2016-11-11 16:18:14 -0500 | [diff] [blame^] | 23 | void reloadUserInfo(); |
Adrian Roos | d390b89 | 2016-05-05 10:50:49 -0400 | [diff] [blame] | 24 | |
Jorim Jaggi | 3d878be | 2014-05-10 03:22:32 +0200 | [diff] [blame] | 25 | public interface OnUserInfoChangedListener { |
Jiaquan He | e120637 | 2016-05-03 14:11:23 -0700 | [diff] [blame] | 26 | public void onUserInfoChanged(String name, Drawable picture, String userAccount); |
| 27 | } |
Jorim Jaggi | 3d878be | 2014-05-10 03:22:32 +0200 | [diff] [blame] | 28 | } |