import { device , isAndroid } from "tns-core-modules/platform" ; import { _androidActivity } from "./functions" ; /**
 * Clears the Android Translucent StatusBar flag
 */ export function resetAndroidStatusBarTranslucentFlag ( ) { if ( isAndroid && device . sdkVersion >= "19" ) { const window = _androidActivity ( ) . getWindow ( ) ; const LayoutParams = < any > android . view . WindowManager . LayoutParams ; window . clearFlags ( LayoutParams . FLAG_TRANSLUCENT_STATUS ) ; } }