History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3468e5a0165225cd30e49e0f1fc4a0def8b5f3ee 18-Apr-2018 Amin Shaikh <ashaikh@google.com> Rely on tile state for on/off a11y announcement.

Do not include on/off in QS tile content descriptions.

Change-Id: I10ddeb6c56f99fe4dad3eaaa98a56cafba68be9f
Fixes: 78171152
Test: manual
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
c4e5ecf703e4648eef9e5cb3065f85d744d8dcb5 11-Apr-2018 Julia Reynolds <juliacr@google.com> Show onboarding screen from dnd tile

Increase the DND version and reset the setting so those who
are upgrading P->P see the new flow.

Test: manual
Change-Id: I9286f022d1fa6520305ff03dbce54c4eec0e371a
Fixes: 77658931
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
ebcaeeb792688f1a35075d450e78212b46d03544 06-Apr-2018 Beverly <beverlyt@google.com> Update dnd settings summary

- Add null check for ZenModeConfig
- Add ability to include description for indefinite dnd

Test: manual, DndConditionTest, ZenModeSettingsTest
Bug: 76208187
Bug: 77704156
Change-Id: I88de555d2681e613dbcd7694087efef2504b4d51
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
8c4a19c8c6b57d4c6dbbc652d887881e21bf4ec8 20-Mar-2018 Amin Shaikh <ashaikh@google.com> Fix QSTileImpl NPE on startup.

Do not call protected methods before the object is fully instantiated.
Remove paranoid null check for private final nonnull fields for
sublasses of QSTileImpl.

Fixes: 75995708
Test: runtest systemui
Change-Id: I0a11131d796e08d598d696babdf3d7db30e02149
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
92ed74f9aa91780e48d2cca56937acffa42f0d2b 15-Mar-2018 Beverly <beverlyt@google.com> DndTile includes secondary label in content descr.

On talkback, user will be able to hear the secondary label
for DND now.

Test: manual
Change-Id: Iaef1e568d8b5f466f0b2352cf648fb43ef1bc64a
Fixes: 74946051
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
09da25f00d0d8cd6625b6ba6f184d4a182b04e7f 26-Feb-2018 Beverly <beverlyt@google.com> Using zen duration preference

Test: make ROBOTEST_FILTER=ZenDurationDialogTest RunSettingsLibRoboTests -j40
Bug: 73741459
Change-Id: Ide76ac8016b84f128c47ad3731eeced25dce8c73
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
ddac42b0b8f36d8b9ea1eed9e4840b1a672df8f2 16-Feb-2018 Bruno Martins <bgcngm@gmail.com> Merge "DndTile: Avoid NPE during boot phase" am: e134d23a7a am: fe607c0e2b
am: 60281b4f07

Change-Id: I24749f6c1b61058b1053b280afae751ed0a23877
f74ff847347d2eb3e7b2f3147b7616d1321cac4c 02-Feb-2018 Bruno Martins <bgcngm@gmail.com> DndTile: Avoid NPE during boot phase

* Listening handling can only take place once mController
is properly initialized.

Change-Id: Icbef2d506417f132e1ab47e23d457dacb9c00146
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
a5effb454297f1ec2e07457f65625465017528f4 01-Feb-2018 Beverly <beverlyt@google.com> Move zen description to ZenModeConfig

Test: manual
Bug: 72570739
Change-Id: I0b38e9fb9568de0207238f24453c2b216381537a
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
a93d126f0ded329b7ae325769674127d444259f5 25-Jan-2018 Beverly <beverlyt@google.com> QS dnd icon is always the same dnd icon

No more total silence dnd icon even if app puts phone
into total silence mode it'll show the same dnd icon

Test: manual
Bug: 72494029
Change-Id: I5807345b74ac166858ec0ad8931e6996d39ee543
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
312ad02a75aea55a38a273c385da46757d38a384 24-Jan-2018 Beverly <beverlyt@google.com> QS dnd tile triggerd dialog to turn on dnd

Bug: 63077372
Test: manual
Change-Id: I45c51d8294d66071d1881422c9bb2057e912b7e9
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
9758cff8b204265f9938ea7fae018b46d52bfe50 24-Jan-2018 Beverly <beverlyt@google.com> QS DND tile secondary text added

Bug: 63077372
Test: manual (set automatic rules, toggle dnd manually in settings)
Change-Id: Ibe598423e4c1d668bc7c828ff66c9b572cc21192
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
7999ba90c6bb692f68b8b733114a4e786bc6623f 24-Jan-2018 Beverly <beverlyt@google.com> DND qs tile primary text is always Do not disturb

In P, do not disturb in quick settings always uses priority-only
do not disturb, so there is no reason to distinguish between
priority-only/alarms only/total silence modes. Users can still change
the behavior of priority-dnd in settings, but this will not chang the
primary text of the quick settings tile for dnd.

Change-Id: I5b6e911cb2542a7a1d0696871607eb8abc95cd43
Fixes: 72418705
Test: manual (toggle on/off dnd qs tile)
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
3e906c50d1486aeca6e9cc26598daa5051fa15e3 22-Jan-2018 Beverly <beverlyt@google.com> Clicking QS DND tile triggers priority-only dnd

Test: manual (tap QS dnd and see priority only triggered)
Bug: 63077372
Change-Id: I78df9a5ccd76af7a156ae71b6bb9b40c546e2e81
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
1c6116cbbb0c8000b576443e4b13026b1d8529d9 06-Sep-2017 Jason Monk <jmonk@google.com> Update QS if the content gets stale

For system tiles this is more often, but for 3P tiles its pretty rare
except for on boot.

Test: runtest systemui
Fixes: 34804413

Change-Id: I166e2ab6a609acd63b9b4f19579bab12beabba27
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
3c3b650a4a6f763317ac52b7152e8504a09901d5 27-Jul-2017 Jason Monk <jmonk@google.com> QS Tweaks

Test: manual
Change-Id: I4293bb48690386db9a4fd741c2e86e16a1547821
Fixes: 63905317
Fixes: 63093290
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
54d49157fd4159051e333db30081b3556213bdd9 07-Jun-2017 Jason Monk <jmonk@google.com> Merge "Make DND tile primary toggle remember favorite zen" into oc-dev
am: 463985178c

Change-Id: I4f1d959c130a008aad49c4aab0aa225bfb035ab3
62fe3205ba41fe35cccc226b2e76572e7b51a7c8 07-Jun-2017 Jason Monk <jmonk@google.com> Make DND tile primary toggle remember favorite zen

Test: manual
Change-Id: I2b589dbabf4bd7704d4df968ecbd986604e3b757
Fixes: 37794901
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
bcdd0465c07114784122a1feb20239ae63a7db90 15-May-2017 Evan Laird <evanlaird@google.com> Use rounded icons in QS

Updates for QS icon resources:
- Airplane mode
- Alarm
- Bluetooth
- Flashlight
- Cast
- Data saver
- Do not disturb
- Edit (pencil icon)
- Nightlight
- Invert colors
- Location
- Settings cog
- Wifi
- Hotspot

* also renamed resources to have canonical names (e.g.,
ic_qs_bluetooth.xml instead of ic_qs_bluetooth_enable/disable), because
we are drawing slashes at runtime.

Some resources need animations:
- Rotation
- expand/collapse caret
- Hotspot transient

Test: visual
Change-Id: I342de13757aa378400ceb585d27776e72dc4fa4a
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
395617fd35ef0e712945359a760a00eb1aaf7475 05-May-2017 Jason Monk <jmonk@google.com> Start drawing QS slashes rather than using AVDS

These need a bit more work like length control and animations, etc.
but this is a decent start.

Test: visual
Change-Id: I750d777b2b4a19f8c586066712f5a3f7e79befd6
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
be3235abcddbcab63e60184de416c6243697abb7 05-Apr-2017 Jason Monk <jmonk@google.com> Updates for QS DND tile

- Make detail panels not close when turned off
- Add auto-rule state for DND tile

Test: manual
Change-Id: I533cf0a27c54e84cd74ede72dcf10e2e5f9a070f
Fixes: 34765805
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
8c09ac7435c62a8ba2e34d57a7ac3be2ddf23adc 16-Mar-2017 Jason Monk <jmonk@google.com> Clean up and cover more QS metrics

Change-Id: I4ab5e54398024c8b16ca8223f0639aadcdef4377
Fixes: 34801532
Test: runtest systemui
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
28df4ed8fbc674b4ae2150c5f737c45894d0dd49 23-Mar-2017 Jason Monk <jmonk@google.com> QS: Clean up dual target accessibility

Remove "Open..." strings from toggles, since they don't open, and
add those strings to the labels. Also switch label accessibility types
to buttons.

Change-Id: Ic8382aaaecf74182970b5f8fdd914079f0109f0f
Fixes: 36538210
Test: Accessibility - select dual target QS tile
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
e5b770e47d44a40d412c7d42010b2cf67920d9e3 04-Mar-2017 Jason Monk <jmonk@google.com> Updated QS UI

