mirror of https://github.com/grpc/grpc-java.git
example-android: Add android:exported="true" tag (#9482)
Add android:exported="true" tag to activities/services/receivers that specify an intent filter. Apps targeting Android 12 and higher are required to specify an explicit value for `android:exported` when the corresponding component has an intent filter defined. Future versions of the manifest merger, as well as the Android platform and the Playstore enforce this.
This commit is contained in:
parent
95508e19df
commit
e1ddc3553f
|
|
@ -11,7 +11,8 @@
|
||||||
android:theme="@style/Base.V7.Theme.AppCompat.Light" >
|
android:theme="@style/Base.V7.Theme.AppCompat.Light" >
|
||||||
<activity
|
<activity
|
||||||
android:name=".HelloworldActivity"
|
android:name=".HelloworldActivity"
|
||||||
android:label="@string/app_name" >
|
android:label="@string/app_name"
|
||||||
|
android:exported="true">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.intent.action.MAIN" />
|
<action android:name="android.intent.action.MAIN" />
|
||||||
<category android:name="android.intent.category.LAUNCHER" />
|
<category android:name="android.intent.category.LAUNCHER" />
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue