|
14 | 14 | android:theme="@style/Theme.HappyBirthday" |
15 | 15 | tools:targetApi="31"> |
16 | 16 |
|
17 | | - <!-- $ hasImplicitExport --> <activity |
| 17 | + <activity |
18 | 18 | android:name=".Activity"> |
19 | 19 | <intent-filter> |
20 | 20 | <action android:name="android.intent.action.VIEW" /> |
21 | 21 | </intent-filter> |
22 | | - </activity> |
| 22 | + </activity> <!-- $ hasImplicitExport --> |
23 | 23 |
|
24 | | - <!-- $ hasImplicitExport --> <receiver |
| 24 | + <receiver |
25 | 25 | android:name=".CheckInstall"> |
26 | 26 | <intent-filter> |
27 | 27 | <action android:name="android.intent.action.PACKAGE_INSTALL"/> |
28 | 28 |
|
29 | 29 | </intent-filter> |
30 | | - </receiver> |
| 30 | + </receiver> <!-- $ hasImplicitExport --> |
31 | 31 |
|
32 | | - <!-- $ hasImplicitExport --> <service |
| 32 | + <service |
33 | 33 | android:name=".backgroundService"> |
34 | 34 | <intent-filter> |
35 | 35 | <action android:name="android.intent.action.START_BACKGROUND"/> |
36 | 36 |
|
37 | 37 | </intent-filter> |
38 | | - </service> |
| 38 | + </service> <!-- $ hasImplicitExport --> |
39 | 39 |
|
40 | | - <!-- $ hasImplicitExport --> <provider |
| 40 | + <provider |
41 | 41 | android:name=".MyCloudProvider"> |
42 | 42 | <intent-filter> |
43 | 43 | <action android:name="android.intent.action.DOCUMENTS_PROVIDER"/> |
44 | 44 |
|
45 | 45 | </intent-filter> |
46 | | - </provider> |
| 46 | + </provider> <!-- $ hasImplicitExport --> |
47 | 47 |
|
48 | | - <!-- Safe: 'android:exported' explicitly set --> <activity |
| 48 | + <activity |
49 | 49 | android:name=".Activity" |
50 | 50 | android:exported="true"> |
51 | 51 | <intent-filter> |
52 | 52 | <action android:name="android.intent.action.VIEW" /> |
53 | 53 | </intent-filter> |
54 | | - </activity> |
| 54 | + </activity> <!-- Safe: 'android:exported' explicitly set --> |
55 | 55 |
|
56 | | - <!-- Safe: no intent filter --> <activity |
| 56 | + <activity |
57 | 57 | android:name=".Activity"> |
58 | | - </activity> |
| 58 | + </activity> <!-- Safe: no intent filter --> |
59 | 59 |
|
60 | | - <!-- Safe: has 'permission' attribute --> <activity |
| 60 | + <activity |
61 | 61 | android:name=".Activity" |
62 | 62 | android:permission=".Test"> |
63 | 63 | <intent-filter> |
64 | 64 | <action android:name="android.intent.action.VIEW" /> |
65 | 65 | </intent-filter> |
66 | | - </activity> |
| 66 | + </activity> <!-- Safe: has 'permission' attribute --> |
67 | 67 |
|
68 | | - <!-- Safe: 'provider' with read and write permissions set --> <provider |
| 68 | + <provider |
69 | 69 | android:name=".MyCloudProvider" |
70 | 70 | android:readPermission=".TestRead" |
71 | 71 | android:writePermission=".TestWrite"> |
72 | 72 | <intent-filter> |
73 | 73 | <action android:name="android.intent.action.DOCUMENTS_PROVIDER"/> |
74 | 74 |
|
75 | 75 | </intent-filter> |
76 | | - </provider> |
| 76 | + </provider> <!-- Safe: 'provider' with read and write permissions set --> |
77 | 77 |
|
78 | | - <!-- $ hasImplicitExport --> <provider |
| 78 | + <provider |
79 | 79 | android:name=".MyCloudProvider" |
80 | 80 | android:readPermission=".TestRead"> |
81 | 81 | <intent-filter> |
82 | 82 | <action android:name="android.intent.action.DOCUMENTS_PROVIDER"/> |
83 | 83 |
|
84 | 84 | </intent-filter> |
85 | | - </provider> |
| 85 | + </provider> <!-- $ hasImplicitExport --> |
86 | 86 |
|
87 | | - <!-- $ hasImplicitExport --> <provider |
| 87 | + <provider |
88 | 88 | android:name=".MyCloudProvider" |
89 | 89 | android:writePermission=".TestWrite"> |
90 | 90 | <intent-filter> |
91 | 91 | <action android:name="android.intent.action.DOCUMENTS_PROVIDER"/> |
92 | 92 |
|
93 | 93 | </intent-filter> |
94 | | - </provider> |
| 94 | + </provider> <!-- $ hasImplicitExport --> |
95 | 95 |
|
96 | | - <!-- Safe: has category 'android.intent.category.LAUNCHER' --> <activity |
| 96 | + <activity |
97 | 97 | android:name=".Activity"> |
98 | 98 | <intent-filter> |
99 | 99 | <action android:name="android.intent.action.MAIN" /> |
100 | 100 |
|
101 | 101 | <category android:name="android.intent.category.LAUNCHER" /> |
102 | 102 | </intent-filter> |
103 | | - </activity> |
| 103 | + </activity> <!-- Safe: has category 'android.intent.category.LAUNCHER' --> |
104 | 104 |
|
105 | | - <!-- Safe: has action 'android.intent.category.MAIN' --> <activity |
| 105 | + <activity |
106 | 106 | android:name=".Activity"> |
107 | 107 | <intent-filter> |
108 | 108 | <action android:name="android.intent.action.MAIN" /> |
109 | 109 | </intent-filter> |
110 | | - </activity> |
| 110 | + </activity> <!-- Safe: has action 'android.intent.category.MAIN' --> |
111 | 111 |
|
112 | 112 | </application> |
113 | 113 |
|
|
0 commit comments