- Adds footer to QS which contains the date/alarm info
and all touch targets (settings, edit, etc.)
- Swaps out emergency + carrier text on cell tile for a
standard CarrierText from lock screen in the header
to make the header only contain status info.
- Add dividing line
- Work on animations

Test: runtest systemui
Change-Id: I97dfea1b1ea7006b53eb61ac3a1f942c64dd282d
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
702e2ebf9fbfb715c1d9b716683c9e4d182b575e 03-Mar-2017 Jason Monk <jmonk@google.com> Add plugin API for individual QS tiles

This will allow prototyping of individual QS tiles and/or their
visual representation without having to write a plugin for the
entire panel. This will allow quick iteration on QS UI + dual
target tiles.

Test: Install plugin using new API
Change-Id: I05ca9d9f5a200a1dad2c3582251a36edb5cb9aba
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
ec34da8f6f31c5ee1e543c0c7999a067487e0ce9 24-Feb-2017 Jason Monk <jmonk@google.com> Add method for plugins to reference global dependencies

The new annotation versioning system allows plugins to share common
global interfaces that can be versioned on their own. To facilitate
this add a static method for plugins to get a hold of dependencies.
To get any dependency a plugin must @Requires it so it can be version
checked.

Test: Plugin that uses the new call.
Change-Id: I8e01260f8fbc14465502d506a7aa08212795ad9b
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
2db461915397e397ddcd9751787c7314d25fb84c 01-Feb-2017 Jason Monk <jmonk@google.com> QS: Remove circles and add lines

- Remove circles from icons.
- Add lines to indicate tiles with dual tap targets.
- Change default order

Test: visual
Change-Id: I1eb02641757a76ddf3e3876182f7b2503161bc9e
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
9c7844cb91b43929d0a86b1c90aa1efb37f5463a 18-Jan-2017 Jason Monk <jmonk@google.com> Work on sysui dependencies

One of the many problems with PhoneStatusBar is that it holds
dependencies for many other parts of SysUI. Fix this by creating
a static method of grabbing dependencies that are global to sysui
this cleans up a lot of chains of interdependence.

Also add easy way to inject mocks of these dependencies for the
purpose of testing.

Test: runtest systemui
Change-Id: Ia0e947faea62d15b665facada47ac9916c99f895
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
3250885c9feb9b42d60058a823c57a027c0dcf58 18-Jan-2017 Jason Monk <jmonk@google.com> Visual refresh for QS

Adds circles and things

Test: visual
Change-Id: I7d974fcfe6257357abfd1a7d0ee521f0e6cee588
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
0ceef211875515c2a7531f9baeae46339e700f3a 02-Nov-2016 Jason Monk <jmonk@google.com> Move QS to a fragment

There is now a bit too much of the view/layout logic touching the
fragment, but sort out that later and get something over to fragments
for now.

Bug: 32609190
Test: Manual
Change-Id: Icf677f4a70e6b92892a0fc27a0e673940ebc7a73
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
383db5ebcc3a4a615faf249bf4f126f42e80b82e 22-Jun-2016 Tamas Berghammer <tberghammer@google.com> Update package names to work with the proto3 compiler

Bug: b/28974522
Change-Id: I5f3adf4946ee4ba1e09e4f40afe83c151405972a
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
7a0112aa895e1a9f393394221f5eb92c3c474669 14-Oct-2016 Yuta Yamada <yuta.x.yamada@sonymobile.com> Merge "Fix memory leak of Dnd tile" am: 6057a8360a am: 465397e28e am: be3b53beca
am: dd1bd9875f

Change-Id: Ifa54d483f383183ca4fd0864e514d399022db632
dd1bd9875f7b9834bceb133f2a820dadd139f720 14-Oct-2016 Yuta Yamada <yuta.x.yamada@sonymobile.com> Merge "Fix memory leak of Dnd tile" am: 6057a8360a am: 465397e28e
am: be3b53beca

Change-Id: I12dae89a0b577379e7a868182b535f5dcda09d36
99fd277a4737e4369246fc3d210c14c83d1fbce7 06-Oct-2016 Yuta Yamada <yuta.x.yamada@sonymobile.com> Fix memory leak of Dnd tile

The instance of Dnd tile leaks when user taps the edit button
of Quick Settings. To fix this issue, QSTile#destroy should be
called when the tile is no longer needed.

