Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Commit

Permalink
better 32-bit deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
thestinger committed Jul 7, 2024
1 parent 86f0f47 commit c151c14
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions core/res/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6471,4 +6471,6 @@ ul.</string>

<!-- Button that opens the screen with details of an application error -->
<string name="aerr_show_details">Show details</string>

<string name="deprecated_abi_message_grapheneos">This app only supports 32-bit and therefore isn\'t compatible with more recent devices. If the app is still developed, switch to a build for modern devices. GrapheneOS plans to phase out 32-bit app support on older devices for improved security.</string>
</resources>
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class DeprecatedAbiDialog extends AppWarnings.BaseDialog {
PackageItemInfo.DEFAULT_MAX_LABEL_SIZE_PX,
PackageItemInfo.SAFE_LABEL_FLAG_FIRST_LINE
| PackageItemInfo.SAFE_LABEL_FLAG_TRIM);
final CharSequence message = context.getString(R.string.deprecated_abi_message);
final CharSequence message = context.getString(R.string.deprecated_abi_message_grapheneos);

final AlertDialog.Builder builder = new AlertDialog.Builder(context)
.setPositiveButton(R.string.ok, (dialog, which) ->
Expand Down

0 comments on commit c151c14

Please sign in to comment.