update statusbar by window flag

Ref-Id: Ib5fb9b5c1516d967defe2781b8ba6f88de6f1387
Change-Id: Idde81e39443c93df9ac2c5efb5215abdd73d4fca
use MiuiKeyguardManager

Change-Id: I036c297414a40bd1dedd75f3d5c9eed0c9428483