Merge "Fix: Cannot control ime_switcher and menu after resetting." into nyc-dev
am: a423e2535b
* commit 'a423e2535b2d79849465db1a24aefa6779cc695b':
Fix: Cannot control ime_switcher and menu after resetting.
Change-Id: I5d50dd2cb84687540a556922ad4000815c8e3073
This commit is contained in:
@@ -282,6 +282,12 @@ public class NavigationBarInflaterView extends FrameLayout implements TunerServi
|
||||
final int indexOfKey = mButtonDispatchers.indexOfKey(v.getId());
|
||||
if (indexOfKey >= 0) {
|
||||
mButtonDispatchers.valueAt(indexOfKey).addView(v);
|
||||
} else if (v instanceof ViewGroup) {
|
||||
final ViewGroup viewGroup = (ViewGroup)v;
|
||||
final int N = viewGroup.getChildCount();
|
||||
for (int i = 0; i < N; i++) {
|
||||
addToDispatchers(viewGroup.getChildAt(i));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user