Skip to content

Commit

Permalink
add Pixel Fold support
Browse files Browse the repository at this point in the history
  • Loading branch information
thestinger committed Jun 28, 2023
1 parent d6dec40 commit 7f71bab
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ private enum Stage {
"Pixel 7 Pro",
"Pixel 7a",
"Pixel Tablet",
"Pixel Fold",
"POCOPHONE F1",
"POT-LX3",
"REVVL 2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ private static class DeviceInfo {
"Pixel 7 Pro",
"Pixel 7a",
"Pixel Tablet",
"Pixel Fold",
"SM-N970U",
"SM-N975U").contains(Build.MODEL);

Expand Down Expand Up @@ -343,6 +344,8 @@ private static class DeviceInfo {
new DeviceInfo(R.string.device_pixel_7a, 200, 200, false, true, R.string.os_graphene))
.put("94DF136E6C6AA08DC26580AF46F36419B5F9BAF46039DB076F5295B91AAFF230",
new DeviceInfo(R.string.device_pixel_tablet, 200, 200, false, true, R.string.os_graphene))
.put("EE0C9DFEF6F55A878538B0DBF7E78E3BC3F1A13C8C44839B095FE26DD5FE2842",
new DeviceInfo(R.string.device_pixel_fold, 200, 200, false, true, R.string.os_graphene))
.build();
private static final ImmutableMap<String, DeviceInfo> fingerprintsStock = ImmutableMap
.<String, DeviceInfo>builder()
Expand Down Expand Up @@ -392,6 +395,8 @@ private static class DeviceInfo {
new DeviceInfo(R.string.device_pixel_7a, 200, 200, false, true, R.string.os_stock))
.put("C72E569827EC2E19A1073D927E3B6A1C6C8322DA795D5CE44BF3B95031B37C0A",
new DeviceInfo(R.string.device_pixel_tablet, 200, 200, false, true, R.string.os_stock))
.put("3BBD4712D8714812E762D3FB6D2D5724800C3342B1835CDBC1D3634AE59D646E",
new DeviceInfo(R.string.device_pixel_fold, 200, 200, false, true, R.string.os_stock))
.put("72376CAACF11726D4922585732429FB97D0D1DD69F0D2E0770B9E61D14ADDE65",
new DeviceInfo(R.string.device_sm_a705fn, 3, 4, false, false, R.string.os_stock))
.put("33D9484FD512E610BCF00C502827F3D55A415088F276C6506657215E622FA770",
Expand Down Expand Up @@ -519,6 +524,8 @@ private static class DeviceInfo {
new DeviceInfo(R.string.device_pixel_7a, 100, 100, false, true, R.string.os_graphene))
.put("94DF136E6C6AA08DC26580AF46F36419B5F9BAF46039DB076F5295B91AAFF230",
new DeviceInfo(R.string.device_pixel_tablet, 100, 100, false, true, R.string.os_graphene))
.put("EE0C9DFEF6F55A878538B0DBF7E78E3BC3F1A13C8C44839B095FE26DD5FE2842",
new DeviceInfo(R.string.device_pixel_fold, 100, 100, false, true, R.string.os_graphene))
.build();
private static final ImmutableMap<String, DeviceInfo> fingerprintsStrongBoxStock = ImmutableMap
.<String, DeviceInfo>builder()
Expand Down Expand Up @@ -548,6 +555,8 @@ private static class DeviceInfo {
new DeviceInfo(R.string.device_pixel_7a, 100, 100, false, true, R.string.os_stock))
.put("C72E569827EC2E19A1073D927E3B6A1C6C8322DA795D5CE44BF3B95031B37C0A",
new DeviceInfo(R.string.device_pixel_tablet, 100, 100, false, true, R.string.os_stock))
.put("3BBD4712D8714812E762D3FB6D2D5724800C3342B1835CDBC1D3634AE59D646E",
new DeviceInfo(R.string.device_pixel_fold, 100, 100, false, true, R.string.os_stock))
.put("3D3DEB132A89551D0A700D230BABAE4E3E80E3C7926ACDD7BAEDF9B57AD316D0",
new DeviceInfo(R.string.device_sm_n970u, 3, 4, false, true, R.string.os_stock))
.put("9AC63842137D92C119A1B1BE2C9270B9EBB6083BBE6350B7823571942B5869F0",
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 @@ -123,6 +123,7 @@
<string name="device_pixel_7_pro">Google Pixel 7 Pro</string>
<string name="device_pixel_7a">Google Pixel 7a</string>
<string name="device_pixel_tablet">Google Pixel Tablet</string>
<string name="device_pixel_fold">Google Pixel Fold</string>
<string name="device_sm_a705fn">Samsung Galaxy A70 (SM-A705FN)</string>
<string name="device_sm_g960f">Samsung Galaxy S9 (SM-G960F)</string>
<string name="device_sm_g960_na">Samsung Galaxy S9 USA/Canada (SM-G960U/SM-G960U1/SM-G960W)</string>
Expand Down

0 comments on commit 7f71bab

Please sign in to comment.