android: Fixed "Configure" button in Android VPN dialog
This commit is contained in:
parent
e3d98f2c4c
commit
c3bce1aa3d
|
@ -547,7 +547,7 @@ public class CharonVpnService extends VpnService implements Runnable
|
||||||
Context context = getApplicationContext();
|
Context context = getApplicationContext();
|
||||||
Intent intent = new Intent(context, MainActivity.class);
|
Intent intent = new Intent(context, MainActivity.class);
|
||||||
PendingIntent pending = PendingIntent.getActivity(context, 0, intent,
|
PendingIntent pending = PendingIntent.getActivity(context, 0, intent,
|
||||||
Intent.FLAG_ACTIVITY_NEW_TASK);
|
PendingIntent.FLAG_UPDATE_CURRENT);
|
||||||
builder.setConfigureIntent(pending);
|
builder.setConfigureIntent(pending);
|
||||||
return builder;
|
return builder;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue