History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
feef9887e8f8eb6f64fc1b4552c02efb5755cdc1 22-Nov-2013 Jeff Brown <jeffbrown@google.com> Stop wifi display discovery when no longer needed.

Keep track of how many clients are requesting scans and scan
continuously until all of them are gone then explicitly terminate the
scan instead of letting it time out as before.

Suspend wifi display scans while connecting or connected to a remote
display. This is handled by both the display manager and media router
since neither has complete information about what is happening.
Much of this code will no longer be needed once wifi display support
is integrated directly into the media router service.

Ensure that we don't attempt to scan or connect to wifi displays
while the wifi display feature is off.

Infer when a connection attempt fails and unselect the wifi display
route automatically so it doesn't appear to be connecting forever.

Fix issues around correctly canceling and retrying connection attempts.
Often we would cancel but not retry.

Improved connection reliability somewhat. It seems that discovery must
already be in progress in order for a connection attempt to succeed.

Ensure QuickSettings uses exactly the same logic as the MediaRouteButton
to determine when the remote display tile should be made visible.

Bug: 11717053
Change-Id: I18afc977b0e8c26204b8c96adaa79f05225f7b6e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
e7ae644522f692c204d0233f91e77c7841bdfe53 13-Nov-2013 Jeff Brown <jeffbrown@google.com> Finalize assets for screen casting.

Extend wifi display connection timeout.

Show a notification while connecting to wifi display.

Ensure that remote display providers are really trusted before
connecting to them.

Bug: 11257292
Change-Id: Iad0caaa30d7946df818bc75ade071f2e377f8a53
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
0abd3a6ce83ed23abe614155e776b600ef2a66c3 10-Nov-2013 Jeff Brown <jeffbrown@google.com> Update the media router dialogs and integrate into system UI.

Port the new style UI back into the framework from the support library.
There are now two dialogs: a chooser and a controller. We use the
same dialogs for selecting routes within app and within quick settings.

Note that the new UI does not support any grouping features since they
are deprecated and unused.

Bug: 11257292
Change-Id: I64e936a18d25ab75f0c470cbc1e7085f67004863
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
e2126baf72f007d079efcabd45c7a546db34361a 08-Nov-2013 Jeff Brown <jeffbrown@google.com> Make quick settings show the standard media router icon.

Fixed a bug in ImageView where we failed to inform a newly updated
Drawable about the visibility state. This caused AnimationDrawables
to not animate when attached to an existing ImageView *unless* that
ImageView happened to be attached to the window *later* or have
its visibility toggled for some other reason.

Bug: 11257292
Change-Id: Iba9e0db5ba0db2b022950aec0c6f60a435da8ad2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
635e91529681587a65ca05cf27d5de78b368ead7 07-Nov-2013 Jeff Brown <jeffbrown@google.com> Integrate remote display providers into Quick Settings.

This is a first pass at integrating new remote display functionality
into Quick Settings. The Wireless Display card which previously
only supported Wifi Display is reimplemented to use the media router
to enumerate available remote display routes. This ensures that the
user is presented with a consistent state regarding the currently
selected display route.

In this patch, the Wireless Display card still launches the old
Settings preference page for Wifi Display when clicked. This will be
addressed in future patches.

As part of this change, it was necessary to derive some new lifecycle
information regarding the visibility of the Quick Settings model.
When Quick Settings is shown, an onPrepare event is delivered to
give the model a chance to update its state. Likewise when Quick
Settings is hidden, an onUnprepare event is delivered.

These events allow the system to determine precisely when remote
display discovery is required to update the UI so as not to waste
power performing discovery in the background all of the time.

Bug: 11257292
Change-Id: Id802aa0983b625aeb972b5d123e4cc080dd6705f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
0e9ce34d1ca7828c7588dbb3b9aa910207c7e1a0 18-Oct-2013 Winson Chung <winsonc@google.com> DO NOT MERGE Fix null pointer exception when updating rotation tile. (Bug 11111473)

This occurs when switching users on devices that
don't have a rotation lock quick settings tile.

Change-Id: I738ca15ca754be90cec7eaf3a8eda3e38ed96b33
(cherry picked from commit e8f50a1400d288e6fd7c20ec7947270e204ee57d)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
b8bf7017b10c8dfc9f24a97570c9d50f8ad76439 10-Oct-2013 David Christie <dnchrist@google.com> Refresh quicksettings location tile text when language changes
-b/11157526

Change-Id: I2174a04edad15feffb9cf3b124b4e3f997d9070e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
c08ae4432cffbf0112e03a09c7ebcbb54cfd9bb1 11-Oct-2013 Adam Lesinski <adamlesinski@google.com> Fix SystemUI crash on devices with WiFi only

A recent change to QuickSettings forgot to
check whether the device has a radio or not.

