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 26e77ce
Show file tree
Hide file tree
Showing 3 changed files with 4 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>
1 change: 1 addition & 0 deletions core/res/res/values/symbols.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3262,6 +3262,7 @@
<java-symbol type="string" name="deprecated_target_sdk_app_store" />

<java-symbol type="string" name="deprecated_abi_message" />
<java-symbol type="string" name="deprecated_abi_message_grapheneos" />

<!-- New SMS notification while phone is locked. -->
<java-symbol type="string" name="new_sms_notification_title" />
Expand Down
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 26e77ce

Please sign in to comment.