Permissions READ_DEVICE_CONFIG and WRITE_DEVICE_CONFIG are required to
use DeviceConfig API. Actual checks for new permissions are not added
as we are waiting for gmscore to include them into manifest.
Also added "configurator" protection flag.
Test: atest FrameworksCoreTests:DeviceConfigTest
atest FrameworksCoreTests:SettingsProviderTest
atest SettingsProviderTest:DeviceConfigServiceTest
Bug:109919982
Bug:113100523
Bug:113101834
Bug:117663715
Change-Id: I66c256b57c5491201c6c7834620a287b6c81c23c
39 lines
1.6 KiB
XML
39 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2015 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.providers.setting.test">
|
|
|
|
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="21" />
|
|
|
|
<uses-permission android:name="android.permission.WRITE_SETTINGS"/>
|
|
<uses-permission android:name="android.permission.WRITE_DEVICE_CONFIG"/>
|
|
<uses-permission android:name="android.permission.READ_DEVICE_CONFIG"/>
|
|
<uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/>
|
|
<uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL"/>
|
|
<uses-permission android:name="android.permission.MANAGE_USERS"/>
|
|
|
|
<application>
|
|
<uses-library android:name="android.test.runner" />
|
|
</application>
|
|
|
|
<instrumentation
|
|
android:name="androidx.test.runner.AndroidJUnitRunner"
|
|
android:targetPackage="com.android.providers.setting.test"
|
|
android:label="Settings Provider Tests" />
|
|
|
|
</manifest>
|