Skip to content

Commit

Permalink
add support for Pixel 8a
Browse files Browse the repository at this point in the history
  • Loading branch information
thestinger committed May 11, 2024
1 parent cba3571 commit 72cbd89
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 @@ -211,6 +211,7 @@ private enum Stage {
"Pixel Fold",
"Pixel 8",
"Pixel 8 Pro",
"Pixel 8a",
"POCOPHONE F1",
"POT-LX3",
"REVVL 2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ private static class DeviceInfo {
"Pixel Fold",
"Pixel 8",
"Pixel 8 Pro",
"Pixel 8a",
"SM-N970U",
"SM-N975U").contains(Build.MODEL);

Expand Down Expand Up @@ -350,6 +351,8 @@ private static class DeviceInfo {
new DeviceInfo(R.string.device_pixel_8, 300, 300, false, true, R.string.os_graphene))
.put("896DB2D09D84E1D6BB747002B8A114950B946E5825772A9D48BA7EB01D118C1C",
new DeviceInfo(R.string.device_pixel_8_pro, 300, 300, false, true, R.string.os_graphene))
.put("096B8BD6D44527A24AC1564B308839F67E78202185CBFF9CFDCB10E63250BC5E",
new DeviceInfo(R.string.device_pixel_8a, 300, 300, false, true, R.string.os_graphene))
.build();
private static final ImmutableMap<String, DeviceInfo> fingerprintsStock = ImmutableMap
.<String, DeviceInfo>builder()
Expand Down Expand Up @@ -405,6 +408,8 @@ private static class DeviceInfo {
new DeviceInfo(R.string.device_pixel_8, 300, 300, false, true, R.string.os_stock))
.put("E5362DDF4676E8AA134DB520749BCB1F44FE6556F5E7BFAB130CB6343476FC15",
new DeviceInfo(R.string.device_pixel_8_pro, 300, 300, false, true, R.string.os_stock))
.put("9DE25FB02BB5530D44149D148437C82E267E557322530AA6F03B0AC2E92931DA",
new DeviceInfo(R.string.device_pixel_8a, 300, 300, 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 @@ -538,6 +543,8 @@ private static class DeviceInfo {
new DeviceInfo(R.string.device_pixel_8, 300, 300, false, true, R.string.os_graphene))
.put("896DB2D09D84E1D6BB747002B8A114950B946E5825772A9D48BA7EB01D118C1C",
new DeviceInfo(R.string.device_pixel_8_pro, 300, 300, false, true, R.string.os_graphene))
.put("096B8BD6D44527A24AC1564B308839F67E78202185CBFF9CFDCB10E63250BC5E",
new DeviceInfo(R.string.device_pixel_8a, 300, 300, false, true, R.string.os_graphene))
.build();
private static final ImmutableMap<String, DeviceInfo> fingerprintsStrongBoxStock = ImmutableMap
.<String, DeviceInfo>builder()
Expand Down Expand Up @@ -573,6 +580,8 @@ private static class DeviceInfo {
new DeviceInfo(R.string.device_pixel_8, 300, 300, false, true, R.string.os_stock))
.put("E5362DDF4676E8AA134DB520749BCB1F44FE6556F5E7BFAB130CB6343476FC15",
new DeviceInfo(R.string.device_pixel_8_pro, 300, 300, false, true, R.string.os_stock))
.put("9DE25FB02BB5530D44149D148437C82E267E557322530AA6F03B0AC2E92931DA",
new DeviceInfo(R.string.device_pixel_8a, 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 @@ -126,6 +126,7 @@
<string name="device_pixel_fold">Google Pixel Fold</string>
<string name="device_pixel_8">Google Pixel 8</string>
<string name="device_pixel_8_pro">Google Pixel 8 Pro</string>
<string name="device_pixel_8a">Google Pixel 8a</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 72cbd89

Please sign in to comment.