mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-09-08 10:32:42 +00:00
54 lines
2.3 KiB
Diff
54 lines
2.3 KiB
Diff
![]() |
From 11419a198fb864d5479c9ce3f1ffdc63114020c0 Mon Sep 17 00:00:00 2001
|
||
|
From: Daniel Micay <danielmicay@gmail.com>
|
||
|
Date: Fri, 4 Mar 2016 08:53:19 -0500
|
||
|
Subject: [PATCH] remove privileged extension settings
|
||
|
|
||
|
---
|
||
|
.../java/org/fdroid/fdroid/views/fragments/PreferencesFragment.java | 4 +++-
|
||
|
app/src/main/res/xml/preferences.xml | 2 ++
|
||
|
2 files changed, 5 insertions(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/app/src/main/java/org/fdroid/fdroid/views/fragments/PreferencesFragment.java b/app/src/main/java/org/fdroid/fdroid/views/fragments/PreferencesFragment.java
|
||
|
index 4304b87..b94ca31 100644
|
||
|
--- a/app/src/main/java/org/fdroid/fdroid/views/fragments/PreferencesFragment.java
|
||
|
+++ b/app/src/main/java/org/fdroid/fdroid/views/fragments/PreferencesFragment.java
|
||
|
@@ -41,7 +41,7 @@
|
||
|
Preferences.PREF_LANGUAGE,
|
||
|
Preferences.PREF_KEEP_CACHE_TIME,
|
||
|
Preferences.PREF_EXPERT,
|
||
|
- Preferences.PREF_PRIVILEGED_INSTALLER,
|
||
|
+ //Preferences.PREF_PRIVILEGED_INSTALLER,
|
||
|
Preferences.PREF_ENABLE_PROXY,
|
||
|
Preferences.PREF_PROXY_HOST,
|
||
|
Preferences.PREF_PROXY_PORT,
|
||
|
@@ -259,8 +259,10 @@ public void onResume() {
|
||
|
|
||
|
currentKeepCacheTime = Preferences.get().getKeepCacheTime();
|
||
|
|
||
|
+ /*
|
||
|
initPrivilegedInstallerPreference();
|
||
|
initUpdatePrivilegedExtensionPreference();
|
||
|
+ */
|
||
|
// this pref's default is dynamically set based on whether Orbot is installed
|
||
|
boolean useTor = Preferences.get().isTorEnabled();
|
||
|
useTorCheckPref.setDefaultValue(useTor);
|
||
|
diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml
|
||
|
index aa80594..573e443 100644
|
||
|
--- a/app/src/main/res/xml/preferences.xml
|
||
|
+++ b/app/src/main/res/xml/preferences.xml
|
||
|
@@ -91,6 +91,7 @@
|
||
|
android:summary="@string/unstable_updates_summary"
|
||
|
android:defaultValue="false"
|
||
|
android:dependency="expert" />
|
||
|
+ <!--
|
||
|
<CheckBoxPreference android:title="@string/system_installer"
|
||
|
android:defaultValue="false"
|
||
|
android:key="privilegedInstaller"
|
||
|
@@ -100,5 +101,6 @@
|
||
|
android:summary="@string/uninstall_system_summary"
|
||
|
android:key="uninstallPrivilegedApp"
|
||
|
android:dependency="expert" />
|
||
|
+ -->
|
||
|
</PreferenceCategory>
|
||
|
</PreferenceScreen>
|