mirror of https://github.com/M66B/NetGuard.git
Pro trial preparation
This commit is contained in:
parent
680897f4ad
commit
0b8dfe60d8
|
@ -121,8 +121,8 @@ 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))
|
||||
editor.remove(product);
|
||||
if (!ActivityPro.SKU_DONATION.equals(product))
|
||||
editor.remove(product);
|
||||
for (String sku : skus) {
|
||||
Log.i(TAG, "SKU=" + sku);
|
||||
editor.putBoolean(sku, true);
|
||||
|
|
|
@ -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" />
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue