forked from d4rken-org/sdmaid-se
-
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.
AppControl: Display more specific result messages
- Loading branch information
Showing
6 changed files
with
24 additions
and
69 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
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
13 changes: 3 additions & 10 deletions
13
app/src/main/java/eu/darken/sdmse/appcontrol/ui/list/actions/AppActionEvents.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,23 +1,16 @@ | ||
package eu.darken.sdmse.appcontrol.ui.list.actions | ||
|
||
import android.content.Intent | ||
import eu.darken.sdmse.appcontrol.core.AppControlTask | ||
import eu.darken.sdmse.appcontrol.core.AppInfo | ||
import eu.darken.sdmse.appcontrol.core.export.AppExporter | ||
import eu.darken.sdmse.appcontrol.core.forcestop.ForceStopTask | ||
import eu.darken.sdmse.common.pkgs.features.Installed | ||
|
||
sealed class AppActionEvents { | ||
data class SelectExportPath( | ||
val appInfo: AppInfo, | ||
val intent: Intent, | ||
) : AppActionEvents() | ||
|
||
data class ForceStopResult( | ||
val result: ForceStopTask.Result, | ||
) : AppActionEvents() | ||
|
||
data class ExportResult( | ||
val successful: Collection<AppExporter.Result>, | ||
val failed: Collection<Installed.InstallId>, | ||
data class ShowResult( | ||
val result: AppControlTask.Result, | ||
) : AppActionEvents() | ||
} |
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