You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
api-impl: fixes for apps using old support library
This commit is contained in:
@@ -97,7 +97,7 @@ public class ViewGroup extends View implements ViewParent, ViewManager {
|
||||
// Reusing removeView in removeViewInLayout is not possible, because e.g.
|
||||
// ViewPager overrides removeView to call removeViewInLayout
|
||||
protected void removeViewInternal(View child) {
|
||||
if (child.parent != this)
|
||||
if (child == null || child.parent != this)
|
||||
return;
|
||||
child.parent = null;
|
||||
children.remove(child);
|
||||
|
||||
Reference in New Issue
Block a user