Logical Error Logical Error - 18 days ago 5
Android Question

getWindow().addFlags() in android

I have some class files of an Android App, I have code

protected void onCreate(Bundle bundle) {
super.onCreate(bundle);
getWindow().addFlags(557056);
getWindow().addFlags(4194304);
getWindow().clearFlags(4194304);
}


Need to know which is the flag represented by this number


  1. 557056 ?

  2. 4194304 ?



please help me in this weird case.

Answer
4194304 -> Intent.FLAG_ACTIVITY_BROUGHT_TO_FRONT

https://developer.android.com/reference/android/content/Intent.html#FLAG_ACTIVITY_BROUGHT_TO_FRONT

Gonna edit this answer when I find 557056.

Comments