ab6f2f62fe
As part of the improvement to always-on VPN, we're adding this dialog which is shown when the user taps the "Always-on VPN disconnected" notification. This dialog shows a relatively detailed explanation of the situation and offers two actions: 1) to attempt to reconnect, and 2) to open the VpnSettings page in Settings. As a result, we expect the users to be more aware of the consequences of a disconnected VPN, and offer them more actionable options. Bug: 36650087 Bug: 65439160 Test: manual Change-Id: I5ae3ff5d25740ea52357012b75d7eb1776dfdc5e Merged-In: I5ae3ff5d25740ea52357012b75d7eb1776dfdc5e (cherry picked from commit 7376f6c16873e4c8f7c3f7fa27d4be6ea7894014)
55 lines
2.1 KiB
XML
55 lines
2.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
/*
|
|
* Copyright (c) 2014 Google Inc.
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
-->
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="com.android.vpndialogs">
|
|
|
|
<uses-permission android:name="android.permission.CONTROL_VPN" />
|
|
<uses-permission android:name="android.permission.CONNECTIVITY_INTERNAL" />
|
|
|
|
<application android:label="VpnDialogs"
|
|
android:allowBackup="false">
|
|
|
|
<activity android:name=".ConfirmDialog"
|
|
android:theme="@android:style/Theme.Material.Light.Dialog.Alert">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN"/>
|
|
<category android:name="android.intent.category.DEFAULT"/>
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
<activity android:name=".ManageDialog"
|
|
android:theme="@android:style/Theme.Material.Light.Dialog.Alert"
|
|
android:noHistory="true"
|
|
android:excludeFromRecents="true"
|
|
android:permission="android.permission.NETWORK_SETTINGS"
|
|
android:exported="true">
|
|
</activity>
|
|
|
|
<activity android:name=".AlwaysOnDisconnectedDialog"
|
|
android:label="@string/always_on_disconnected_title"
|
|
android:theme="@android:style/Theme.Material.Light.Dialog.Alert"
|
|
android:noHistory="true"
|
|
android:excludeFromRecents="true"
|
|
android:permission="android.permission.NETWORK_SETTINGS"
|
|
android:exported="true">
|
|
</activity>
|
|
|
|
</application>
|
|
</manifest>
|