preferences: Relocate certain perference classes to dedicated package

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
Aayush Gupta
2025-02-18 14:51:49 +08:00
parent 076b6ad291
commit 86d085fe55
5 changed files with 8 additions and 7 deletions

View File

@@ -17,7 +17,7 @@
*
*/
package com.aurora.store.view.ui.preferences
package com.aurora.store.view.ui.preferences.installation
import android.app.admin.DevicePolicyManager
import android.content.DialogInterface

View File

@@ -17,7 +17,7 @@
*
*/
package com.aurora.store.view.ui.preferences
package com.aurora.store.view.ui.preferences.installation
import android.content.pm.PackageManager
import android.os.Bundle

View File

@@ -17,7 +17,7 @@
*
*/
package com.aurora.store.view.ui.preferences
package com.aurora.store.view.ui.preferences.network
import android.os.Bundle
import android.view.View
@@ -34,6 +34,7 @@ import com.aurora.store.util.Preferences.PREFERENCE_MICROG_AUTH
import com.aurora.store.util.Preferences.PREFERENCE_PROXY_URL
import com.aurora.store.util.Preferences.PREFERENCE_VENDING_VERSION
import com.aurora.store.util.save
import com.aurora.store.view.ui.preferences.BasePreferenceFragment
import dagger.hilt.android.AndroidEntryPoint
@AndroidEntryPoint

View File

@@ -1,4 +1,4 @@
package com.aurora.store.view.ui.preferences
package com.aurora.store.view.ui.preferences.network
import android.app.Dialog
import android.os.Bundle

View File

@@ -98,12 +98,12 @@
</fragment>
<fragment
android:id="@+id/installationPreference"
android:name="com.aurora.store.view.ui.preferences.InstallationPreference"
android:name="com.aurora.store.view.ui.preferences.installation.InstallationPreference"
android:label="InstallationPreference"
tools:layout="@layout/fragment_setting" />
<fragment
android:id="@+id/networkPreference"
android:name="com.aurora.store.view.ui.preferences.NetworkPreference"
android:name="com.aurora.store.view.ui.preferences.network.NetworkPreference"
android:label="NetworkPreference"
tools:layout="@layout/fragment_setting" />
<fragment
@@ -350,7 +350,7 @@
</fragment>
<fragment
android:id="@+id/installerFragment"
android:name="com.aurora.store.view.ui.preferences.InstallerFragment"
android:name="com.aurora.store.view.ui.preferences.installation.InstallerFragment"
android:label="InstallerFragment"
tools:layout="@layout/fragment_installer" />
<fragment