summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Cunningham <ejc@google.com>2022-03-31 11:17:13 +0000
committerEdward Cunningham <ejc@google.com>2022-04-07 13:01:27 +0000
commit55f949baf1ad9a3d52a60344fb714aec2f64ae69 (patch)
tree7261b6812a3c9abeff05c3c74dae10e8c9dfcb3c
parente627511d84759178de88bd088756398bba0a3c9b (diff)
downloadSafetyRegulatoryInfo-55f949baf1ad9a3d52a60344fb714aec2f64ae69.tar.gz
Make SafetyRegulatoryInfo target the current API level.
A hardcoded <uses-sdk> element was unnecessarily set in the manifest. The minSdkVersion was redundant and is overwritten by the build system. The targetSdkVersion needed to be manually changed each year; by removing it the app will instead always target 'current' (eg. Tiramisu at present). Also fixes an incorrectly placed android:exported attribute which should have been on the <activity> element, not the <application>. Bug: 227293013 Test: Manual Change-Id: Iffe4bdd99916728a0e93e2c0737effd2184421e8
-rw-r--r--AndroidManifest.xml5
1 files changed, 1 insertions, 4 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 2867eeb..83437ae 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -16,15 +16,12 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.safetyregulatoryinfo">
- <uses-sdk android:minSdkVersion="23" android:targetSdkVersion="30" />
-
<application
android:allowBackup="false"
android:label="@string/app_name"
android:supportsRtl="true"
- android:exported="true"
android:theme="@android:style/Theme.DeviceDefault.Settings">
- <activity android:name=".SafetyAndRegulatoryInfoActivity">
+ <activity android:name=".SafetyAndRegulatoryInfoActivity" android:exported="true">
<intent-filter>
<action android:name="android.settings.SHOW_SAFETY_AND_REGULATORY_INFO" />
<category android:name="android.intent.category.DEFAULT" />