OSDN Git Service

Fix the display priority of the airplane mode icon.
authorMike Corrigan <michael.corrigan@motorola.com>
Thu, 24 Feb 2011 21:24:47 +0000 (15:24 -0600)
committerDaniel Sandler <dsandler@google.com>
Tue, 1 Mar 2011 18:20:07 +0000 (13:20 -0500)
commitbd15112a29eefb93e62235574b694746044c9261
tree0e89aedbce8489ce94238ada2680e45259c023af
parent0eb6af892948ba23bf9de5c5a6172c6ec50f8f71
Fix the display priority of the airplane mode icon.

The airplane icon is used as a fallback when no
other radios are available *and* the AIRPLANE_MODE_ON system
setting is set to 1. (NetworkController now tracks changes to
the setting via ACTION_AIRPLANE_MODE_CHANGED broadcasts.)

This fixes wifi-only devices, for which the previous logic
did not correctly and consistently detect airplane mode.

Bug: 3489820
Change-Id: I226bb0e977f6a5fd3f2d829ba51ca54c5c910ef3
packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java