Revert "Fix overlapping issue for Add a language page"

This reverts commit 28195f52a6.

Reason for revert: The solution has been moved to framework (see ag/16636785)

Change-Id: I834bf7b31d71a3bf76902404fca6891bf0e9c429
This commit is contained in:
Mill Chen
2022-01-19 14:53:33 +00:00
parent 28195f52a6
commit 0080784d10

View File

@@ -17,7 +17,6 @@
package com.android.settings.localepicker;
import android.app.FragmentTransaction;
import android.app.ListFragment;
import android.content.Intent;
import android.os.Bundle;
import android.view.MenuItem;
@@ -48,14 +47,6 @@ public class LocalePickerWithRegionActivity extends SettingsBaseActivity
.commit();
}
@Override
protected void onStart() {
super.onStart();
final ListFragment listFragment =
(ListFragment) getFragmentManager().findFragmentById(R.id.content_frame);
listFragment.getListView().setNestedScrollingEnabled(true);
}
@Override
public boolean onOptionsItemSelected(MenuItem item) {
if (item.getItemId() == android.R.id.home) {