|
|
|
@ -202,7 +202,7 @@ abstract class ActivityBase extends AppCompatActivity implements SharedPreferenc
|
|
|
|
|
|
|
|
|
|
|
|
ViewCompat.setOnApplyWindowInsetsListener(holder, (v, windowInsets) -> {
|
|
|
|
ViewCompat.setOnApplyWindowInsetsListener(holder, (v, windowInsets) -> {
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
Insets insets = windowInsets.getInsets(WindowInsetsCompat.Type.systemBars());
|
|
|
|
Insets insets = windowInsets.getInsets(WindowInsetsCompat.Type.systemBars() | WindowInsetsCompat.Type.displayCutout());
|
|
|
|
|
|
|
|
|
|
|
|
boolean changed = false;
|
|
|
|
boolean changed = false;
|
|
|
|
ViewGroup.MarginLayoutParams mlp = (ViewGroup.MarginLayoutParams) v.getLayoutParams();
|
|
|
|
ViewGroup.MarginLayoutParams mlp = (ViewGroup.MarginLayoutParams) v.getLayoutParams();
|
|
|
|
|