Skip to content

Commit da997c2

Browse files
committed
add support for Pixel 9a
1 parent d228502 commit da997c2

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

app/src/main/java/app/attestation/auditor/AttestationActivity.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ private enum Stage {
172172
"Pixel 9 Pro",
173173
"Pixel 9 Pro XL",
174174
"Pixel 9 Pro Fold",
175+
"Pixel 9a",
175176
"SM-G970F",
176177
"SM-G975F",
177178
"SM-N970F",

app/src/main/java/app/attestation/auditor/AttestationProtocol.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,7 @@ public record DeviceInfo(int name, int attestationVersion, int keymasterVersion,
280280
"Pixel 9 Pro",
281281
"Pixel 9 Pro XL",
282282
"Pixel 9 Pro Fold",
283+
"Pixel 9a",
283284
"SM-N970U",
284285
"SM-N975U").contains(Build.MODEL);
285286

@@ -349,6 +350,8 @@ public record DeviceInfo(int name, int attestationVersion, int keymasterVersion,
349350
new DeviceInfo(R.string.device_pixel_9_pro_xl, 300, 300, false, true, R.string.os_graphene))
350351
.put("AF4D2C6E62BE0FEC54F0271B9776FF061DD8392D9F51CF6AB1551D346679E24C",
351352
new DeviceInfo(R.string.device_pixel_9_pro_fold, 300, 300, false, true, R.string.os_graphene))
353+
.put("0508DE44EE00BFB49ECE32C418AF1896391ABDE0F05B64F41BC9A2DFB589445B",
354+
new DeviceInfo(R.string.device_pixel_9a, 300, 300, false, true, R.string.os_graphene))
352355
.build();
353356
private static final ImmutableMap<String, DeviceInfo> fingerprintsStock = ImmutableMap
354357
.<String, DeviceInfo>builder()
@@ -396,6 +399,8 @@ public record DeviceInfo(int name, int attestationVersion, int keymasterVersion,
396399
new DeviceInfo(R.string.device_pixel_9_pro_xl, 300, 300, false, true, R.string.os_stock))
397400
.put("800E9093D29614F5BC3FC76A0E819BA0A5C0C94A7D6A17C53E7D017D346B7172",
398401
new DeviceInfo(R.string.device_pixel_9_pro_fold, 300, 300, false, true, R.string.os_stock))
402+
.put("3327AF62D84AB897AF2523A16DCB5801E60C5D5B97F41CA1BD099C4784F7B743",
403+
new DeviceInfo(R.string.device_pixel_9a, 300, 300, false, true, R.string.os_stock))
399404
.put("9D77474FA4FEA6F0B28636222FBCEE2BB1E6FF9856C736C85B8EA6E3467F2BBA",
400405
new DeviceInfo(R.string.device_sm_g970f, 3, 4, false, false, R.string.os_stock))
401406
.put("08B2B5C6EC8F54C00C505756E1EF516BB4537B2F02D640410D287A43FCF92E3F",
@@ -461,6 +466,8 @@ public record DeviceInfo(int name, int attestationVersion, int keymasterVersion,
461466
new DeviceInfo(R.string.device_pixel_9_pro_xl, 300, 300, false, true, R.string.os_graphene))
462467
.put("AF4D2C6E62BE0FEC54F0271B9776FF061DD8392D9F51CF6AB1551D346679E24C",
463468
new DeviceInfo(R.string.device_pixel_9_pro_fold, 300, 300, false, true, R.string.os_graphene))
469+
.put("0508DE44EE00BFB49ECE32C418AF1896391ABDE0F05B64F41BC9A2DFB589445B",
470+
new DeviceInfo(R.string.device_pixel_9a, 300, 300, false, true, R.string.os_graphene))
464471
.build();
465472
private static final ImmutableMap<String, DeviceInfo> fingerprintsStrongBoxStock = ImmutableMap
466473
.<String, DeviceInfo>builder()
@@ -506,6 +513,8 @@ public record DeviceInfo(int name, int attestationVersion, int keymasterVersion,
506513
new DeviceInfo(R.string.device_pixel_9_pro_xl, 300, 300, false, true, R.string.os_stock))
507514
.put("800E9093D29614F5BC3FC76A0E819BA0A5C0C94A7D6A17C53E7D017D346B7172",
508515
new DeviceInfo(R.string.device_pixel_9_pro_fold, 300, 300, false, true, R.string.os_stock))
516+
.put("3327AF62D84AB897AF2523A16DCB5801E60C5D5B97F41CA1BD099C4784F7B743",
517+
new DeviceInfo(R.string.device_pixel_9a, 300, 300, false, true, R.string.os_stock))
509518
.put("3D3DEB132A89551D0A700D230BABAE4E3E80E3C7926ACDD7BAEDF9B57AD316D0",
510519
new DeviceInfo(R.string.device_sm_n970u, 3, 4, false, true, R.string.os_stock))
511520
.put("9AC63842137D92C119A1B1BE2C9270B9EBB6083BBE6350B7823571942B5869F0",

app/src/main/res/values/strings.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@
123123
<string name="device_pixel_9_pro">Google Pixel 9 Pro</string>
124124
<string name="device_pixel_9_pro_xl">Google Pixel 9 Pro XL</string>
125125
<string name="device_pixel_9_pro_fold">Google Pixel 9 Pro Fold</string>
126+
<string name="device_pixel_9a">Google Pixel 9a</string>
126127
<string name="device_sm_g970f">Samsung Galaxy S10e (SM-G970F)</string>
127128
<string name="device_sm_g975f">Samsung Galaxy S10+ (SM-G975F)</string>
128129
<string name="device_sm_n970f">Samsung Galaxy Note 10 (SM-N970F)</string>

0 commit comments

Comments
 (0)