Loading packages/SystemUI/src/com/android/systemui/quicksettings/ProfileTile.java +6 −0 Original line number Diff line number Diff line Loading @@ -22,9 +22,11 @@ import android.app.ProfileManager; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.os.RemoteException; import android.view.LayoutInflater; import android.view.View; import android.view.WindowManager; import android.view.WindowManagerGlobal; import com.android.server.ProfileManagerService; import com.android.systemui.R; Loading Loading @@ -118,6 +120,10 @@ public class ProfileTile extends QuickSettingsTile { }).create(); mStatusbarService.animateCollapsePanels(); dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_DIALOG); try { WindowManagerGlobal.getWindowManagerService().dismissKeyguard(); } catch (RemoteException e) { } dialog.show(); } Loading Loading
packages/SystemUI/src/com/android/systemui/quicksettings/ProfileTile.java +6 −0 Original line number Diff line number Diff line Loading @@ -22,9 +22,11 @@ import android.app.ProfileManager; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.os.RemoteException; import android.view.LayoutInflater; import android.view.View; import android.view.WindowManager; import android.view.WindowManagerGlobal; import com.android.server.ProfileManagerService; import com.android.systemui.R; Loading Loading @@ -118,6 +120,10 @@ public class ProfileTile extends QuickSettingsTile { }).create(); mStatusbarService.animateCollapsePanels(); dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_DIALOG); try { WindowManagerGlobal.getWindowManagerService().dismissKeyguard(); } catch (RemoteException e) { } dialog.show(); } Loading