 Issue 29412555:
  Issue 5140 - Add tests for settings storage  (Closed)
    
  
    Issue 29412555:
  Issue 5140 - Add tests for settings storage  (Closed) 
  | Index: libadblockplus-android-settings/src/org/adblockplus/libadblockplus/android/settings/AdblockSettings.java | 
| diff --git a/libadblockplus-android-settings/src/org/adblockplus/libadblockplus/android/settings/AdblockSettings.java b/libadblockplus-android-settings/src/org/adblockplus/libadblockplus/android/settings/AdblockSettings.java | 
| index e0fbd539ce6d334aec272008697d646d280cc0fb..01a65da956f560da3c70f6cb562ecbb955408aa7 100644 | 
| --- a/libadblockplus-android-settings/src/org/adblockplus/libadblockplus/android/settings/AdblockSettings.java | 
| +++ b/libadblockplus-android-settings/src/org/adblockplus/libadblockplus/android/settings/AdblockSettings.java | 
| @@ -27,8 +27,8 @@ import java.util.List; | 
| */ | 
| public class AdblockSettings implements Serializable | 
| { | 
| - private transient boolean adblockEnabled; | 
| - private transient Boolean acceptableAdsEnabled; | 
| + private volatile boolean adblockEnabled; | 
| 
anton
2017/04/14 08:14:00
actually it's a bug fix!
this was meant to be `vol
 
anton
2017/04/14 08:15:09
though the bug did not appear as we don't serializ
 | 
| + private volatile boolean acceptableAdsEnabled; | 
| 
anton
2017/04/14 08:14:00
decided to make it primitive.
The original intenti
 | 
| private List<Subscription> subscriptions; | 
| private List<String> whitelistedDomains; | 
| private ConnectionType allowedConnectionType; |