History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/AutoTileManager.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
738bc0c8f18ee58722f38d3a83bba40841d1cfce 27-Feb-2018 Rohan Shah <shahrk@google.com> Remove leftover alarm code (Due diligence)

ag/3659178 was merged without removing extra alarm tile code. Cleaned up
the unnecessary bits in this CL.

Test: Visually and ran AutoTileManagerTest as confirmation
Bug: 73764084
Change-Id: I55fa39775ba9f4092034bd1273dfa1c2848c3953
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/AutoTileManager.java
4bd8e05c1dbae46d94b731241252ddccff6d977c 29-Jan-2018 Amin Shaikh <ashaikh@google.com> Add alarm tile to QS.

- Add an alarm tile to QS
- Add the tile to QS the first time the user creates an alarm
- Tapping on the tile navigates to alarm settings
- Added unit tests for alarm tile
- Updated AutoAddTracker to remove deprecated shared preferences values
so the keys can be removed in a later release

Bug: 70799533
Test: manual testing the alarm QS tile behavior
Change-Id: I2b10468c41b4720b66c9e7bb32e22eb958c199f7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/AutoTileManager.java
e4071127a62922cb662b7094572c6615d013edda 23-Jan-2018 Rohan Shah <shahrk@google.com> [QS] Add secondary label to Hotspot tile

Added info to callback and leveraged WifiManager API to get the number
of connected devices. There's some minor state cleanup done and the
fire callback mechanism was slightly updated.

The secondary label is updated based on the connected devices & enabled
state.

Screenshot: https://screenshot.googleplex.com/jHMKmg2nO08

Test: manual
Bug:68058038
Change-Id: Iafcebd3476d2c13e25939b45e78f32a5bd24cb68
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/AutoTileManager.java
5397f0353ab95be8b7dd6905a4a9749804a8c90b 02-Nov-2017 Christine Franks <christyfranks@google.com> Rename NightDisplayController and -Service

Bug: 68258004
Test: make -j100 && runtest -x
frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/AutoTileManagerTest.java
&& runtest -c com.android.server.ColorDisplayServiceTest
frameworks-services
Change-Id: I2b89942bd412e4d6958e65b62bc345fb1e60176f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/AutoTileManager.java
cb5296a6f0b54ed5da9e69374ef7ec6b553170f9 30-Jun-2017 Jason Monk <jmonk@google.com> QS: Move auto-add state to settings provider

And back it up.

Test: runtest systemui
Change-Id: I880909ce63ab32a5c11f31f449c1aa10221085d3
Fixes: 62667758
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/AutoTileManager.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/statusbar/phone/AutoTileManager.java
69c2d1d7525755edea4a81a6c2d9bca966799a49 23-Jan-2017 Christine Franks <christyfranks@google.com> Add QS tile for Night Display when first used

Bug: 30994985
Test: runtest systemui, and manual - verify that the quick settings
panel does not have a Night Display quick settings tile, then turn
Night Display on and verify that the tile has appeared. Multiuser
does NOT work and is tracked separately.

Change-Id: I997b4ca7952016fc703a6bb777e500f4eccce189
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/AutoTileManager.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/statusbar/phone/AutoTileManager.java
8852905b0b3837e326127c6dfef6f699124ce715 04-Nov-2016 Jason Monk <jmonk@google.com> Unit testing for fragments.

Set up a base class for testing fragments that will generate the host
and run the fragment through some lifecycle checks to make sure it
does ok with standard lifecycle.

Fragment tests will also automatically check for any sort of leaks
related to bindings, receivers, or other callbacks in sysui. This
requires changing the statusbar.policy classes with callbacks to
have a common interface.

Lastly also fixes a few lifecycle bugs in QS found from the above
tests.

Bug: 32609190
Test: runtest systemui
Change-Id: I52007c696c2fd41914bba4ba9d8055f2b564a7d8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/AutoTileManager.java
e81fa8578284e0eb04009ceade6d0d9d3ef3e7cc 21-Jun-2016 Justin Klaassen <justinklaassen@google.com> Remove "Night mode" from tuner

Bug: 28887927
Change-Id: Ic1c217152e56db63a87a1f1e772696d97b4b58b3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/AutoTileManager.java
f31e6d704efc41c87526d0da2ac12a59d5e2f6b9 13-Jun-2016 Jason Monk <jmonk@google.com> Make sure we don't accidentally allow the night mode tile

Bug: 28887927
Change-Id: I7cf9ae3f0c853d70172b2af3e75cd8d0106afde1
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/AutoTileManager.java
cb654cb1722d72062461eaa604d077e0368ddb23 25-Feb-2016 Jason Monk <jmonk@google.com> Fix drag to add tiles showing too many times

It was appearing from the night tile being unavailable and causing
extra nulls in the list. Fix the night mode tile so the nulls don't
happen. Also fix the null handling to avoid this happening with other
bad specs.

Bug: 27061683
Change-Id: I48f769c06ed17c2ff1f166434857ec1faff14d02
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/AutoTileManager.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/statusbar/phone/AutoTileManager.java