Skip to content

Commit

Permalink
remove dead code for support Auditor < v26
Browse files Browse the repository at this point in the history
v47 is the minimum supported Auditor version.
  • Loading branch information
thestinger committed Oct 29, 2022
1 parent bcd5711 commit d66ff20
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1210,7 +1210,7 @@ private static VerificationResult verify(final Context context, final byte[] fin

osEnforced.append(context.getString(R.string.user_profile_secure,
toYesNoString(context, userProfileSecure)));
osEnforced.append(context.getString(verified.appVersion < 26 ? R.string.enrolled_fingerprints : R.string.enrolled_biometrics,
osEnforced.append(context.getString(R.string.enrolled_biometrics,
toYesNoString(context, enrolledBiometrics)));
osEnforced.append(context.getString(R.string.accessibility,
toYesNoString(context, accessibility)));
Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@
<string name="auditor_app_variant_play">Release build signed by Play Store</string>
<string name="auditor_app_variant_debug">Debug build signed by GrapheneOS</string>
<string name="user_profile_secure">User profile secure: %s\n</string>
<string name="enrolled_fingerprints">Enrolled fingerprints: %s\n</string>
<string name="enrolled_biometrics">Enrolled biometrics: %s\n</string>
<string name="accessibility">Accessibility service(s) enabled: %s\n</string>
<string name="device_admin">Device administrator(s) enabled: %s\n</string>
Expand Down

0 comments on commit d66ff20

Please sign in to comment.