Bug: 32103239
Test: manual - go to Quick Settings -> Edit repeatedly

Change-Id: I9bc9ee836be5c8e46eb1ccd202bd5cc50070ef47
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
46767b77c004a3541c614f8e21d6a871dd148e54 18-Aug-2016 Jason Monk <jmonk@google.com> Extract plugin interface for QS

Users must implement the QSContainer interface to be returned by
a ViewProvider plugin. The QSContainer must contain a
BaseStatusBarHeader and have the id of quick_settings_container.

Test: Manual
Change-Id: Ibfaa835cad20855a530e4ae142d8a2aeba4a277b
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
48e093e6dfceab58ea53f1f996d55e9a1dc51358 15-Jul-2016 Jason Monk <jmonk@google.com> QS Detail: Don't animate switch before panel open

This will make it more obvious that wifi gets turned on by opening
the panel as the animation of the state change will be visible.

Change-Id: I6ceb0bef914a9ff368b1bdb750d19aeb43593e78
Fixes: 29057528
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
20aef8a2914478a85aa679ec31bf739c7818eb3c 04-May-2016 Julia Reynolds <juliacr@google.com> Quicksettings accessibility.

Bug: 15696340
Change-Id: I6887e2dad4822911d3a1642aaec5703174b57330
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
39c98e652fd3e0e3ea3a334d60ba6ee979985978 16-Mar-2016 Jason Monk <jmonk@google.com> QS edit drag and drop accessibility

Bug: 27667843
Change-Id: Ief0980af25d855942b0565e5a9bfcc0d266bdbe0
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
1aec93f1819369bda9e6cb0bd282419808c304c3 01-Mar-2016 Jason Monk <jmonk@google.com> Fix QS icon animations once and for all

Bug: 27250295
Change-Id: I6449b9cea19acf120dfc02d146fe608da46fe790
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
76c67aa361f65dfb2f5e03d06cc1ccebce9cecd9 19-Feb-2016 Jason Monk <jmonk@google.com> Add QS long-press -> Settings

Bug: 27269699
Change-Id: I861cb65dbb6609d9c95d5341f5f5aebc3cc519f3
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
a8fbbb30eae03b9ed7a3e6ea78da13480a53b73d 11-Feb-2016 Sudheer Shanka <sudheersai@google.com> Part1 - Don't add padlock if the restriction is not set by admin.

Bug: 26687435
Change-Id: I2fd740b1fa0d76eceedc4dde73e41d779820bbcf
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
c3f42c102422f70f5bbe67105e16515ce9c306a3 05-Feb-2016 Jason Monk <jmonk@google.com> Add support for auto-adding tiles

hotspot, color inversion, data saver, and work profiles should add
themselves when they first become applicable.

Also refactor the availability flow a little bit.

Change-Id: Iaed89059540a98fefd4d26ce69edc0dde987b992
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
62b63a02d7ca630e3ad39991ea6550cab57e5d22 02-Feb-2016 Jason Monk <jmonk@google.com> Rewrite QS customizer

Instead of custom draginess, use RecyclerView with a GridLayoutManager.

Still needs a bit of work, but the overall feel is significantly better
than before.

Change-Id: I3b3927472f69721e265ef7591de2f3052862f392
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
c0d7058b14c24cd07912f5629c26b39b7b4673d5 29-Jan-2016 Winson <winsonc@google.com> Referencing static interpolators.

Change-Id: I5d2292016e869ed533f5873e373a1eccce651fc5
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
f6e9228b8a97603d3ceb8f0d61e8d87cf19bd21f 27-Jan-2016 Chris Wren <cwren@android.com> move framework metrics over to new proto

Change-Id: Ie46e946dc787350c15c10aa4385a6b7df7e181a8
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
1c7cda8bbfb848961536a4adbf2c81c5ffddae16 31-Dec-2015 Sudheer Shanka <sudheersai@google.com> Add restricted padlocks to tiles in quick settings.

Change-Id: Ib11a38f8512b811e5713a33055a04a72f1b825f1
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
c06fbb12984a3d3e4c80ab9f819841acae5b0133 08-Jan-2016 Jason Monk <jmonk@google.com> Move battery saver notification to QS

Remove the battery saver notification and instead create a detail
panel within QS that allows it to be turned on and off.

Change-Id: I54654d26183586fa171fda04877a840701f8ef33
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
66239fbdfce1586555b339854b8a21f8187e805f 21-Dec-2015 Jason Monk <jmonk@google.com> Remove UserBoolean

Animate when the view is visible because its much simpler

