Fix issue #5173952: Opening a Notification From Lock Screen...
...Should Skip Unsecure Lockscreen (ICS) Also while I am in there, clean up logging of intent objects to include even less sensitive information, while showing the true Intent in dump output (since apps can't get to that). Change-Id: I35fed714645b21e4304ba38a11ebb9c4c963538e
This commit is contained in:
@@ -1599,6 +1599,9 @@ public class PhoneStatusBar extends StatusBar {
|
||||
// the user switches to home. We know it is safe to do at this
|
||||
// point, so make sure new activity switches are now allowed.
|
||||
ActivityManagerNative.getDefault().resumeAppSwitches();
|
||||
// Also, notifications can be launched from the lock screen,
|
||||
// so dismiss the lock screen when the activity starts.
|
||||
ActivityManagerNative.getDefault().dismissKeyguardOnNextActivity();
|
||||
} catch (RemoteException e) {
|
||||
}
|
||||
|
||||
|
||||
@@ -1308,6 +1308,9 @@ public class TabletStatusBar extends StatusBar implements
|
||||
// the user switches to home. We know it is safe to do at this
|
||||
// point, so make sure new activity switches are now allowed.
|
||||
ActivityManagerNative.getDefault().resumeAppSwitches();
|
||||
// Also, notifications can be launched from the lock screen,
|
||||
// so dismiss the lock screen when the activity starts.
|
||||
ActivityManagerNative.getDefault().dismissKeyguardOnNextActivity();
|
||||
} catch (RemoteException e) {
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user