Skip to content

Commit a33cf01

Browse files
committed
Keep the original Play Store package id, still display as Open Headunit
Revert only the applicationId to com.andrerinas.headunitrevived so the app stays the same Play Store listing and existing users get a normal update. The display name stays Open Headunit and the whole code package stays openheadunit, so the applicationId now differs from the namespace, which is a supported setup (the same idea as Hangouts still being com.google.talk). Also point the app shortcuts at the restored applicationId so they keep resolving.
1 parent be860a7 commit a33cf01

2 files changed

Lines changed: 12 additions & 8 deletions

File tree

app/build.gradle.kts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,11 @@ android {
117117
}
118118

119119
defaultConfig {
120-
applicationId = "com.andrerinas.openheadunit"
120+
// Keep the original Play Store application id so the app stays the same listing (reviews,
121+
// installs, testers) and existing users just get a normal update. Only the display name
122+
// changed to Open Headunit. The code package and namespace stay openheadunit, so the
123+
// applicationId deliberately differs from the namespace, like com.google.talk for Hangouts.
124+
applicationId = "com.andrerinas.headunitrevived"
121125
minSdk = 16
122126
targetSdk = 36
123127
versionCode = 90

app/src/main/res/xml/shortcuts.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
android:shortcutLongLabel="@string/shortcut_connect_desc">
99
<intent
1010
android:action="com.andrerinas.openheadunit.ACTION_CONNECT"
11-
android:targetPackage="com.andrerinas.openheadunit"
11+
android:targetPackage="com.andrerinas.headunitrevived"
1212
android:targetClass="com.andrerinas.openheadunit.main.AutomationActivity" />
1313
</shortcut>
1414
<shortcut
@@ -19,7 +19,7 @@
1919
android:shortcutLongLabel="@string/shortcut_selfmode_desc">
2020
<intent
2121
android:action="com.andrerinas.openheadunit.ACTION_START_SELF_MODE"
22-
android:targetPackage="com.andrerinas.openheadunit"
22+
android:targetPackage="com.andrerinas.headunitrevived"
2323
android:targetClass="com.andrerinas.openheadunit.main.AutomationActivity" />
2424
</shortcut>
2525

@@ -31,7 +31,7 @@
3131
android:shortcutLongLabel="@string/shortcut_disconnect_desc">
3232
<intent
3333
android:action="com.andrerinas.openheadunit.ACTION_DISCONNECT"
34-
android:targetPackage="com.andrerinas.openheadunit"
34+
android:targetPackage="com.andrerinas.headunitrevived"
3535
android:targetClass="com.andrerinas.openheadunit.main.AutomationActivity" />
3636
</shortcut>
3737

@@ -43,7 +43,7 @@
4343
android:shortcutLongLabel="@string/shortcut_exit_desc">
4444
<intent
4545
android:action="com.andrerinas.openheadunit.ACTION_STOP_SERVICE"
46-
android:targetPackage="com.andrerinas.openheadunit"
46+
android:targetPackage="com.andrerinas.headunitrevived"
4747
android:targetClass="com.andrerinas.openheadunit.main.AutomationActivity" />
4848
</shortcut>
4949

@@ -55,7 +55,7 @@
5555
android:shortcutLongLabel="@string/shortcut_night_mode_day_desc">
5656
<intent
5757
android:action="com.andrerinas.openheadunit.ACTION_SET_NIGHT_MODE"
58-
android:targetPackage="com.andrerinas.openheadunit"
58+
android:targetPackage="com.andrerinas.headunitrevived"
5959
android:targetClass="com.andrerinas.openheadunit.main.AutomationActivity">
6060
<extra android:name="state" android:value="day" />
6161
</intent>
@@ -69,7 +69,7 @@
6969
android:shortcutLongLabel="@string/shortcut_night_mode_night_desc">
7070
<intent
7171
android:action="com.andrerinas.openheadunit.ACTION_SET_NIGHT_MODE"
72-
android:targetPackage="com.andrerinas.openheadunit"
72+
android:targetPackage="com.andrerinas.headunitrevived"
7373
android:targetClass="com.andrerinas.openheadunit.main.AutomationActivity">
7474
<extra android:name="state" android:value="night" />
7575
</intent>
@@ -83,7 +83,7 @@
8383
android:shortcutLongLabel="@string/shortcut_night_mode_auto_desc">
8484
<intent
8585
android:action="com.andrerinas.openheadunit.ACTION_SET_NIGHT_MODE"
86-
android:targetPackage="com.andrerinas.openheadunit"
86+
android:targetPackage="com.andrerinas.headunitrevived"
8787
android:targetClass="com.andrerinas.openheadunit.main.AutomationActivity">
8888
<extra android:name="state" android:value="auto" />
8989
</intent>

0 commit comments

Comments
 (0)