Change-Id: I18598faae643124ad014f77a2e8a9229ccb726ce
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
ba2318eff373a729f9768b146350a001dd22e4c5 08-Dec-2015 Jason Monk <jmonk@google.com> Remove visibility from tiles, make them always visible

Some tiles are statically not available on boot, etc.
based on hardware availability or settings, but most
are just always visible.

Change-Id: Ib1a45ef5b029fe710f9957cb997496dcb14f5875
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
23a8ed802df2d29d93ac8a37112fc6b335bac7a3 13-Jul-2015 Jason Monk <jmonk@google.com> Show volume restriction toast on all users

Bug: 21642285
Change-Id: I18ed4036543e1f13cd3010b9e1d790b16aa8e7a0
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
f0a60dd2060148e5f7fc915d5ad9c313c0626a79 30-Jun-2015 Jason Monk <jmonk@google.com> Don't allow do not disturb when volume restricted

Bug: 21642285
Change-Id: I8e31f809506b48855eb90c67727c026deb120af5
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
ee43cdfa43b09a79e66d81f6673a79bc26427343 19-Jun-2015 Jason Monk <jmonk@google.com> Fix intent tile to unlock on launching activities

Change-Id: Ibde6a21d5a36d4697101e2201d1d77e26d684753
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
036e7cbbfab764ea054e55c8d0746389cf6e2fdf 15-Jun-2015 John Spurlock <jspurlock@google.com> QS: Add disable animations for the DND tile.

Elide the disabled -> enabled anim, since we launch
the detail panel instead.

Bug: 21118976
Change-Id: I392f848641190f114b7838515acb13f22c96e37d
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
b1688f6af6c8f4d0e068958904a6430ee2f7d4f2 12-May-2015 John Spurlock <jspurlock@google.com> DNDTile: Notify of value changes.

Bug: 21055789
Change-Id: If9008b13a6a5583832fc4dfaa8ec3e21b61cb25c
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
4ec8b6029568021131b38d31df4c5be9ed7e20fa 11-May-2015 John Spurlock <jspurlock@google.com> Zen: Distinct icon for DND = total silence.

Bug: 21032320
Change-Id: I0c7b8564c38b420081ee60ee244058b8039febf7
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
20c8905869c9e1cef075c87ea473917994247b06 11-May-2015 John Spurlock <jspurlock@google.com> QS: Defer tile view updates when opening the detail panel.

Bug: 20916542
Change-Id: I8e367fb2f8274eafb8d142fbfb54bc9be66b7546
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
9e7283f6a31bc2beb75c84c6173968a46582c563 08-May-2015 Chris Wren <cwren@android.com> log more settings actions

airplane: quick and slow settings
bluetooth: quick and slow settings
cellular data: quick and slow settings
dnd: quick and slow settings
wifi: quick settings (slow already done)
cast: quick settings
user: quick settings

include state of the toggle in the action log

Back away slowly from the over-generalization of logging
around handleClick, the semantics of mState are particular
to the individual tiles.

Bug: 20264417
Change-Id: I4cecbd3361af64d08de9fb41b8dca210a8086a80
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
457a21cdeac04565a0c40ad8c43a928c1182ddd1 06-May-2015 Chris Wren <cwren@android.com> add logging to quick settings tiles

QS Grid visibility
Tiles that are visibile in the grid
Taps on tiles
Detail visibility for DND, Users, and Data

Bug: 20264417
Change-Id: I95e65484a9be0a53a071bc12ce8195120582621e
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
d9c75dba75ad4742dbaadc34db99d2b76cebca91 28-Apr-2015 John Spurlock <jspurlock@google.com> Volume: Simple dialog footer, DND in quick settings.

- Show DND tile by default, this is now the only
place to manage DND modes / end conditions.
- Remove super footer from volume dialog, replace with
a simplified version that displays the current mode
and allows ending DND.
- Remove obsolete text-only footer from codebase.
- Migrate remaining volume items into main resource files.
- Rename "No interruptions" to "Total silence".
- Add new user information banner for "Total silence"
- Crude media filtering for Total Silence.
(deeper muting changes will be done as a followup)
- Disable volume dialog sliders completely if muted due
to zen.
- Cleanup ZenModePanel: assume embedded mode, remove
expandable subhead
- Remember "favorite" DND mode inside the DND config panel.
- AudioService: consult ringer-mode-delegate before voluming
down into silent.
- Add new hour options to time-based exit conditions.
- Volume dialog visual updates to move closer to final visuals.
- Unify ringer=silent with DND.

