Mask private profile apps while private space is locked

This commit is contained in:
MM20
2024-08-13 15:19:24 +02:00
parent 74060d53c3
commit 318c26a439
9 changed files with 238 additions and 70 deletions
@@ -17,8 +17,13 @@ interface Application: SavableSearchable {
get() = false
val componentName: ComponentName
val isSystemApp: Boolean
val isSuspended: Boolean
/**
* If true, the app's identity should not be revealed to the user.
*/
val isPrivate: Boolean
get() = false
val user: UserHandle
val versionName: String?
@@ -806,6 +806,7 @@
<string name="import_theme_apply">Apply theme</string>
<string name="import_theme_error">The selected file could not be read. Please make sure that you selected a valid theme file (*.kvtheme), and that the file is not corrupt.</string>
<string name="shortcut_label_unavailable">Unavailable</string>
<string name="app_label_locked_profile">Locked</string>
<!-- %1$s: app name -->
<string name="shortcut_unavailable_description">This shortcut is unavailable because %1$s isn\'t the default launcher</string>
<string name="preference_plugin_enable">Enable plugin</string>