Skip to content

Commit

Permalink
Change data collection default in demo app to false
Browse files Browse the repository at this point in the history
  • Loading branch information
lkorth committed May 31, 2016
1 parent c46a222 commit 1382d82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public static String getCustomerId(Context context) {
}

public static boolean shouldCollectDeviceData(Context context) {
return getPreferences(context).getBoolean("collect_device_data", true);
return getPreferences(context).getBoolean("collect_device_data", false);
}

public static String getThreeDSecureMerchantAccountId(Context context) {
Expand Down
2 changes: 1 addition & 1 deletion Demo/src/main/res/xml/settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
android:key="collect_device_data"
android:title="@string/collect_device_data"
android:summary="@string/collect_device_data_summary"
android:defaultValue="true" />
android:defaultValue="false" />

</PreferenceCategory>

Expand Down

0 comments on commit 1382d82

Please sign in to comment.