Change-Id: I0b89634b290e82a1702de7b2f539cef3efa6d246
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
828e4c49a037daef1a097cd1e77ed9171d551526 10-Oct-2013 Adam Lesinski <adamlesinski@google.com> Reinflate QSB RSSI Tile on config change

Resources that change based on MCC or MNC will now
show on the RSSI tile in Quick Settings.

bug:10518893
Change-Id: I55a77f967d2630b5c1aa17382069a15f37745405
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
43670879fa9accd7add74554c9049d9600579af2 05-Sep-2013 John Spurlock <jspurlock@google.com> Add activity indicator icons to quick settings tiles.

Wifi + RSSI now have activity in / activity out indicators
wired up to information coming from NetworkController.

Bug: 10634208
Change-Id: I3cf29dc905eeaeb4aea8e7df4fe46e70645e0013
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
52a19235921e290b994d1d0180639a497a76aa77 13-Jun-2013 Daniel Sandler <dsandler@android.com> Remove period from "No service."

Bug: 10460869
Change-Id: I57b030518c9cfec367da21e39af7a001a565daa4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
348fc4867e1ab474492b540e27e25b5df26fecb1 08-Aug-2013 Geoffrey Borggaard <geoffreyb@google.com> Notify the users if a user installed SSL CA Cert is present.

Adds a tile to quick settings when a cert is present. Message varies
depending on if this device is managed or a consumer device.
Bug: 10105918
Change-Id: Ifbe78c10638ef6e2a4661e8d18b44b8913a2cf9d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
03ed0127dae141d99b003ede9ba3ea937128e471 31-Jul-2013 David Christie <dnchrist@google.com> Modify quicksettings to have new location behavior.

Location tile is always present, and long pressing
toggles the master location enabled switch.

Change-Id: I54d5ccaa3b04e14ebebd68f5fafa8e65311debb4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
de84f0e77ea2bf713d15c290264059a413c2486a 12-Jun-2013 John Spurlock <jspurlock@google.com> Organize the imports in systemui.

To follow android conventions, more importantly to remove the
unused.

Change-Id: I75881718e84360a579a3b02c26489ad250bc9227
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
3df2172215e2e0c5cd0c01eeb0d57191623b460e 10-Jun-2013 Amith Yamasani <yamasani@google.com> Hide "Take bugreport" for secondary users

In QuickSettings and GlobalActions.

Bug: 9304471
Change-Id: Ia3118b3258b1f6983c47e96168b7b875b6fc798b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
79578b29bf4ba1d210586b9d7bb832eddf0960b7 30-Apr-2013 Svetoslav <svetoslavganov@google.com> Remove Auto-rotate screen setting if a required feature is missing.

It is possible that a device running Android does not support rotation,
for example a Google TV box. The change adds a check to the rotation
policy to take this into account.

The SystemUI was not respecting the fact that the user has turned off
screen rotation, i.e. locked the rotation, from the accessibility
settings. In this case we should not show the affordance to toggle
screen rotation in the quick settings to minimize the risk of a blind
user accidentally turning screen rotation on. For a blind person
screen rotation adds 2X complexity since he/she should learn two
different layouts for the app.

bug:8051556

Change-Id: If1b3c092476932f91b0345fb9bfbbf6ed33d0df9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
b5538e642118209add5abd7c5da1472a0b608b07 12-Apr-2013 Daniel Sandler <dsandler@android.com> Rebuild quick settings tile layouts.

