Pro trial preparation

This commit is contained in:
M66B 2015-12-31 19:31:34 +01:00
parent 680897f4ad
commit 0b8dfe60d8
3 changed files with 12 additions and 2 deletions

View File

@ -121,7 +121,7 @@ public class IAB implements ServiceConnection {
SharedPreferences prefs = context.getSharedPreferences("IAB", Context.MODE_PRIVATE);
SharedPreferences.Editor editor = prefs.edit();
for (String product : prefs.getAll().keySet())
//if (!ActivityPro.SKU_DONATION.equals(product))
if (!ActivityPro.SKU_DONATION.equals(product))
editor.remove(product);
for (String sku : skus) {
Log.i(TAG, "SKU=" + sku);

View File

@ -16,8 +16,16 @@
android:orientation="vertical">
<TextView
android:id="@+id/tvTrial"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/title_pro_trial_ended"
android:textAppearance="@android:style/TextAppearance.Material.Medium" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:text="@string/title_pro_description"
android:textAppearance="@android:style/TextAppearance.Material.Medium" />

View File

@ -94,6 +94,8 @@ Since NetGuard has no internet permission, you know your internet traffic is not
<string name="title_block">Block</string>
<string name="title_pro">Pro features</string>
<string name="title_pro_trial_until">Pro features trial until %1$s</string>
<string name="title_pro_trial_ended">Pro features trial period ended</string>
<string name="title_pro_description">The following convenience features are available:</string>
<string name="title_pro_select">Search, filter, sort applications</string>
<string name="title_pro_notify">New application reminders</string>