添加应用共享用户ID配置
- AndroidManifest.xml: 添加 android:sharedUserId 和 android:sharedUserLabel - strings.xml: 新增 shared_user_label 字符串资源用于 sharedUserLabel 引用
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user