1a74942fbfa36bf62013b51d8ad9fb4c0e44c6f4 |
|
28-Apr-2017 |
Jeff Sharkey <jsharkey@android.com> |
Respond to API council feedback. Test: builds Bug: 37752002 Change-Id: I7ae1699c4c5e1a098d16465c41fb41510478b678
/frameworks/base/core/java/android/service/quicksettings/TileService.java
|
213eb4f162b55f4ae5efd52aefb7bad5cfe73663 |
|
31-Mar-2017 |
Jason Monk <jmonk@google.com> |
Add test API for if the device supports QS Test: cts-tradefed run cts-dev -m CtsSystemUiHostTestCases Change-Id: Ib2dbbab8c4d0b7bae912f29f417e7e245bfd5b71 Fixes: 36363728
/frameworks/base/core/java/android/service/quicksettings/TileService.java
|
609edbeb8684446189595f349733df8f141dd687 |
|
27-Mar-2017 |
Jason Monk <jmonk@google.com> |
Speculative fix for QS CTS test Explicitly send broadcasts to systemui, because thats where they are going. Test: cts Change-Id: I2fdc74f2cf874e818ef52f37a58adf7cd38ca455 Fixes: 35704517 (cherry picked from commit c7f71110958cbeb4343bd9220fd1526ae066e75c)
/frameworks/base/core/java/android/service/quicksettings/TileService.java
|
d43a7ab3a22fa7acdb3fd86f74c7b7c607cd62c4 |
|
02-Mar-2017 |
Jason Monk <jmonk@google.com> |
Add API to indicate which tile was long-clicked. Test: make Change-Id: I5ff5a3ed954e231b6d63e02bf64bfe771cd78b0f Fixes: 34832801
/frameworks/base/core/java/android/service/quicksettings/TileService.java
|
8d2e9a9b304f06a13f949d5eb1951f63fbba2cbb |
|
24-Jan-2017 |
Akira Oshimi <akira.x.oshimi@sonymobile.com> |
Add tile information to ACTION_QS_TILE_PREFERENCES intent One application can provide two or more custom Quick Settings tiles. But there is no way to know which tile is long-pressed from application side because ACTION_QS_TILE_PREFERENCES intent that is sent when long-pressed doesn't have any additional information. So the component name and state of the tile should be added to the intent. Bug: 34832801 Test: manual - long press a custom tile Change-Id: Iaa884cd944f19a2f007cbde645e8f8b1198bffb7
/frameworks/base/core/java/android/service/quicksettings/TileService.java
|
ee68fd889c2dfcd895b8e73fc39d7b97826dc3d8 |
|
23-Jun-2016 |
Jason Monk <jmonk@google.com> |
QS: Don't use ComponentName to identify tiles Evidently some apps redirect/obscure tiles in a way that makes creating a ComponentName from the TileService useless. Instead generate a token which will be a much more stable way of identifying tiles henceforth. Change-Id: Id68550bcdcdc3e3987f09380f258610e7a5aca85 Fixes: 29121793
/frameworks/base/core/java/android/service/quicksettings/TileService.java
|
6edbefdd54ead90fd30fc36159ef8dd779b6b274 |
|
23-Jun-2016 |
Jason Monk <jmonk@google.com> |
QS: Hacks to fix bigger problems in TileService binding Bug: 29121793 Change-Id: I9cb8d8ee36ce5cc77ba3c11decb1b3a797fd7999
/frameworks/base/core/java/android/service/quicksettings/TileService.java
|
8753e184f967d1db91de34cb66aae0a977259a60 |
|
22-Jun-2016 |
Jason Monk <jmonk@google.com> |
QS Tiles: Fix some problems with connecting through intent - Don't send Tile through intent, it can cause crashes - Clean up other issues surrounding this Change-Id: I08c626cf39b36d349592c1e0b81627b9bc7eeeb3 Fixes: 29519485
/frameworks/base/core/java/android/service/quicksettings/TileService.java
|
a3453b8bd9af44566c6a31fd0156cc76e6028f6d |
|
17-Jun-2016 |
Jason Monk <jmonk@google.com> |
QS API: Fix mService and mTile being null once and for all Change-Id: Idd82e4c2f6cfc2b30432e15e23963c1d7a959e43 Fixes: 29121793
/frameworks/base/core/java/android/service/quicksettings/TileService.java
|
97d2272be0bf3e77474e7ff9984217dfe247f4d0 |
|
07-Apr-2016 |
Jason Monk <jmonk@google.com> |
Allow mode of TileService to be changed Since the mode of a tile service was set in onTileAdded, it couldn't be controlled by developers if they updated their tile. To handle the mode has been moved to a boolean meta-data flag to indicate a tile should be an active tile. Bug: 28043969 Change-Id: I6403d34f8cb70809edc07769389d5a1f835c1ab3
/frameworks/base/core/java/android/service/quicksettings/TileService.java
|
724214a87828ad0fe8a44db796a1f4e74eeae521 |
|
19-Feb-2016 |
Jason Monk <jmonk@google.com> |
Add TileService settings API It will be used for long-clicks on TileServices when available. Otherwise will default back to app info for the app providing the tile. Bug: 27269699 Change-Id: Iaf1ee1e6fe6e1357cda32c74bfdc0c26af0f5901
/frameworks/base/core/java/android/service/quicksettings/TileService.java
|
34a5cef6298cc44fc0614c4747c4b17137cff441 |
|
29-Jan-2016 |
Jason Monk <jmonk@google.com> |
Let SysUI watch TileService's dialog lifecycle That way it can better handle tokens and service binding. Change-Id: I9b882181ecbe52a65e731a2c45f1d296315884b4
/frameworks/base/core/java/android/service/quicksettings/TileService.java
|
9429513cc3ea6e58e330865bd621b57cb3477551 |
|
12-Jan-2016 |
Jason Monk <jmonk@google.com> |
Round out the QS API - Add startActivityAndCollapse, to make collapsing the shade easy - Add isSecure() - Add isLocked() - Add unlockandRun(Runnable) - Add unavailable, active, and inactive states The states are added to allow consistent UI across OEM devices, by allowing UI tweaking and tinting to match system tiles with custom ones. The combination of isSecure() and isLocked() and unlockAndRun(Runnable) allows all combinations of launching show when lockend and triggering an unlock when needed for sensitive tiles. Change-Id: Iade98ad9f2c22aa174e62090d8ccd44c86f3bb3c
/frameworks/base/core/java/android/service/quicksettings/TileService.java
|
66c89c15a0baabf001e69498dbc09903f72cc63d |
|
06-Jan-2016 |
Jason Monk <jmonk@google.com> |
Add API for System QS tiles to set status icons Allow system apps that have a Quick Settings tile to show a status bar icon. If the quick settings tile is removed, the status bar icon will no longer be shown. Change-Id: I875b962bbdf4ff863012de688a3dd29a8d7e11ab
/frameworks/base/core/java/android/service/quicksettings/TileService.java
|
51c444be145815e5f3d8321126f22df5792377eb |
|
06-Jan-2016 |
Jason Monk <jmonk@google.com> |
QS Customize panel cleanup - Use better service management to ensure onTileAdded and onTileRemoved are sent. - Fix not always registered as tunable bug. Bug: 26423350 Change-Id: I56156de8e0edf903509dac594b471700068ebe3e
/frameworks/base/core/java/android/service/quicksettings/TileService.java
|
fe8f6826ce3c2beeb1fce54c67978ce69f849407 |
|
21-Dec-2015 |
Jason Monk <jmonk@google.com> |
More QS Tile modes in the API Allow tiles to request when they are bound instead of doing it automatically for them when in the listening state. Only one of these modes is allowed for a given tile, meaning it can either push updates when it thinks they matter, or it can be told when to update. Change-Id: I165b39dddb836df90d253aeb5ebea48e62ea0dae
/frameworks/base/core/java/android/service/quicksettings/TileService.java
|
d5a204f16e7c71ffdbc6c8307a4134dcc1efd60d |
|
21-Dec-2015 |
Jason Monk <jmonk@google.com> |
Better service management for QS 3rd party tiles Better wrapper around the service that will handle rebinding when it dies, binding when it becomes available, and forwarding along all messages to the service once it binds. Also better handling of too many services at a time. Will only ever bind to at most 3 tiles and will manage which ones are most important to show based on pending clicks, last update, etc. Change-Id: I5f4da0bc751f7eb25baa32e5c0bb9f1bc418f5bb
/frameworks/base/core/java/android/service/quicksettings/TileService.java
|
161ccb5dfe2fb4dc8b1a41a6465fd0c6b839a294 |
|
17-Dec-2015 |
Jason Monk <jmonk@google.com> |
Small fixes in TileService Change-Id: I4d10c43d8e40697d144802067fcd4f95d866e4e0
/frameworks/base/core/java/android/service/quicksettings/TileService.java
|
8f7f3184d55850b1c4d2036319794151f564e9c0 |
|
18-Nov-2015 |
Jason Monk <jmonk@google.com> |
Allow QS tiles to open dialogs Add a TYPE_QS_DIALOG window type, that is in the same layer as apps and dialogs and such. It is guarded by having a token that is granted by SysUI after a click has occured. If the app shows a dialog before listening finishes (QS closes) then the token will stay granted until the tile is removed by the user, otherwise the token will be removed immediately to avoid later dialogs. Also fix a couple tiny TileService issues: - Stop/Start listening reversed - Fix javadoc referencing wrong action Change-Id: Iedcdd5fd9a2af2b33eb7f6f17bb0e6c997879876
/frameworks/base/core/java/android/service/quicksettings/TileService.java
|
bbadff8603ca6922a0ef89338bee5b59d6dcf641 |
|
06-Nov-2015 |
Jason Monk <jmonk@google.com> |
Add Quick Settings API It is a little bit limited right now, but it contains the lifecycle of a tile getting added/removed, and listening/not listening and clicks. SysUI side will need some cleanup later on. Change-Id: I4db803c8a271f8bf44f2ef710517969a84a95cf0
/frameworks/base/core/java/android/service/quicksettings/TileService.java
|