OSDN Git Service

More QS Tile modes in the API
authorJason Monk <jmonk@google.com>
Mon, 21 Dec 2015 20:12:01 +0000 (15:12 -0500)
committerJason Monk <jmonk@google.com>
Tue, 5 Jan 2016 16:08:05 +0000 (11:08 -0500)
commitfe8f6826ce3c2beeb1fce54c67978ce69f849407
treeb0fe14131cfe1e0ee2ff7d267d05d1f664fa60a1
parent514b2cf0f8ddd11a4176412cb3584ab96fbb763a
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
14 files changed:
api/current.txt
api/system-current.txt
api/test-current.txt
core/java/android/service/quicksettings/IQSService.aidl
core/java/android/service/quicksettings/IQSTileService.aidl
core/java/android/service/quicksettings/Tile.java
core/java/android/service/quicksettings/TileService.java
packages/SystemUI/src/com/android/systemui/qs/external/CustomTile.java
packages/SystemUI/src/com/android/systemui/qs/external/QSTileServiceWrapper.java
packages/SystemUI/src/com/android/systemui/qs/external/TileLifecycleManager.java
packages/SystemUI/src/com/android/systemui/qs/external/TileServiceManager.java
packages/SystemUI/src/com/android/systemui/qs/external/TileServices.java
packages/SystemUI/tests/src/com/android/systemui/qs/external/TileLifecycleManagerTests.java
packages/SystemUI/tests/src/com/android/systemui/qs/external/TileServiceManagerTests.java