Skip to content

Commit

Permalink
add Vivo 1807 support
Browse files Browse the repository at this point in the history
  • Loading branch information
thestinger committed Jun 13, 2019
1 parent 70295d9 commit 97a1353
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ private enum Stage {
"SM-G965U1",
"SM-G965W",
"SM-N960F",
"SM-N960U").contains(Build.MODEL);
"SM-N960U",
"vivo 1807").contains(Build.MODEL);

private static int getFirstApiLevel() {
return Integer.parseInt(SystemProperties.get("ro.product.first_api_level",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,8 @@ private static class DeviceInfo {
new DeviceInfo(R.string.device_htc, 2, 3, true, false, R.string.os_stock))
.put("80BAB060807CFFA45D4747DF1AD706FEE3AE3F645F80CF14871DDBE27E14C30B",
new DeviceInfo(R.string.device_moto_g7, 3, 4, false /* uses new API */, true, R.string.os_stock))
.put("1F6D98D1B0E1F1CE1C872BD36C668F9DFDBE0D47594789E1540DF4E6198F657D",
new DeviceInfo(R.string.device_vivo_1807, 2, 3, true, false, R.string.os_stock))
.build();

private static final ImmutableMap<String, DeviceInfo> fingerprintsStrongBoxCustomOS = ImmutableMap
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,5 @@
<string name="device_xiaomi_mi_9">Xiaomi Mi 9</string>
<string name="device_htc">HTC EXODUS 1 / U12+</string>
<string name="device_moto_g7">Motorola moto g⁷</string>
<string name="device_vivo_1807">Vivo 1807</string>
</resources>

0 comments on commit 97a1353

Please sign in to comment.