Skip to content

Commit

Permalink
Check preference from within Licensing service
Browse files Browse the repository at this point in the history
  • Loading branch information
fynngodau committed Jan 11, 2024
1 parent e84bdce commit 30feaa2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions vending-app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<uses-permission android:name="android.permission.GET_ACCOUNTS" />

<uses-permission android:name="org.microg.gms.permission.READ_SETTINGS" />
<uses-permission android:name="com.google.android.gms.permission.READ_SETTINGS" />

<uses-permission
android:name="android.permission.USE_CREDENTIALS"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
import com.android.volley.toolbox.Volley;

import org.microg.gms.auth.AuthConstants;
import org.microg.gms.profile.Build;
import org.microg.gms.profile.ProfileManager;

import java.util.Arrays;
Expand All @@ -52,9 +51,9 @@ public class LicensingService extends Service {

private static final Uri CHECKIN_SETTINGS_PROVIDER = Uri.parse("content://com.google.android.gms.microg.settings/check-in");

private static final Uri SETTINGS_PROVIDER = Uri.parse("content://com.google.android.gms.microg.settings/play");
private static final Uri SETTINGS_PROVIDER = Uri.parse("content://com.google.android.gms.microg.settings/vending");

private static final String PREFERENCE_LICENSING_ENABLED = "play_licensing";
private static final String PREFERENCE_LICENSING_ENABLED = "vending_licensing";

private final ILicensingService.Stub mLicenseService = new ILicensingService.Stub() {

Expand Down

0 comments on commit 30feaa2

Please sign in to comment.