Add enable_private_space_features flag check for Private Space implementation
Bug: 326060689 Test: Manual Change-Id: I82105714e74789394a3d46b852aaa3e7b93e5877
This commit is contained in:
@@ -68,6 +68,7 @@ public class LocationForPrivateProfilePreferenceController
|
||||
@Override
|
||||
public int getAvailabilityStatus() {
|
||||
if (!android.os.Flags.allowPrivateProfile()
|
||||
|| !android.multiuser.Flags.enablePrivateSpaceFeatures()
|
||||
|| !android.multiuser.Flags.handleInterleavedSettingsForPrivateSpace()
|
||||
|| !isPrivateProfileAvailable()) {
|
||||
return CONDITIONALLY_UNAVAILABLE;
|
||||
|
||||
Reference in New Issue
Block a user