Put stricter flag checks
Also removed a log which gives away flag. Bug: 312976400 Test: manual Change-Id: I4a989de8b6b920666aabf0cc9311e28becc4d862
This commit is contained in:
@@ -92,6 +92,13 @@ public class AutoAdvanceSetupFragment extends Fragment {
|
||||
}
|
||||
};
|
||||
|
||||
@Override
|
||||
public void onCreate(@Nullable Bundle savedInstanceState) {
|
||||
if (android.os.Flags.allowPrivateProfile()) {
|
||||
super.onCreate(savedInstanceState);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public View onCreateView(
|
||||
LayoutInflater inflater,
|
||||
|
Reference in New Issue
Block a user