Skip to content

Commit

Permalink
opt: getapps - device modify
Browse files Browse the repository at this point in the history
  • Loading branch information
Sevtinge committed Jun 5, 2024
1 parent 89b3e66 commit 0ddd137
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,19 @@ public void init() {
mManufacturer = "Xiaomi";
} else if (mPrefsMap.getStringAsInt("market_device_modify_new", 0) == 201) {
// flip
mDevice = "ruyi";
mDevice = "ruyi"; // N8
mModel = "2405CPX3DC";
mManufacturer = "Xiaomi";
} else if (mPrefsMap.getStringAsInt("market_device_modify_new", 0) == 224) {
// f4
mDevice = "goku";
mDevice = "goku"; // N18
mModel = "24072PX77C";
mManufacturer = "Xiaomi";
} else if (mPrefsMap.getStringAsInt("market_device_modify_new", 0) == 225) {
// f4 satellite
mDevice = "goku"; // N18
mModel = "24076PX3BC";
mManufacturer = "Xiaomi";
} else if (mPrefsMap.getStringAsInt("market_device_modify_new", 0) == 223) {
// f3
mDevice = "babylon"; // M18
Expand Down
4 changes: 3 additions & 1 deletion app/src/main/res/values/arrays.xml
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,8 @@
<item>Xiaomi 14 Ultra</item>
<item>Xiaomi 14 Pro</item>
<item>Xiaomi CIVI 4 Pro</item>
<item>Xiaomi MIX Flip</item>
<item>Xiaomi CIVI Flip</item>
<item>Xiaomi MIX Fold 4 Satellite</item>
<item>Xiaomi MIX Fold 4</item>
<item>Xiaomi MIX Fold 3</item>
<item>Xiaomi MIX Alpha</item>
Expand All @@ -711,6 +712,7 @@
<item>102</item>
<item>155</item>
<item>201</item>
<item>225</item>
<item>224</item>
<item>223</item>
<item>190</item>
Expand Down

0 comments on commit 0ddd137

Please sign in to comment.