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
Window: use content_view as DecorView if available
This commit is contained in:
@@ -47,6 +47,8 @@ public class Window {
|
||||
}
|
||||
|
||||
public View getDecorView() {
|
||||
if (contentView != null)
|
||||
return contentView;
|
||||
return new View(); // FIXME: this can probably backfire
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user