|
|
@ -170,7 +170,9 @@ public class ServiceSynchronize extends LifecycleService {
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
Core.notifyMessages(ServiceSynchronize.this, notifying, messages);
|
|
|
|
Core.notifyMessages(ServiceSynchronize.this, notifying, messages);
|
|
|
|
} catch (SecurityException ex) {
|
|
|
|
} catch (SecurityException ex) {
|
|
|
|
android.util.Log.e(Log.TAG, ex + "\n" + android.util.Log.getStackTraceString(ex));
|
|
|
|
Log.w(ex);
|
|
|
|
|
|
|
|
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(ServiceSynchronize.this);
|
|
|
|
|
|
|
|
prefs.edit().remove("sound").apply();
|
|
|
|
} catch (Throwable ex) {
|
|
|
|
} catch (Throwable ex) {
|
|
|
|
Log.e(ex);
|
|
|
|
Log.e(ex);
|
|
|
|
}
|
|
|
|
}
|
|
|
|