Skip to content

Commit

Permalink
add Pixel 7a support
Browse files Browse the repository at this point in the history
  • Loading branch information
thestinger committed May 12, 2023
1 parent 23393f6 commit 0e3e93b
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 @@ -200,6 +200,7 @@ private enum Stage {
"Pixel 6a",
"Pixel 7",
"Pixel 7 Pro",
"Pixel 7a",
"POCOPHONE F1",
"POT-LX3",
"REVVL 2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ private static class DeviceInfo {
"Pixel 6a",
"Pixel 7",
"Pixel 7 Pro",
"Pixel 7a",
"SM-N970U",
"SM-N975U").contains(Build.MODEL);

Expand Down Expand Up @@ -345,6 +346,8 @@ private static class DeviceInfo {
new DeviceInfo(R.string.device_pixel_7, 200, 200, false /* uses new API */, true, false, R.string.os_graphene))
.put("BC1C0DD95664604382BB888412026422742EB333071EA0B2D19036217D49182F",
new DeviceInfo(R.string.device_pixel_7_pro, 200, 200, false /* uses new API */, true, false, R.string.os_graphene))
.put("508D75DEA10C5CBC3E7632260FC0B59F6055A8A49DD84E693B6D8899EDBB01E4",
new DeviceInfo(R.string.device_pixel_7a, 200, 200, false /* uses new API */, true, false, R.string.os_graphene))
.build();
private static final ImmutableMap<String, DeviceInfo> fingerprintsStock = ImmutableMap
.<String, DeviceInfo>builder()
Expand Down Expand Up @@ -390,6 +393,8 @@ private static class DeviceInfo {
new DeviceInfo(R.string.device_pixel_7, 200, 200, false /* uses new API */, true, false, R.string.os_stock))
.put("26AC4C60BEB1E378357CAD0C3061347AF8DF6FBABBB0D8CEA2445855EE01E368",
new DeviceInfo(R.string.device_pixel_7_pro, 200, 200, false /* uses new API */, true, false, R.string.os_stock))
.put("003F1ADE9D476E612B00F2983E6AD7DCD15E6A80CC2DBB008DA7D6839ED73A8F",
new DeviceInfo(R.string.device_pixel_7a, 200, 200, false /* uses new API */, true, false, R.string.os_stock))
.put("72376CAACF11726D4922585732429FB97D0D1DD69F0D2E0770B9E61D14ADDE65",
new DeviceInfo(R.string.device_sm_a705fn, 3, 4, false /* uses new API */, true, false, R.string.os_stock))
.put("33D9484FD512E610BCF00C502827F3D55A415088F276C6506657215E622FA770",
Expand Down Expand Up @@ -513,6 +518,8 @@ private static class DeviceInfo {
new DeviceInfo(R.string.device_pixel_7, 100, 100, false /* uses new API */, true, false, R.string.os_graphene))
.put("BC1C0DD95664604382BB888412026422742EB333071EA0B2D19036217D49182F",
new DeviceInfo(R.string.device_pixel_7_pro, 100, 100, false /* uses new API */, true, false, R.string.os_graphene))
.put("508D75DEA10C5CBC3E7632260FC0B59F6055A8A49DD84E693B6D8899EDBB01E4",
new DeviceInfo(R.string.device_pixel_7a, 100, 100, false /* uses new API */, true, false, R.string.os_graphene))
.build();
private static final ImmutableMap<String, DeviceInfo> fingerprintsStrongBoxStock = ImmutableMap
.<String, DeviceInfo>builder()
Expand All @@ -538,6 +545,8 @@ private static class DeviceInfo {
new DeviceInfo(R.string.device_pixel_7, 100, 100, false /* uses new API */, true, false, R.string.os_stock))
.put("26AC4C60BEB1E378357CAD0C3061347AF8DF6FBABBB0D8CEA2445855EE01E368",
new DeviceInfo(R.string.device_pixel_7_pro, 100, 100, false /* uses new API */, true, false, R.string.os_stock))
.put("003F1ADE9D476E612B00F2983E6AD7DCD15E6A80CC2DBB008DA7D6839ED73A8F",
new DeviceInfo(R.string.device_pixel_7a, 100, 100, false /* uses new API */, true, false, R.string.os_stock))
.put("3D3DEB132A89551D0A700D230BABAE4E3E80E3C7926ACDD7BAEDF9B57AD316D0",
new DeviceInfo(R.string.device_sm_n970u, 3, 4, false /* uses new API */, true, 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 @@ -122,6 +122,7 @@
<string name="device_pixel_6a">Google Pixel 6a</string>
<string name="device_pixel_7">Google Pixel 7</string>
<string name="device_pixel_7_pro">Google Pixel 7 Pro</string>
<string name="device_pixel_7a">Google Pixel 7a</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 0e3e93b

Please sign in to comment.