blob: 1e23a20c5ddbed6427caebbfc2182a0184421625 [file] [log] [blame]
Jorim Jaggi3d878be2014-05-10 03:22:32 +02001/*
Jason Monk9abca5e2016-11-11 16:18:14 -05002 * Copyright (C) 2016 The Android Open Source Project
Jorim Jaggi3d878be2014-05-10 03:22:32 +02003 *
Jason Monk9abca5e2016-11-11 16:18:14 -05004 * 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 Jaggi3d878be2014-05-10 03:22:32 +02006 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
Jason Monk9abca5e2016-11-11 16:18:14 -05009 * 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 Jaggi3d878be2014-05-10 03:22:32 +020013 */
14
15package com.android.systemui.statusbar.policy;
16
Jorim Jaggi3d878be2014-05-10 03:22:32 +020017import android.graphics.drawable.Drawable;
Jorim Jaggi3d878be2014-05-10 03:22:32 +020018
Jason Monk88529052016-11-04 13:29:58 -040019import com.android.systemui.statusbar.policy.UserInfoController.OnUserInfoChangedListener;
Jorim Jaggi3d878be2014-05-10 03:22:32 +020020
Jason Monk9abca5e2016-11-11 16:18:14 -050021public interface UserInfoController extends CallbackController<OnUserInfoChangedListener> {
Jorim Jaggi3d878be2014-05-10 03:22:32 +020022
Jason Monk9abca5e2016-11-11 16:18:14 -050023 void reloadUserInfo();
Adrian Roosd390b892016-05-05 10:50:49 -040024
Jorim Jaggi3d878be2014-05-10 03:22:32 +020025 public interface OnUserInfoChangedListener {
Jiaquan Hee1206372016-05-03 14:11:23 -070026 public void onUserInfoChanged(String name, Drawable picture, String userAccount);
27 }
Jorim Jaggi3d878be2014-05-10 03:22:32 +020028}