添加应用共享用户ID配置

- AndroidManifest.xml: 添加 android:sharedUserId 和 android:sharedUserLabel
- strings.xml: 新增 shared_user_label 字符串资源用于 sharedUserLabel 引用
This commit is contained in:
2026-05-10 13:13:26 +08:00
parent 24af31d51d
commit 3cfee1c4a8
2 changed files with 4 additions and 1 deletions

View File

@@ -9,7 +9,9 @@
android:label="@string/app_name" android:label="@string/app_name"
android:theme="@style/MyAPPBaseTheme" android:theme="@style/MyAPPBaseTheme"
android:resizeableActivity="true" android:resizeableActivity="true"
android:process=":App"> android:process=":App"
android:sharedUserId="cc.winboll.studio"
android:sharedUserLabel="@string/shared_user_label">
<activity <activity
android:name=".MainActivity" android:name=".MainActivity"

View File

@@ -6,4 +6,5 @@
<string name="app_debug">Click here is switch to APP DEBUG</string> <string name="app_debug">Click here is switch to APP DEBUG</string>
<string name="gitea_home">GITEA HOME</string> <string name="gitea_home">GITEA HOME</string>
<string name="app_update">APP UPDATE</string> <string name="app_update">APP UPDATE</string>
<string name="shared_user_label">studio@winboll.cc</string>
</resources> </resources>