Ensure unit tests use targetSdk instead of API 23 (Android 6)

This commit is contained in:
Sylvia van Os
2023-04-16 15:20:30 +02:00
parent 3b51121c9e
commit 4b2b999653
9 changed files with 35 additions and 40 deletions

View File

@@ -1209,6 +1209,7 @@ public class LoyaltyCardViewActivity extends CatimaAppCompatActivity implements
getWindow().setDecorFitsSystemWindows(true);
if (getWindow().getInsetsController() != null) {
getWindow().getInsetsController().show(WindowInsets.Type.statusBars() | WindowInsets.Type.navigationBars());
getWindow().getInsetsController().setSystemBarsBehavior(WindowInsetsController.BEHAVIOR_DEFAULT);
}
} else {
unsetFullscreenModeSdkLessThan30();