blob: 537885a75ea28285d25a05001011ea113db3c695 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2017 The Android Open Source Project
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.google.android.car.networking.preferenceupdater"
android:sharedUserId="android.uid.system">
<uses-sdk
android:minSdkVersion="24"
android:targetSdkVersion="25"/>
<!-- We need access Driver Distraction Data -->
<uses-permission android:name="android.car.permission.CAR_DRIVING_STATE" />
<!-- We want to perform action on BOOT_COMPLETED intent -->
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
<!-- We need this for metric dashboard -->
<uses-permission android:name="android.permission.PACKAGE_USAGE_STATS" />
<uses-permission android:name="android.permission.CONNECTIVITY_INTERNAL" />
<!-- This is important for this app, ability to control OEM network preferences -->
<uses-permission android:name="android.permission.CONTROL_OEM_PAID_NETWORK_PREFERNCE" />
<!-- We need this to have an ability to read network stats from restricted networks -->
<uses-permission android:name="android.permission.CONNECTIVITY_USE_RESTRICTED_NETWORKS"/>
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/>
<application android:label="NetworkPreferenceApp">
<receiver
android:name=".RunOnBootCompleteTasksReceiver" >
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED"/>
</intent-filter>
</receiver>
<activity android:name=".MainActivity"
android:theme="@style/NetworkPreferenceApp"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
</application>
</manifest>