Add support for insecure anonymous session, open bridge geo-spoofing

This commit is contained in:
Rahul Kumar Patel
2021-03-29 07:49:10 +05:30
parent d6d1bdca7d
commit ea290fedba
10 changed files with 199 additions and 11 deletions

View File

@@ -49,4 +49,12 @@
app:key="pref_download"
app:layout="@layout/item_preference"
app:title="@string/pref_app_download" />
<Preference
android:fragment="com.aurora.store.view.ui.preferences.NetworkPreference"
app:icon="@drawable/ic_network"
app:iconSpaceReserved="false"
app:key="pref_network"
app:layout="@layout/item_preference"
app:title="@string/pref_network_title" />
</PreferenceScreen>

View File

@@ -0,0 +1,28 @@
<!--
~ Aurora Store
~ Copyright (C) 2021, Rahul Kumar Patel <whyorean@gmail.com>
~
~ Aurora Store is free software: you can redistribute it and/or modify
~ it under the terms of the GNU General Public License as published by
~ the Free Software Foundation, either version 2 of the License, or
~ (at your option) any later version.
~
~ Aurora Store is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU General Public License for more details.
~
~ You should have received a copy of the GNU General Public License
~ along with Aurora Store. If not, see <http://www.gnu.org/licenses/>.
~
-->
<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto">
<SwitchPreferenceCompat
app:defaultValue="false"
app:iconSpaceReserved="false"
app:key="PREFERENCE_INSECURE_ANONYMOUS"
app:summary="@string/pref_insecure_anonymous_summary"
app:title="@string/pref_insecure_anonymous_title" />
</PreferenceScreen>