DownloadPreference: Move APK post-install setting to InstallationPreference

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
Aayush Gupta
2024-10-08 18:10:53 +05:30
parent 00347ae4fc
commit a5c85939ed
61 changed files with 10 additions and 148 deletions

View File

@@ -1,29 +0,0 @@
<!--
~ 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/>.
~
-->
<androidx.preference.PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto">
<SwitchPreferenceCompat
app:defaultValue="true"
app:iconSpaceReserved="false"
app:key="PREFERENCE_AUTO_DELETE"
app:summary="@string/pref_install_delete_summary"
app:title="@string/pref_install_delete_title" />
</androidx.preference.PreferenceScreen>

View File

@@ -31,6 +31,13 @@
app:singleLineTitle="false"
app:title="@string/pref_common_extra" />
<SwitchPreferenceCompat
app:defaultValue="true"
app:iconSpaceReserved="false"
app:key="PREFERENCE_AUTO_DELETE"
app:summary="@string/pref_install_delete_summary"
app:title="@string/pref_install_delete_title" />
<Preference
app:iconSpaceReserved="false"
app:key="INSTALLATION_ABANDON_SESSION"

View File

@@ -38,13 +38,6 @@
app:layout="@layout/item_preference"
app:title="@string/pref_ui_title" />
<Preference
app:icon="@drawable/ic_download_manager"
app:iconSpaceReserved="false"
app:key="pref_download"
app:layout="@layout/item_preference"
app:title="@string/pref_app_download" />
<Preference
app:icon="@drawable/ic_network"
app:iconSpaceReserved="false"