Skip to content

Commit 0e43049

Browse files
committed
sample-bluetooth-le-gattserver: clean up manifest
- remove backup attributes - remove icon and theme - remove extra spaces - add PIO permission Bug: 77575481 Bug: 77478121 Change-Id: Ia05159ceaced151e3404b6d1ca721d218c883802
1 parent 7b22bac commit 0e43049

File tree

2 files changed

+4
-16
lines changed

2 files changed

+4
-16
lines changed

java/app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,11 @@
1616
-->
1717
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
1818
package="com.example.androidthings.gattserver">
19-
2019
<uses-permission android:name="android.permission.BLUETOOTH"/>
2120
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
22-
23-
<application
24-
android:allowBackup="true"
25-
android:icon="@android:drawable/sym_def_app_icon"
26-
android:label="@string/app_name"
27-
android:theme="@android:style/Theme.DeviceDefault.Light">
21+
<application android:label="@string/app_name">
2822
<activity android:name=".GattServerActivity">
23+
2924
<!-- Launch as default from Android Studio -->
3025
<intent-filter>
3126
<action android:name="android.intent.action.MAIN"/>
@@ -45,5 +40,4 @@
4540
-->
4641
</activity>
4742
</application>
48-
4943
</manifest>

kotlin/app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,11 @@
1616
-->
1717
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
1818
package="com.example.androidthings.gattserver">
19-
2019
<uses-permission android:name="android.permission.BLUETOOTH"/>
2120
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
22-
23-
<application
24-
android:allowBackup="true"
25-
android:icon="@android:drawable/sym_def_app_icon"
26-
android:label="@string/app_name"
27-
android:theme="@android:style/Theme.DeviceDefault.Light">
21+
<application android:label="@string/app_name">
2822
<activity android:name=".GattServerActivity">
23+
2924
<!-- Launch as default from Android Studio -->
3025
<intent-filter>
3126
<action android:name="android.intent.action.MAIN"/>
@@ -45,5 +40,4 @@
4540
-->
4641
</activity>
4742
</application>
48-
4943
</manifest>

0 commit comments

Comments
 (0)