|
21 | 21 | xmlns:android="http://schemas.android.com/apk/res/android"
|
22 | 22 | package="com.android.launcher3">
|
23 | 23 |
|
| 24 | + <permission-group android:name="${packageName}.permission-group.SYSTEM_TOOLS" /> |
| 25 | + |
24 | 26 | <!--
|
25 | 27 | The manifest defines the common entries that should be present in any derivative of Launcher3.
|
26 | 28 | The components should generally not require any changes.
|
|
31 | 33 | -->
|
32 | 34 | <permission
|
33 | 35 | android:name="com.android.launcher.permission.INSTALL_SHORTCUT"
|
34 |
| - android:permissionGroup="android.permission-group.SYSTEM_TOOLS" |
| 36 | + android:permissionGroup="${packageName}.permission-group.SYSTEM_TOOLS" |
35 | 37 | android:protectionLevel="dangerous"
|
36 | 38 | android:label="@string/permlab_install_shortcut"
|
37 | 39 | android:description="@string/permdesc_install_shortcut" />
|
|
53 | 55 | -->
|
54 | 56 | <permission
|
55 | 57 | android:name="${packageName}.permission.READ_SETTINGS"
|
56 |
| - android:permissionGroup="android.permission-group.SYSTEM_TOOLS" |
| 58 | + android:permissionGroup="${packageName}.permission-group.SYSTEM_TOOLS" |
57 | 59 | android:protectionLevel="signatureOrSystem"
|
58 | 60 | android:label="@string/permlab_read_settings"
|
59 | 61 | android:description="@string/permdesc_read_settings"/>
|
60 | 62 | <permission
|
61 | 63 | android:name="${packageName}.permission.WRITE_SETTINGS"
|
62 |
| - android:permissionGroup="android.permission-group.SYSTEM_TOOLS" |
| 64 | + android:permissionGroup="${packageName}.permission-group.SYSTEM_TOOLS" |
63 | 65 | android:protectionLevel="signatureOrSystem"
|
64 | 66 | android:label="@string/permlab_write_settings"
|
65 | 67 | android:description="@string/permdesc_write_settings"/>
|
|
81 | 83 | <!-- Intent received used to install shortcuts from other applications -->
|
82 | 84 | <receiver
|
83 | 85 | android:name="com.android.launcher3.InstallShortcutReceiver"
|
| 86 | + android:exported="true" |
84 | 87 | android:permission="com.android.launcher.permission.INSTALL_SHORTCUT"
|
85 | 88 | android:enabled="@bool/enable_install_shortcut_api" >
|
86 | 89 | <intent-filter>
|
|
90 | 93 |
|
91 | 94 | <!-- Intent received when a session is committed -->
|
92 | 95 | <receiver
|
93 |
| - android:name="com.android.launcher3.SessionCommitReceiver" > |
| 96 | + android:name="com.android.launcher3.SessionCommitReceiver" |
| 97 | + android:exported="true" > |
94 | 98 | <intent-filter>
|
95 | 99 | <action android:name="android.content.pm.action.SESSION_COMMITTED" />
|
96 | 100 | </intent-filter>
|
97 | 101 | </receiver>
|
98 | 102 |
|
99 | 103 | <!-- Intent received used to initialize a restored widget -->
|
100 |
| - <receiver android:name="com.android.launcher3.AppWidgetsRestoredReceiver" > |
| 104 | + <receiver android:name="com.android.launcher3.AppWidgetsRestoredReceiver" |
| 105 | + android:exported="true" > |
101 | 106 | <intent-filter>
|
102 | 107 | <action android:name="android.appwidget.action.APPWIDGET_HOST_RESTORED"/>
|
103 | 108 | </intent-filter>
|
|
111 | 116 |
|
112 | 117 | <service
|
113 | 118 | android:name="com.android.launcher3.notification.NotificationListener"
|
| 119 | + android:exported="true" |
114 | 120 | android:label="@string/notification_dots_service_title"
|
115 | 121 | android:enabled="@bool/notification_dots_enabled"
|
116 | 122 | android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE">
|
|
123 | 129 | android:value="true" />
|
124 | 130 |
|
125 | 131 | <activity android:name="com.android.launcher3.dragndrop.AddItemActivity"
|
| 132 | + android:exported="true" |
126 | 133 | android:theme="@style/AppItemActivityTheme"
|
127 | 134 | android:excludeFromRecents="true"
|
128 | 135 | android:autoRemoveFromRecents="true"
|
|
168 | 175 | -->
|
169 | 176 | <activity
|
170 | 177 | android:name="com.android.launcher3.settings.SettingsActivity"
|
| 178 | + android:exported="true" |
171 | 179 | android:label="@string/settings_button_text"
|
172 | 180 | android:theme="@style/HomeSettingsTheme"
|
173 | 181 | android:autoRemoveFromRecents="true">
|
|
0 commit comments