pref: 默认启用新版 UI
This commit is contained in:
parent
fd7f273277
commit
860ea01f34
|
|
@ -43,7 +43,6 @@ android {
|
|||
}
|
||||
manifestPlaceholders = [
|
||||
is_self_build: "$isSelfBuild",
|
||||
enable_new_ui: "${debug || isSelfBuild}",
|
||||
]
|
||||
}
|
||||
buildFeatures {
|
||||
|
|
|
|||
|
|
@ -50,10 +50,10 @@
|
|||
android:allowBackup="true"
|
||||
android:dataExtractionRules="@xml/data_extraction_rules"
|
||||
android:fullBackupContent="@xml/backup_descriptor"
|
||||
android:icon="@mipmap/ic_launcher"
|
||||
android:icon="@mipmap/ic_launcher_new"
|
||||
android:label="@string/app_name"
|
||||
android:largeHeap="true"
|
||||
android:roundIcon="@mipmap/ic_launcher_round"
|
||||
android:roundIcon="@mipmap/ic_launcher_new_round"
|
||||
android:supportsRtl="true"
|
||||
android:theme="@style/AppTheme"
|
||||
android:usesCleartextTraffic="true"
|
||||
|
|
@ -128,10 +128,11 @@
|
|||
android:value="${is_self_build}" />
|
||||
<meta-data
|
||||
android:name="enable_new_ui"
|
||||
android:value="${enable_new_ui}" />
|
||||
android:value="true" />
|
||||
|
||||
<activity
|
||||
android:name=".activities.MainActivity"
|
||||
android:enabled="false"
|
||||
android:configChanges="screenSize|screenLayout|orientation|smallestScreenSize|keyboardHidden"
|
||||
android:exported="true"
|
||||
android:icon="@mipmap/ic_launcher"
|
||||
|
|
@ -152,7 +153,7 @@
|
|||
<activity
|
||||
android:name=".MainActivityV2"
|
||||
android:configChanges="screenSize|screenLayout|orientation|smallestScreenSize|keyboard|navigation|keyboardHidden"
|
||||
android:enabled="${enable_new_ui}"
|
||||
android:enabled="true"
|
||||
android:exported="true"
|
||||
android:icon="@mipmap/ic_launcher_new"
|
||||
android:roundIcon="@mipmap/ic_launcher_new_round"
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@
|
|||
</string-array>
|
||||
|
||||
<string-array name="experimental_features">
|
||||
<item>oksign_use_official_oksign</item>
|
||||
<item>checkCIUpdate</item>
|
||||
</string-array>
|
||||
|
||||
|
|
|
|||
|
|
@ -260,7 +260,7 @@
|
|||
android:title="@string/title_check_ci_update" />
|
||||
|
||||
<SwitchPreference
|
||||
android:defaultValue="false"
|
||||
android:defaultValue="true"
|
||||
android:icon="@drawable/ic_round_fiber_new"
|
||||
android:key="enableNewUi"
|
||||
android:summary="@string/summary_enable_new_ui"
|
||||
|
|
|
|||
Loading…
Reference in New Issue