Remove flag private_space_app_installer_button.
Bug: 409610010 Test: verified PS app install button stills works Flag: EXEMPT flag removal Change-Id: I7fd606ab0fd939bcb1202861d89c3996b241c105
This commit is contained in:
1 parent
839533ae04
commit
bd5c455302
3 files changed
+2
-15
No files matched your search
@@ -35,8 +35,6 @@ import android.util.ArrayMap
|
||||
import android.widget.Toast
|
||||
import android.window.RemoteTransition
|
||||
import com.android.launcher3.Flags.enablePrivateSpace
|
||||
import com.android.launcher3.Flags.enablePrivateSpaceInstallShortcut
|
||||
import com.android.launcher3.Flags.privateSpaceAppInstallerButton
|
||||
import com.android.launcher3.Flags.privateSpaceSysAppsSeparation
|
||||
import com.android.launcher3.R
|
||||
import com.android.launcher3.Utilities
|
||||
@@ -96,11 +94,7 @@ open class SystemApiWrapper @Inject constructor(@ApplicationContext context: Con
|
||||
else ArrayList()
|
||||
|
||||
override fun getAppMarketActivityIntent(packageName: String, user: UserHandle): Intent =
|
||||
if (
|
||||
allowPrivateProfile() &&
|
||||
enablePrivateSpace() &&
|
||||
(privateSpaceAppInstallerButton() || enablePrivateSpaceInstallShortcut())
|
||||
)
|
||||
if (allowPrivateProfile() && enablePrivateSpace())
|
||||
ProxyActivityStarter.getLaunchIntent(
|
||||
mContext,
|
||||
StartActivityParams(null as PendingIntent?, 0).apply {
|
||||
|
||||
Reference in new issue
Block a user