Bug: 19260237
Change-Id: I05d7e001eca3b5125418ec3bc4087d0cb8866717
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
82862573bcf246128782b91ea627285c43133a8d 01-Apr-2015 Andrew Flynn <flynn@google.com> Consolidate SystemUI SharedPreferences.

Makes it easier to use from any place and gets us type-safety.

Change-Id: I472e340e8332d9a173335b6f337525d58d801881
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
b2278d65714c0dd0a6f94d1913db1ebc8bfc8b06 07-Apr-2015 John Spurlock <jspurlock@google.com> An update on Downtime.

The update is that Downtime is obsolete. Replaced by the
ability to define multiple named schedule calendars.

- Make changes to ZenModeConfig to properly model manual
and automatic rules.
- Refactor the zen mode helper (and supporting classes) to
properly handle / report multiple claims on zen mode.
The "manual" rule (specified by the user in the UI) vs
one or more automatic rules.
- Automatic rules are still backed by condition providers,
but the layering is now cleaner. ConditionProviders is now
completely generic, has no ties to zen mode.
- Specifically, the new layering for zen mode (below noman) is:
ZenModeHelper: Source of truth for zen state
ZenModeFiltering: Subhelper dedicated to filtering rules.
ZenModeConditions: Subhelper dedicated to managing automatic rules.
ConditionProviders: Underlying engine for reporting named boolean state.
- Migration story for users with existing downtime config, migrated
to a single new calendar named downtime.
- For users with no existing downtime, two default calendars are created
for weeknights + weekends (icu4j for all locales will be done in a followup).
- Remove obsolete DowntimeConditionProvider/NextAlarmConditionProvider and tracking.
- Clean up obsolete resources.
- Add common zen summary description string computation.
- Add proper noman wrappers for the new model.
- Change the semantics of the global zen setting. It is now read-only. Setters
must call noman, added a "reason" to all calls for better attribution.
- Update zenmodepanel + volumedialog to the new model.
- Display the one or more automatic rules in the new zen footer summary.
- "Snooze" the automatic rules when the user explicitly turns zen off.

Bug: 20064962
Change-Id: Idd9deb865a6035ad0cfae660198dccb517e6d7cc
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
cd863ad094f38ab6b2339bb7961a34ae11414412 07-Apr-2015 John Spurlock <jspurlock@google.com> ZenTile: Don't broadcast intents in-process.

Bug: 20091931
Change-Id: Id35691a56c9fd279a9fb271525e193cefdc44c7f
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
4f1163c83e79da52b2be7ff6b10163441895bc26 02-Apr-2015 John Spurlock <jspurlock@google.com> Zen: Add a new level: alarms-only.

Like no-interruptions, but allows alarms.

Bug: 19260237
Change-Id: I36bf0a333362256c8e54cd83992cb46c3bcb7f69
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
f88d8082a86bee00c604cbbcfb5261f5573936fe 25-Mar-2015 John Spurlock <jspurlock@google.com> Introduce new volume dialog.

- New VolumeDialog (presentation) + VolumeDialogController (state)
to implement a volume dialog that keeps track of multiple audio
streams, including all remote streams.
- The dialog starts out with a single stream, with more detail available
behind an expand chevron.
- Existing zen options reorganized under a master switch bar
named "Block interruptions", with "None" renamed to "No interruptions"
and "Priority" renamed to "Priority only".
- Combined "Block interruptions" icon replaces the now-obsolete star/no-smoking
icons in the status bar.
- New icons for all sliders.
- All sliders present a continuous facade, mapped to discrete integer units
under the hood.
- All interesting volume events and state changes piped through one central
helper for future routing.
- VolumePanel is obsolete, still accessible via a sysprop if needed.
Complete removal / garbage collection deferred until all needed
functionality is ported over.

Bug: 19260237
Change-Id: I6689de3e4d14ae666d3e8da302cc9da2d4d77b9b
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
3c4076a2465a89cf21ffd2e94cabd15be1d31689 24-Feb-2015 John Spurlock <jspurlock@google.com> DND: Add a hidden DND tile to quick settings.

Invisible by default, not activatable when the platform
volume controller is active.

However, when the platform volume controller is not active,
it can be enabled via a broadcast intent.

When enabled, the status bar icon also changes to a single
dnd icon.

Very little more than embedding the existing zen mode panel
into the detail pane of a new QS tile.

Change-Id: I1e0ff6fbb99b00f67b53bceda8cbf121f3ef6b52
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java