We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fcd7ad4 + 506fd3b commit 66453ffCopy full SHA for 66453ff
packages/SystemUI/src/com/android/systemui/power/PowerUI.java
@@ -30,6 +30,7 @@
30
import android.net.Uri;
31
import android.os.BatteryManager;
32
import android.os.Handler;
33
+import android.os.UserHandle;
34
import android.media.AudioManager;
35
import android.media.Ringtone;
36
import android.media.RingtoneManager;
@@ -209,7 +210,7 @@ void showLowBatteryWarning() {
209
210
new DialogInterface.OnClickListener() {
211
@Override
212
public void onClick(DialogInterface dialog, int which) {
- mContext.startActivity(intent);
213
+ mContext.startActivityAsUser(intent, UserHandle.CURRENT);
214
dismissLowBatteryWarning();
215
}
216
});
0 commit comments