Disabling dm auto refresh temporarily

This commit is contained in:
Ammar Githam 2021-03-14 02:46:41 +09:00
parent 1bd7f9add4
commit 546e6025d6
3 changed files with 9 additions and 9 deletions

View File

@ -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"

View File

@ -163,7 +163,7 @@ public class MainActivity extends BaseLanguageActivity implements FragmentManage
EmojiVariantManager.getInstance();
});
initEmojiCompat();
initDmService();
// initDmService();
}
private void initDmService() {

View File

@ -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) {