Skip to content
This repository has been archived by the owner on Nov 24, 2024. It is now read-only.

Commit

Permalink
Revert "adjust for targetSdk 34"
Browse files Browse the repository at this point in the history
This reverts commit 9f114e6.
  • Loading branch information
0xf104a committed Oct 17, 2023
1 parent e5287ae commit b42b23b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
android:versionName="1"
>
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_SPECIAL_USE" />
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />

<permission
Expand All @@ -29,7 +28,6 @@
android:name=".PersistentFgService"
android:exported="false"
android:directBootAware="true"
android:foregroundServiceType="specialUse"
/>

<provider
Expand Down
2 changes: 1 addition & 1 deletion src/app/grapheneos/gmscompat/util/PendingAction.kt
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class PendingAction private constructor(val action: () -> Unit, val oneShot: Boo
val piFlags = PendingIntent.FLAG_CANCEL_CURRENT or PendingIntent.FLAG_IMMUTABLE
pendingIntent = PendingIntent.getBroadcast(ctx, 0, Intent(intentAction), piFlags)

ctx.registerReceiver(this, IntentFilter(intentAction), Context.RECEIVER_NOT_EXPORTED)
ctx.registerReceiver(this, IntentFilter(intentAction))

logd{"registered $id"}
}
Expand Down

0 comments on commit b42b23b

Please sign in to comment.