Skip to content

Commit

Permalink
Change default group id to ReVanced
Browse files Browse the repository at this point in the history
  • Loading branch information
WSTxda committed Jun 5, 2024
1 parent fb67ccf commit 735630c
Show file tree
Hide file tree
Showing 16 changed files with 38 additions and 19 deletions.
3 changes: 3 additions & 0 deletions play-services-base/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,15 @@ android {

buildFeatures {
aidl = true
buildConfig = true
}

defaultConfig {
versionName version
minSdkVersion androidMinSdk
targetSdkVersion androidTargetSdk

buildConfigField "String", "BASE_PACKAGE_NAME", "\"$basePackageName\""
}

compileOptions {
Expand Down
2 changes: 1 addition & 1 deletion play-services-basement/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<application>
<meta-data
android:name="com.google.android.gms.version"
android:name="${basePackageName}.android.gms.version"
android:value="$appVersionCode"/>
</application>
</manifest>
4 changes: 4 additions & 0 deletions play-services-cast-framework/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ android {
versionName version
minSdkVersion androidMinSdk
targetSdkVersion androidTargetSdk

manifestPlaceholders = [
basePackageName: "$basePackageName"
]
}

compileOptions {
Expand Down
8 changes: 4 additions & 4 deletions play-services-cast-framework/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,21 @@
<uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>

<queries>
<package android:name="com.google.android.gms.policy_cast_dynamite"/>
<package android:name="${basePackageName}.android.gms.policy_cast_dynamite"/>
</queries>

<application>
<receiver
android:name="com.google.android.gms.cast.framework.media.MediaIntentReceiver"
android:name="${basePackageName}.android.gms.cast.framework.media.MediaIntentReceiver"
android:exported="false"/>

<service
android:name="com.google.android.gms.cast.framework.media.MediaNotificationService"
android:name="${basePackageName}.android.gms.cast.framework.media.MediaNotificationService"
android:exported="false"
android:foregroundServiceType="mediaPlayback"/>

<service
android:name="com.google.android.gms.cast.framework.ReconnectionService"
android:name="${basePackageName}.android.gms.cast.framework.ReconnectionService"
android:exported="false"/>
</application>

Expand Down
4 changes: 4 additions & 0 deletions play-services-cast/core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ android {
versionName version
minSdkVersion androidMinSdk
targetSdkVersion androidTargetSdk

manifestPlaceholders = [
basePackageName: "$basePackageName"
]
}

buildFeatures {
Expand Down
2 changes: 1 addition & 1 deletion play-services-cast/core/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<service android:name="org.microg.gms.cast.CastDeviceControllerService">
<intent-filter>
<action android:name="com.google.android.gms.cast.service.BIND_CAST_DEVICE_CONTROLLER_SERVICE" />
<action android:name="${basePackageName}.android.gms.cast.service.BIND_CAST_DEVICE_CONTROLLER_SERVICE" />
</intent-filter>
</service>
</application>
Expand Down
2 changes: 1 addition & 1 deletion play-services-core/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
<uses-permission android:name="${basePackageName}.android.c2dm.permission.SEND" />
<uses-permission android:name="${basePackageName}.android.gtalkservice.permission.GTALK_SERVICE" />

<uses-permission android:name="org.microg.gms.STATUS_BROADCAST" />
<uses-permission android:name="${basePackageName}.microg.gms.STATUS_BROADCAST" />

<uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
Expand Down
4 changes: 4 additions & 0 deletions play-services-gcm/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ android {
versionName version
minSdkVersion androidMinSdk
targetSdkVersion androidTargetSdk

manifestPlaceholders = [
basePackageName: "$basePackageName"
]
}

compileOptions {
Expand Down
2 changes: 1 addition & 1 deletion play-services-gcm/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

<!-- Permissions required for GCM -->
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE"/>
<uses-permission android:name="${basePackageName}.android.c2dm.permission.RECEIVE"/>
<uses-permission android:name="android.permission.INTERNET"/>

<!-- Move to play-services-measurement -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
* android:name=".YourGcmListenerService"
* android:exported="false" >
* <intent-filter>
* <action android:name="com.google.android.c2dm.intent.RECEIVE" />
* <action android:name="${basePackageName}.android.c2dm.intent.RECEIVE" />
* </intent-filter>
* </service></pre>
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@
* <pre>
* <service android:name=".MyUploadService"
* android:exported="true"
* android:permission="com.google.android.gms.permission.BIND_NETWORK_TASK_SERVICE" >
* android:permission="${basePackageName}.android.gms.permission.BIND_NETWORK_TASK_SERVICE" >
* <intent-filter>
* <action android:name="com.google.android.gms.gcm.ACTION_TASK_READY" />
* <action android:name="${basePackageName}.android.gms.gcm.ACTION_TASK_READY" />
* </intent-filter>
* </service>
* </pre>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@
* <p/>
* <pre>
* <receiver
* android:name="com.google.android.gms.gcm.GcmReceiver"
* android:name="${basePackageName}.android.gms.gcm.GcmReceiver"
* android:exported="true"
* android:permission="com.google.android.c2dm.permission.SEND" >
* android:permission="${basePackageName}.android.c2dm.permission.SEND" >
* <intent-filter>
* <action android:name="com.google.android.c2dm.intent.RECEIVE" />
* <action android:name="com.google.android.c2dm.intent.REGISTRATION" />
* <action android:name="${basePackageName}.android.c2dm.intent.RECEIVE" />
* <action android:name="${basePackageName}.android.c2dm.intent.REGISTRATION" />
* <category android:name="YOUR_PACKAGE_NAME" />
* </intent-filter>
* </receiver></pre>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@
* {@link com.google.android.gms.gcm.GcmTaskService#SERVICE_ACTION_EXECUTE_TASK}. Here's an example:
* <pre>
* <service android:name="MyTaskService"
* android:permission="com.google.android.gms.permission.BIND_NETWORK_TASK_SERVICE"
* android:permission="${basePackageName}.android.gms.permission.BIND_NETWORK_TASK_SERVICE"
* android:exported="true">
* <intent-filter>
* <action android:name="com.google.android.gms.gcm.ACTION_TASK_READY"/>
* <action android:name="${basePackageName}.android.gms.gcm.ACTION_TASK_READY"/>
* </intent-filter>
* </service>
* </pre>
Expand Down
4 changes: 4 additions & 0 deletions play-services-iid/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ android {
versionName version
minSdkVersion androidMinSdk
targetSdkVersion androidTargetSdk

manifestPlaceholders = [
basePackageName: "$basePackageName"
]
}

compileOptions {
Expand Down
2 changes: 1 addition & 1 deletion play-services-iid/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

<!-- Permissions required for IID -->
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE"/>
<uses-permission android:name="${basePackageName}.android.c2dm.permission.RECEIVE"/>
<uses-permission android:name="android.permission.INTERNET"/>
</manifest>
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
* <pre>
* <service android:name=".YourInstanceIDListenerService" android:exported="false">
* <intent-filter>
* <action android:name="com.google.android.gms.iid.InstanceID"/>
* <action android:name="${basePackageName}.android.gms.iid.InstanceID"/>
* </intent-filter>
* </service></pre>
* Do not export this service. Instead, keep it private to prevent other apps
Expand Down

0 comments on commit 735630c

Please sign in to comment.