mirror of
https://github.com/github/codeql.git
synced 2026-05-01 03:35:13 +02:00
Java: Update test expectations
This commit is contained in:
@@ -14,58 +14,58 @@
|
||||
android:theme="@style/Theme.HappyBirthday"
|
||||
tools:targetApi="31">
|
||||
|
||||
<!-- $ hasImplicitExport --> <activity
|
||||
<activity
|
||||
android:name=".Activity">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
</activity> <!-- $ hasImplicitExport -->
|
||||
|
||||
<!-- $ hasImplicitExport --> <receiver
|
||||
<receiver
|
||||
android:name=".CheckInstall">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.PACKAGE_INSTALL"/>
|
||||
|
||||
</intent-filter>
|
||||
</receiver>
|
||||
</receiver> <!-- $ hasImplicitExport -->
|
||||
|
||||
<!-- $ hasImplicitExport --> <service
|
||||
<service
|
||||
android:name=".backgroundService">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.START_BACKGROUND"/>
|
||||
|
||||
</intent-filter>
|
||||
</service>
|
||||
</service> <!-- $ hasImplicitExport -->
|
||||
|
||||
<!-- $ hasImplicitExport --> <provider
|
||||
<provider
|
||||
android:name=".MyCloudProvider">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.DOCUMENTS_PROVIDER"/>
|
||||
|
||||
</intent-filter>
|
||||
</provider>
|
||||
</provider> <!-- $ hasImplicitExport -->
|
||||
|
||||
<!-- Safe: 'android:exported' explicitly set --> <activity
|
||||
<activity
|
||||
android:name=".Activity"
|
||||
android:exported="true">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
</activity> <!-- Safe: 'android:exported' explicitly set -->
|
||||
|
||||
<!-- Safe: no intent filter --> <activity
|
||||
<activity
|
||||
android:name=".Activity">
|
||||
</activity>
|
||||
</activity> <!-- Safe: no intent filter -->
|
||||
|
||||
<!-- Safe: has 'permission' attribute --> <activity
|
||||
<activity
|
||||
android:name=".Activity"
|
||||
android:permission=".Test">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
</activity> <!-- Safe: has 'permission' attribute -->
|
||||
|
||||
<!-- Safe: 'provider' with read and write permissions set --> <provider
|
||||
<provider
|
||||
android:name=".MyCloudProvider"
|
||||
android:readPermission=".TestRead"
|
||||
android:writePermission=".TestWrite">
|
||||
@@ -73,41 +73,41 @@
|
||||
<action android:name="android.intent.action.DOCUMENTS_PROVIDER"/>
|
||||
|
||||
</intent-filter>
|
||||
</provider>
|
||||
</provider> <!-- Safe: 'provider' with read and write permissions set -->
|
||||
|
||||
<!-- $ hasImplicitExport --> <provider
|
||||
<provider
|
||||
android:name=".MyCloudProvider"
|
||||
android:readPermission=".TestRead">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.DOCUMENTS_PROVIDER"/>
|
||||
|
||||
</intent-filter>
|
||||
</provider>
|
||||
</provider> <!-- $ hasImplicitExport -->
|
||||
|
||||
<!-- $ hasImplicitExport --> <provider
|
||||
<provider
|
||||
android:name=".MyCloudProvider"
|
||||
android:writePermission=".TestWrite">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.DOCUMENTS_PROVIDER"/>
|
||||
|
||||
</intent-filter>
|
||||
</provider>
|
||||
</provider> <!-- $ hasImplicitExport -->
|
||||
|
||||
<!-- Safe: has category 'android.intent.category.LAUNCHER' --> <activity
|
||||
<activity
|
||||
android:name=".Activity">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
</activity> <!-- Safe: has category 'android.intent.category.LAUNCHER' -->
|
||||
|
||||
<!-- Safe: has action 'android.intent.category.MAIN' --> <activity
|
||||
<activity
|
||||
android:name=".Activity">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
</activity> <!-- Safe: has action 'android.intent.category.MAIN' -->
|
||||
|
||||
</application>
|
||||
|
||||
|
||||
@@ -17,22 +17,22 @@
|
||||
|
||||
<!-- Read Only -->
|
||||
|
||||
<!-- $ hasIncompletePermissions --><provider
|
||||
<provider
|
||||
android:name=".MyContentProviderRO"
|
||||
android:authorities="table"
|
||||
android:enabled="true"
|
||||
android:exported="true"
|
||||
android:readPermission="android.permission.MANAGE_DOCUMENTS"></provider>
|
||||
android:readPermission="android.permission.MANAGE_DOCUMENTS"></provider><!-- $ hasIncompletePermissions -->
|
||||
|
||||
|
||||
<!-- Write Only -->
|
||||
|
||||
<!-- $ hasIncompletePermissions --> <provider
|
||||
<provider
|
||||
android:name=".MyContentProviderWO"
|
||||
android:authorities="table"
|
||||
android:enabled="true"
|
||||
android:exported="true"
|
||||
android:writePermission="android.permission.MANAGE_DOCUMENTS"></provider>
|
||||
android:writePermission="android.permission.MANAGE_DOCUMENTS"></provider><!-- $ hasIncompletePermissions -->
|
||||
|
||||
<!-- Full -->
|
||||
|
||||
|
||||
Reference in New Issue
Block a user