Skip to content

Commit 495ab2b

Browse files
use newer api
1 parent 4ccfa3c commit 495ab2b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/plugins/browser/android/com/foxdebug/browser/BrowserActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public void onCreate(Bundle savedInstanceState) {
4848
public WindowInsets onApplyWindowInsets(View v, WindowInsets insets) {
4949
Insets systemBarsInsets = insets.getInsets(WindowInsets.Type.systemBars());
5050
v.setPadding(systemBarsInsets.left, systemBarsInsets.top, systemBarsInsets.right, systemBarsInsets.bottom);
51-
return insets.consumeSystemWindowInsets();
51+
return WindowInsets.CONSUMED;
5252
}
5353
});
5454
}

0 commit comments

Comments
 (0)