Skip to content

Commit aa34aae

Browse files
committed
Set the minSdkVersion for the AdMob resources, as otherwise a lint error may occur
PiperOrigin-RevId: 274031399
1 parent 896914c commit aa34aae

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

android_build_files/AndroidManifest-internet.xml renamed to admob/admob_resources/AndroidManifest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
33
package="com.google.FirebaseCppSdkBuild">
44
<uses-permission android:name="android.permission.INTERNET"/>
5+
<uses-sdk android:minSdkVersion="3"/>
56
</manifest>

admob/admob_resources/build.gradle

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@ android {
3636

3737
sourceSets {
3838
main {
39-
// Use the manifest that gives access to the internet, as some of the
40-
// AdMob classes have linter problems without it.
41-
manifest.srcFile '../../android_build_files/AndroidManifest-internet.xml'
39+
manifest.srcFile 'AndroidManifest.xml'
4240
java {
4341
srcDirs = ['../src_java/com/google/firebase/admob/internal/cpp']
4442
}

0 commit comments

Comments
 (0)