Refuse to start on Android 4 beyond the set expiry date

This commit is contained in:
Daniel Lublin
2022-01-11 14:41:50 +01:00
parent 10dceafde1
commit 75370c8124
6 changed files with 106 additions and 3 deletions

View File

@@ -0,0 +1,45 @@
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/margin_large"
android:orientation="vertical">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/margin_medium"
android:gravity="center"
android:text="@string/old_android_expiry_date_reached"
android:textSize="@dimen/text_size_large" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/margin_medium"
android:gravity="center"
android:text="@string/old_android_create_new_account"
android:textSize="@dimen/text_size_large" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/margin_medium"
android:gravity="center"
android:text="@string/old_android_delete_account"
android:textSize="@dimen/text_size_large" />
<Button
android:id="@+id/delete_account_button"
style="@style/BriarButton"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/margin_medium"
android:text="@string/delete_account_button" />
</LinearLayout>
</ScrollView>

View File

@@ -64,6 +64,10 @@
<string name="download_briar">To continue using Briar, please download the latest release.</string>
<string name="create_new_account">You will need to create a new account, but you can use the same nickname.</string>
<string name="download_briar_button">Download Latest Release</string>
<string name="old_android_expiry_date_reached">Briar no longer runs on Android 4.\nPlease install Briar on a newer device.</string>
<string name="old_android_create_new_account">You will need to create a new account, but you can use the same nickname.</string>
<string name="old_android_delete_account">You can tap the button below to delete your account from this device.</string>
<string name="delete_account_button">Delete Account</string>
<string name="startup_open_database">Decrypting Database…</string>
<string name="startup_migrate_database">Upgrading Database…</string>
<string name="startup_compact_database">Compacting Database…</string>