Revert "[Languages] Add new information to system language page."
This reverts commit 3cbb6f8680.
Reason for revert: b/248456615
Bug: b/248456615
Test: Manual test pass
Change-Id: I3bc5088784ed97f69ffadb0ea69078bfcf7dc39d
This commit is contained in:
@@ -33,7 +33,6 @@ class LocaleDragCell extends RelativeLayout {
|
||||
private CheckBox mCheckbox;
|
||||
private TextView mMiniLabel;
|
||||
private TextView mLocalized;
|
||||
private TextView mCurrentDefault;
|
||||
private ImageView mDragHandle;
|
||||
|
||||
public LocaleDragCell(Context context, AttributeSet attrs) {
|
||||
@@ -45,7 +44,6 @@ class LocaleDragCell extends RelativeLayout {
|
||||
super.onFinishInflate();
|
||||
mLabel = (TextView) findViewById(R.id.label);
|
||||
mLocalized = (TextView) findViewById(R.id.l10nWarn);
|
||||
mCurrentDefault = (TextView) findViewById(R.id.default_locale);
|
||||
mMiniLabel = (TextView) findViewById(R.id.miniLabel);
|
||||
mCheckbox = (CheckBox) findViewById(R.id.checkbox);
|
||||
mDragHandle = (ImageView) findViewById(R.id.dragHandle);
|
||||
@@ -102,14 +100,6 @@ class LocaleDragCell extends RelativeLayout {
|
||||
invalidate();
|
||||
}
|
||||
|
||||
/**
|
||||
* Indicate current locale is system default.
|
||||
*/
|
||||
public void setCurrentDefault(boolean isCurrentDefault) {
|
||||
mCurrentDefault.setVisibility(isCurrentDefault ? VISIBLE : GONE);
|
||||
invalidate();
|
||||
}
|
||||
|
||||
public ImageView getDragHandle() {
|
||||
return mDragHandle;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user