forked from ReVanced/revanced-manager
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "feat: switch to androidx.navigation (ReVanced#2362)"
This reverts commit 5d3a81f.
- Loading branch information
1 parent
b81bd17
commit 8306b94
Showing
22 changed files
with
534 additions
and
533 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 4 additions & 1 deletion
5
app/src/main/java/app/revanced/manager/data/room/apps/installed/InstalledApp.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,23 @@ | ||
package app.revanced.manager.data.room.apps.installed | ||
|
||
import android.os.Parcelable | ||
import androidx.room.ColumnInfo | ||
import androidx.room.Entity | ||
import androidx.room.PrimaryKey | ||
import app.revanced.manager.R | ||
import kotlinx.parcelize.Parcelize | ||
|
||
enum class InstallType(val stringResource: Int) { | ||
DEFAULT(R.string.default_install), | ||
MOUNT(R.string.mount_install) | ||
} | ||
|
||
@Parcelize | ||
@Entity(tableName = "installed_app") | ||
data class InstalledApp( | ||
@PrimaryKey | ||
@ColumnInfo(name = "current_package_name") val currentPackageName: String, | ||
@ColumnInfo(name = "original_package_name") val originalPackageName: String, | ||
@ColumnInfo(name = "version") val version: String, | ||
@ColumnInfo(name = "install_type") val installType: InstallType | ||
) | ||
) : Parcelable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.