- our default carrier actions might not compatible with suw since data might be disabled without surfacing users with an option to activate inside SuW. - instead, skip carrier actions during setupwizard and schedule a job to resume carrier actions if needed when exit suw. - use jobscheduler to monitor provision bit instead of keep the app running and listen for content change asynchronously. Bug: 30958215 Test: Manual Change-Id: Ie4004b46405b914158f585059d332f4e694053f3
44 lines
2.0 KiB
XML
44 lines
2.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
/*
|
|
* Copyright (C) 2016 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.android.carrierdefaultapp"
|
|
android:sharedUserId="android.uid.phone" >
|
|
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
|
<uses-permission android:name="android.permission.CONNECTIVITY_INTERNAL" />
|
|
<uses-permission android:name="android.permission.MODIFY_PHONE_STATE" />
|
|
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
|
|
<uses-permission android:name="android.permission.CONNECTIVITY_USE_RESTRICTED_NETWORKS" />
|
|
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
|
|
|
|
<application android:label="@string/app_name" >
|
|
<receiver android:name="com.android.carrierdefaultapp.CarrierDefaultBroadcastReceiver">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.CARRIER_SIGNAL_REDIRECTED" />
|
|
</intent-filter>
|
|
</receiver>
|
|
<activity android:name="com.android.carrierdefaultapp.CaptivePortalLaunchActivity"
|
|
android:theme="@android:style/Theme.Translucent.NoTitleBar"
|
|
android:excludeFromRecents="true"/>
|
|
<service android:name="com.android.carrierdefaultapp.ProvisionObserver"
|
|
android:permission="android.permission.BIND_JOB_SERVICE"/>
|
|
</application>
|
|
</manifest>
|