Disabling dm auto refresh temporarily
This commit is contained in:
parent
1bd7f9add4
commit
546e6025d6
@ -8,7 +8,7 @@
|
||||
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
||||
<uses-permission android:name="android.permission.RECORD_AUDIO" />
|
||||
<uses-permission android:name="android.permission.CAMERA" />
|
||||
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
|
||||
<!--<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />-->
|
||||
|
||||
<uses-feature
|
||||
android:name="android.hardware.camera.any"
|
||||
@ -155,11 +155,11 @@
|
||||
android:name=".services.DMSyncAlarmReceiver"
|
||||
android:enabled="true"
|
||||
android:exported="false" />
|
||||
<receiver android:name=".services.BootCompletedReceiver" >
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.BOOT_COMPLETED" />
|
||||
</intent-filter>
|
||||
</receiver>
|
||||
<!--<receiver android:name=".services.BootCompletedReceiver" >-->
|
||||
<!-- <intent-filter>-->
|
||||
<!-- <action android:name="android.intent.action.BOOT_COMPLETED" />-->
|
||||
<!-- </intent-filter>-->
|
||||
<!--</receiver>-->
|
||||
|
||||
<uses-library
|
||||
android:name="org.apache.http.legacy"
|
||||
|
@ -163,7 +163,7 @@ public class MainActivity extends BaseLanguageActivity implements FragmentManage
|
||||
EmojiVariantManager.getInstance();
|
||||
});
|
||||
initEmojiCompat();
|
||||
initDmService();
|
||||
// initDmService();
|
||||
}
|
||||
|
||||
private void initDmService() {
|
||||
|
@ -36,8 +36,8 @@ public class DMPreferencesFragment extends BasePreferencesFragment {
|
||||
final Context context = getContext();
|
||||
if (context == null) return;
|
||||
screen.addPreference(getMarkDMSeenPreference(context));
|
||||
screen.addPreference(getAutoRefreshDMPreference(context));
|
||||
screen.addPreference(getAutoRefreshDMFreqPreference(context));
|
||||
// screen.addPreference(getAutoRefreshDMPreference(context));
|
||||
// screen.addPreference(getAutoRefreshDMFreqPreference(context));
|
||||
}
|
||||
|
||||
private Preference getMarkDMSeenPreference(@NonNull final Context context) {
|
||||
|
Loading…
Reference in New Issue
Block a user