开发者

Android Airplane mode setting

I开发者_JAVA百科 have modified onAirplaneModeChanged() in AirplaneModeEnabler.java. The method now reads the status of airplane mode directly from the database. When i enter the wireless settings screen, the checkbox is checked/unchecked as expected.

But when I switch the airplane mode to ON, the airplane mode checkbox gets checked instantly. But the list-item "airplane mode" is disabled.

The disabling happens through setAirplaneModeOn() called in onAirplaneModeChanged().

This behaviour is not observed when SIM is inserted.

In short, here is my question: setAirplaneModeOn() sets the summary and disables the item. When and where will the item get enabled again?

Regards, Webgenius

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