Merge "Use startActivityDismissingKeyguard to show vpn setting page in keyguard" into nyc-dev
This commit is contained in:
@@ -127,7 +127,7 @@ public class QSFooter implements OnClickListener, DialogInterface.OnClickListene
|
|||||||
public void onClick(DialogInterface dialog, int which) {
|
public void onClick(DialogInterface dialog, int which) {
|
||||||
if (which == DialogInterface.BUTTON_NEGATIVE) {
|
if (which == DialogInterface.BUTTON_NEGATIVE) {
|
||||||
final Intent settingsIntent = new Intent(ACTION_VPN_SETTINGS);
|
final Intent settingsIntent = new Intent(ACTION_VPN_SETTINGS);
|
||||||
mContext.startActivityAsUser(settingsIntent, UserHandle.CURRENT);
|
mHost.startActivityDismissingKeyguard(settingsIntent);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user