1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-16 11:47:29 +00:00

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.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.RECORD_AUDIO" /> <uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.CAMERA" /> <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 <uses-feature
android:name="android.hardware.camera.any" android:name="android.hardware.camera.any"
@ -155,11 +155,11 @@
android:name=".services.DMSyncAlarmReceiver" android:name=".services.DMSyncAlarmReceiver"
android:enabled="true" android:enabled="true"
android:exported="false" /> android:exported="false" />
<receiver android:name=".services.BootCompletedReceiver" > <!--<receiver android:name=".services.BootCompletedReceiver" >-->
<intent-filter> <!-- <intent-filter>-->
<action android:name="android.intent.action.BOOT_COMPLETED" /> <!-- <action android:name="android.intent.action.BOOT_COMPLETED" />-->
</intent-filter> <!-- </intent-filter>-->
</receiver> <!--</receiver>-->
<uses-library <uses-library
android:name="org.apache.http.legacy" android:name="org.apache.http.legacy"

View File

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

View File

@ -36,8 +36,8 @@ public class DMPreferencesFragment extends BasePreferencesFragment {
final Context context = getContext(); final Context context = getContext();
if (context == null) return; if (context == null) return;
screen.addPreference(getMarkDMSeenPreference(context)); screen.addPreference(getMarkDMSeenPreference(context));
screen.addPreference(getAutoRefreshDMPreference(context)); // screen.addPreference(getAutoRefreshDMPreference(context));
screen.addPreference(getAutoRefreshDMFreqPreference(context)); // screen.addPreference(getAutoRefreshDMFreqPreference(context));
} }
private Preference getMarkDMSeenPreference(@NonNull final Context context) { private Preference getMarkDMSeenPreference(@NonNull final Context context) {