The chief motivation here is to allow two lines of text when
necessary. So much refactoring over so small a thing, but
the result is satisfying: most quick settings tiles do not
need their own layouts. Additionally, tiles with odd-shaped
icons (I'm looking at you, alien potato mode) no longer fall
off the grid.

It should be possible to further reduce the complexity of
quick settings, but for now this will suffice.

Bug: 7216734 // vertical alignment issues
Bug: 7216868 // wrap text in QS tiles
Bug: 7365911 // NPE in some tiles
Change-Id: I0c6ef275e44f745dfac52c2a7303072ae48e3873
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
0087a14d4b4bcfe57c6f6e36c70eec966088d7bb 06-Feb-2013 Michael Wright <michaelwr@google.com> Add brightness dialog to SystemUI

Change-Id: If31406c9144bb2583876f08dd54b259d1dfa3601
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
58f41ecfa57bb1299cf0f8b13f6f5f5b4b7dde91 12-Jan-2013 Christopher Tate <ctate@google.com> Migrate BUGREPORT_IN_POWER_MENU from Secure to Global settings

Bug 7273591

Change-Id: I5790f9d18ddf22282144be1c2d96dd4d706caa14
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
0f92a8083d6f6a0d5827c6688599456edb27dcd0 03-Dec-2012 Daniel Sandler <dsandler@android.com> Show alarm tile for the current user.

We were already refreshing the tile on user switch, but we
were only pulling the information (and observing changes)
for the owner.

Bug: 7596329
Change-Id: I33959af405bc79037b5b1321631d993bea65772f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
5052805cc06dc794b91eb9daa1249fed4efe6eb9 08-Nov-2012 Daniel Sandler <dsandler@android.com> Show mobile data RSSI for devices that support it.

The new test is more general, allowing mobile RSSI to be
shown on devices without voice telephony.

Bug: 7490266
Change-Id: Ib5b243c0d92e74fe4385989c3a6c16edd00a9ec9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
bac221ff0b9e1406f95f23c9a5c3b580ece10eab 04-Oct-2012 Casey Burkhardt <caseyburkhardt@google.com> Accessibility enhancements within quick settings and notification shade.

Change-Id: I377c389abe3ce2285a620e60f4c8de4727f4f5c9
Bug: 7229886
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
7711260e4959686bb1d6f177a843c2108bb04710 07-Oct-2012 John Spurlock <jspurlock@google.com> Merge "Keep quick settings brightness icon/dialog level in sync." into jb-mr1-dev
48f37ec8c98a6281dbf067d1740a3bc4953ed26f 05-Oct-2012 John Spurlock <jspurlock@google.com> Keep quick settings brightness icon/dialog level in sync.

We now listen for brightness changes and update the icon appropriately.
Note there are still only two icon states in QS (auto-on and auto-off).

We also listen for user switches, since the brightness setting is per-user.

The manual brightness level is now kept in sync with level set in Settings.

This change is tightly scoped to brightness only. Any other
QS bugs should be triaged separately.

Bug:7283805
Change-Id: Ibaf8fe94e98f65cc02efe7fcddf4f38370fdb09f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
01e2f4f522db91d1a2ece24b503ca1375c55ec2e 05-Oct-2012 John Spurlock <jspurlock@google.com> Update quick settings wireless display tile per spec.

Bug:7178216
Change-Id: If917033930b0ba5a3ca0c7c8f574b069d5ecac6d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
daab6af91d4e0f7bd13679f01a982dbe57c88bf0 03-Oct-2012 Chris Wren <cwren@android.com> change string for wifi not connected state.

Bug: 7217026
Change-Id: I8b593b85fe32f37880ee1a0b3ef869b36e80ba5b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
b2a7d27bbee0b982f7769747b9780b8262cb75f1 03-Oct-2012 Chris Wren <cwren@android.com> make bluetooth iconography consistent with other quicksettings icons.

Bug: 7217026
Change-Id: I880ee26e1d92ffa49885cf53b8dbab6b13887423
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
aca0c757e6ea1e369807701083271546d851cdfb 01-Oct-2012 Daniel Sandler <dsandler@android.com> Fix IME tile related crash

Bug: 7246375
Change-Id: I374ed201ea4870fb7397d075baed09524061030d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
5e08af03a3dffff8b8fc098790e5133589601d8f 22-Sep-2012 Christopher Tate <ctate@google.com> Respect per-user rotation lock et alia

Various per-user settings such as rotation lock are relevant to the
singleton PhoneWindowManager object. We now listen for user-switch
broadcasts and reconfigure the active state based on the newly-
active user's settings.

The RotationPolicy toolset has also been updated to do the right
thing, as has the Quick Settings UI.

Bug 7213638

Change-Id: Iee2109e48df550b4c979d3f9c91b5d2b71a6a08e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
efba3235fcd5b71e17de13edd4be9819970014a9 28-Sep-2012 Winson Chung <winsonc@google.com> Fixing various QS issues. (Bug 7217102)

- Certain tiles were not updating strings based on configuration changes
- Updating bluetooth icon
- Fixing issue where QuickContacts is not being launched per-user

Change-Id: I5936e856b5454d608f9c7ddb6b81d9b566bb03ea
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
c86b23b9a6bc4763ff3fbe8d0ae8a9b2e21a1649 24-Sep-2012 Winson Chung <winsonc@google.com> Updating time/alarm tiles, fixing issue with empty space under QuickSettings (Bug 7205141, Bug 7222371)

Change-Id: If42308a0bbc4a31ffb7f5f0b66063c3b1418ca3e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
f4b5ab193c95675c07b8e361846d21d79571da0e 25-Sep-2012 Winson Chung <winsonc@google.com> Fixing various QS issues. (Bug 7216908, Bug 7217154)

- Making distinction between wifi not connected and unavailable
- Removing periods from carrier names
- Updating airplane mode icons

Change-Id: I8a629f07375faaa34a1b5ebeb307605f12f75173
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
34563e2dc58812d65309eb2056674e10bf9b8f07 22-Sep-2012 Winson Chung <winsonc@google.com> Fixing various QuickSettings issues (Bug 7210343, Bug 7174839, Bug 7174738)

- Using startActivityFromUser() for multiuser settings intents
- Show Wifi/Bluetooth Off labels when they are off
- Removing quotes from SSID name
- Only showing the IME tile under the same conditions that the notification is showing
- Making tile labels uppercase

Change-Id: Ic4a085cda600da019eab259b22c9041d1a0b5d29
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
3ed6f9456a60cb3a2cf4166a7fa19e30b9bbd972 21-Sep-2012 Winson Chung <winsonc@google.com> Showing QuickContacts card, adding brightness bar timeout and width, fixing wifi display icon visibility. (Bug 7186309, Bug 7175023)

Change-Id: Iea717e97bf90301bef68b06e1a35644e24ab029d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
c19d4488eaf7bd54f5c01f0f7aca0003ed9f099b 19-Sep-2012 Daniel Sandler <dsandler@android.com> Bugreport in Quick Settings (if you turn it on).

Bug: 7190871
Change-Id: I8d10f18daed08aac1878cf6ba8937855d9494abd
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
89d5546d7fd3a3bb19820c42e8b4527013dd6545 19-Sep-2012 Jeff Brown <jeffbrown@google.com> Add support for remembering Wifi display devices.

Add a setting to globally disable Wifi display.

Fixed a bug where the wifi display broadcast receiver
was running on the wrong thread.

Removed the wifi-display QuickSettings dialog, all functionality
has been moved to Settings.

Bug: 7178216
Bug: 7192799
Change-Id: I9796baac8245d664cf28fa147b9ed978d81d8ab9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
5f623011db42fc7bd6fb8e57becd7a8eeb23a915 14-Sep-2012 Winson Chung <winsonc@google.com> Making QS scrollable and making numerous tweaks.

- Updating new assets (all line up)
- Updating brightness tile to reflect auto state
- Fixing network tile asset colors
- Adding press feedback

Change-Id: I857f141258eefec65243454cb69905cbd2a10bf6
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
8dd9206abbca6d143e3874abf46eca67f5340b31 15-Sep-2012 Daniel Sandler <dsandler@android.com> Fix NPE in rotation lock QS.

Bug: 7172228
Change-Id: I3ac35e18fe7ce5af13ee4c54dabae80df696c819
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
4f49d9450fe919868f9a9a9a44db59ca2497150c 14-Sep-2012 Winson Chung <winsonc@google.com> Adding data type overlay to network tile.

Change-Id: Iae3c188e2f7f03bd1ebaddc756021be312ddb0aa
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
d4726d062e277b360046609f35e1aa8572e8e364 14-Sep-2012 Winson Chung <winsonc@google.com> Adding rotation lock tile to quick settings (on tablets).

Change-Id: Ia68c07051acc1f0f42dde0b1322db034b5d54506
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
ed1395f3981193c762e436cd1db725ce70022e43 14-Sep-2012 Winson Chung <winsonc@google.com> Updating Wifi/Mobile tiles to reflect actual connection state with new assets.

Change-Id: Ic1cd78c77f94f1c9cf9bbc1bcea3082ca536d94c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
eaa5ab01a122ceb907a2bead35077331d604021b 14-Sep-2012 Winson Chung <winsonc@google.com> Updating assets, fixing Battery tile to show proper states.

Change-Id: I0df6d62f57e8034f17d6add31416b050af8a0c15
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
2a4057d2e915a0726d8775a196374e320a9f15dc 13-Sep-2012 Winson Chung <winsonc@google.com> Updating IME tile with proper subtype name.

Change-Id: Ie7fed20873f51e3b2b4def14532df00d71762418
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
43229d707515ce51c52f63e15257960c6d29162c 13-Sep-2012 Winson Chung <winsonc@google.com> Adding IME tile.

- Adding checks for telephony before showing RSSI tile

Change-Id: I1dc4fb7a07d9693d8c6a96678ac9d4ff9abafe44
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
6072b00b6291b3c8e816fa7bd837c2cbba2f055b 12-Sep-2012 Winson Chung <winsonc@google.com> Fixing crash in emulator due to missing bluetooth.

Change-Id: I0f652198cc759fac44f0de1729fcb52f515071a3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
08b1cc847524f66fd1d8c8d9065bf81bdd1fb04a 11-Sep-2012 Winson Chung <winsonc@google.com> Fixing issue with Airplane Mode. (Bug 7141144)

Change-Id: I83e2bdd5e8b0e0c732e8d46c47f8619daa0c7c02
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
e641b6a99cabad7076e10694a5b1b30f449de462 11-Sep-2012 Winson Chung <winsonc@google.com> Adding alarm to quick settings.

- Cleaning up some code

Change-Id: Iaea2077084ba16b4fb4d47c8b2df5da6983ceb91
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java