Remove tabs from recent location access page
Bug: 185382276 Test: manual - screenshot/Az2obQLjdy7vVv9 Change-Id: Ic2f3004d57108e136c622290e8d78bf284a09258
This commit is contained in:
@@ -24,7 +24,6 @@ import android.view.MenuItem;
|
||||
import com.android.internal.logging.nano.MetricsProto.MetricsEvent;
|
||||
import com.android.settings.R;
|
||||
import com.android.settings.dashboard.DashboardFragment;
|
||||
import com.android.settings.dashboard.profileselector.ProfileSelectFragment;
|
||||
import com.android.settings.search.BaseSearchIndexProvider;
|
||||
import com.android.settingslib.search.SearchIndexable;
|
||||
|
||||
@@ -52,13 +51,8 @@ public class RecentLocationAccessSeeAllFragment extends DashboardFragment {
|
||||
@Override
|
||||
public void onAttach(Context context) {
|
||||
super.onAttach(context);
|
||||
final int profileType = getArguments().getInt(ProfileSelectFragment.EXTRA_PROFILE);
|
||||
|
||||
mController = use(RecentLocationAccessSeeAllPreferenceController.class);
|
||||
mController.init(this);
|
||||
if (profileType != 0) {
|
||||
mController.setProfileType(profileType);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user