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:
parent
1bd7f9add4
commit
546e6025d6
@ -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"
|
||||||
|
@ -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() {
|
||||||
|
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user