Skip to content

Commit

Permalink
[Deepak] Signature Validation through Permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
deepakchirammeltw committed Apr 23, 2024
1 parent 80e770e commit eb66f55
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions AppA/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<queries>
<package android:name="com.tw.test.service" />
</queries>
<uses-permission android:name="com.tw.test.service.SERVICE_APP_ACCESS" />

<application
android:allowBackup="true"
Expand Down
Binary file renamed AppA.apk → AppA_with_Permissions.apk
Binary file not shown.
1 change: 1 addition & 0 deletions AppB/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<queries>
<package android:name="com.tw.test.service" />
</queries>
<uses-permission android:name="com.tw.test.service.SERVICE_APP_ACCESS" />

<application
android:allowBackup="true"
Expand Down
Binary file renamed AppB.apk → AppB_with_Permissions.apk
Binary file not shown.
4 changes: 4 additions & 0 deletions ServiceApp/service/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

<permission
android:name="com.tw.test.service.SERVICE_APP_ACCESS"
android:protectionLevel="signature" />
<application>
<service
android:name=".ServiceApp"
android:permission="com.tw.test.service.SERVICE_APP_ACCESS"
android:enabled="true"
android:exported="true" />
</application>
Expand Down
Binary file not shown.

0 comments on commit eb66f55

Please sign in to comment.