dialog to enable notification access

This commit is contained in:
danijoo
2016-01-02 14:40:06 +01:00
parent dec245e12b
commit e91f4c86bc
4 changed files with 50 additions and 0 deletions

View File

@@ -18,7 +18,14 @@ import timber.log.Timber;
public class NotificationLoggerService extends NotificationListenerService implements SharedPreferences.OnSharedPreferenceChangeListener {
/**
* true if logger is enabled in system settings
*/
public static boolean isRunning = false;
/**
* true if logger is enabled in app settings
*/
public static boolean isEnabled = true;
SharedPreferences mSharedPrefs;