Skip to content

Commit

Permalink
add Pixel 9 Pro Fold support
Browse files Browse the repository at this point in the history
  • Loading branch information
thestinger committed Aug 29, 2024
1 parent 011205b commit bc48eef
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 @@ -171,6 +171,7 @@ private enum Stage {
"Pixel 9",
"Pixel 9 Pro",
"Pixel 9 Pro XL",
"Pixel 9 Pro Fold",
"SM-G970F",
"SM-G975F",
"SM-N970F",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ private static class DeviceInfo {
"Pixel 9",
"Pixel 9 Pro",
"Pixel 9 Pro XL",
"Pixel 9 Pro Fold",
"SM-N970U",
"SM-N975U").contains(Build.MODEL);

Expand Down Expand Up @@ -355,6 +356,8 @@ private static class DeviceInfo {
new DeviceInfo(R.string.device_pixel_9_pro, 300, 300, false, true, R.string.os_graphene))
.put("55D3C2323DB91BB91F20D38D015E85112D038F6B6B5738FE352C1A80DBA57023",
new DeviceInfo(R.string.device_pixel_9_pro_xl, 300, 300, false, true, R.string.os_graphene))
.put("AF4D2C6E62BE0FEC54F0271B9776FF061DD8392D9F51CF6AB1551D346679E24C",
new DeviceInfo(R.string.device_pixel_9_pro_fold, 300, 300, false, true, R.string.os_graphene))
.build();
private static final ImmutableMap<String, DeviceInfo> fingerprintsStock = ImmutableMap
.<String, DeviceInfo>builder()
Expand Down Expand Up @@ -400,6 +403,8 @@ private static class DeviceInfo {
new DeviceInfo(R.string.device_pixel_9_pro, 300, 300, false, true, R.string.os_stock))
.put("D05975CFD778082E3D1623C91419F6D8634E579A786592118CCEA057537579B7",
new DeviceInfo(R.string.device_pixel_9_pro_xl, 300, 300, false, true, R.string.os_stock))
.put("800E9093D29614F5BC3FC76A0E819BA0A5C0C94A7D6A17C53E7D017D346B7172",
new DeviceInfo(R.string.device_pixel_9_pro_fold, 300, 300, false, true, R.string.os_stock))
.put("9D77474FA4FEA6F0B28636222FBCEE2BB1E6FF9856C736C85B8EA6E3467F2BBA",
new DeviceInfo(R.string.device_sm_g970f, 3, 4, false, false, R.string.os_stock))
.put("08B2B5C6EC8F54C00C505756E1EF516BB4537B2F02D640410D287A43FCF92E3F",
Expand Down Expand Up @@ -463,6 +468,8 @@ private static class DeviceInfo {
new DeviceInfo(R.string.device_pixel_9_pro, 300, 300, false, true, R.string.os_graphene))
.put("55D3C2323DB91BB91F20D38D015E85112D038F6B6B5738FE352C1A80DBA57023",
new DeviceInfo(R.string.device_pixel_9_pro_xl, 300, 300, false, true, R.string.os_graphene))
.put("AF4D2C6E62BE0FEC54F0271B9776FF061DD8392D9F51CF6AB1551D346679E24C",
new DeviceInfo(R.string.device_pixel_9_pro_fold, 300, 300, false, true, R.string.os_graphene))
.build();
private static final ImmutableMap<String, DeviceInfo> fingerprintsStrongBoxStock = ImmutableMap
.<String, DeviceInfo>builder()
Expand Down Expand Up @@ -506,6 +513,8 @@ private static class DeviceInfo {
new DeviceInfo(R.string.device_pixel_9_pro, 300, 300, false, true, R.string.os_stock))
.put("D05975CFD778082E3D1623C91419F6D8634E579A786592118CCEA057537579B7",
new DeviceInfo(R.string.device_pixel_9_pro_xl, 300, 300, false, true, R.string.os_stock))
.put("800E9093D29614F5BC3FC76A0E819BA0A5C0C94A7D6A17C53E7D017D346B7172",
new DeviceInfo(R.string.device_pixel_9_pro_fold, 300, 300, 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_9">Google Pixel 9</string>
<string name="device_pixel_9_pro">Google Pixel 9 Pro</string>
<string name="device_pixel_9_pro_xl">Google Pixel 9 Pro XL</string>
<string name="device_pixel_9_pro_fold">Google Pixel 9 Pro Fold</string>
<string name="device_sm_g970f">Samsung Galaxy S10e (SM-G970F)</string>
<string name="device_sm_g975f">Samsung Galaxy S10+ (SM-G975F)</string>
<string name="device_sm_n970f">Samsung Galaxy Note 10 (SM-N970F)</string>
Expand Down

0 comments on commit bc48eef

Please sign in to comment.