RoboErik
e252909394
am 6580a31d: Merge "Adds listeners for changes to the list of active sessions" into lmp-preview-dev
...
* commit '6580a31db0727dfffba99069f4866ad01fc88cfb':
Adds listeners for changes to the list of active sessions
2014-06-09 19:29:58 +00:00
RoboErik
58af2199a5
am ddbdcd09: Merge "Add a way to get the package/pid of the session" into lmp-preview-dev
...
* commit 'ddbdcd092d1b71b987d680a8b1a5140832625410':
Add a way to get the package/pid of the session
2014-06-09 19:29:48 +00:00
RoboErik
5f670bd65c
am 7d0b1256: Merge "b/15452153 Send 0 delta volume requests" into lmp-preview-dev
...
* commit '7d0b1256e3a08a1b0a98f217eb9a0e9f5809f57e':
b/15452153 Send 0 delta volume requests
2014-06-09 19:29:42 +00:00
RoboErik
a3d8188556
Merge "Adds listeners for changes to the list of active sessions" into lmp-preview-dev
2014-06-09 19:07:49 +00:00
RoboErik
20685929a4
Merge "Add a way to get the package/pid of the session" into lmp-preview-dev
2014-06-09 19:07:20 +00:00
RoboErik
b6b31f2741
Merge "b/15452153 Send 0 delta volume requests" into lmp-preview-dev
2014-06-09 19:07:10 +00:00
Julia Reynolds
dc920984f2
Merge "Allow profile and device owners to change and get the master volume mute state."
2014-06-09 18:25:06 +00:00
Julia Reynolds
4a21b25fad
Allow profile and device owners to change and get the master volume mute state.
...
Also protect muting master volume with op code OP_AUDIO_MASTER_VOLUME.
Bug: 13585918
Change-Id: I91fe7ee60cd291cca15966b3127c0bb8a4828f6a
2014-06-09 14:18:01 -04:00
Ji-Hwan Lee
8d396392cc
am 9a904962: Merge "Set mBound only when bind succeeds" into lmp-preview-dev
...
* commit '9a9049626d214a6329090abbba8e067ef3005c2e':
Set mBound only when bind succeeds
2014-06-09 17:44:43 +00:00
Ed Heyl
5adb67d4ce
merge 4ce22057, regen api/current.txt
...
Change-Id: I39186b5c4d41753c729c5d1ee7ee96b03a45c514
2014-06-09 10:41:21 -07:00
Jason Monk
1e7bdd7174
Merge "Add an API to clear the device owner."
2014-06-09 12:48:35 +00:00
Yohei Yukawa
0fcedfd8ea
Merge "Introduce a sequence number to avoid redundant IPCs"
2014-06-09 12:02:30 +00:00
Yohei Yukawa
3d1e8129eb
Introduce a sequence number to avoid redundant IPCs
...
This CL introduces a sequence number to avoid redundant IPCs
between IMM and IMMS. The basic concept is that:
1. IMMS maintains a sequence number for #notifyUserAction.
2. IMMS increases the sequence number whenever the current
IME/subtype is changed.
3. IMMS notifies the new sequence number to IMM.
4. IMM maintains the last sent sequence number and the next
sequence number. IMM should call #notifyUserAction only
once per particular sequence number.
5. IMMS ignores #notifyUserAction if the specified sequence
number is not the expected one.
BUG: 7043015
Change-Id: I19ad8542659bc092b92ee13eb9f1d68ddd4b815a
2014-06-09 18:30:02 +09:00
Ji-Hwan Lee
e17b2dd7bc
Set mBound only when bind succeeds
...
Fixes an issue that TV input is disabled forever after package upgrade,
when it's upgraded while in use. The root cause is as below:
- Package is killed while upgrade.
- Service disconnects, and tries to rebind for reconnecting, but bind fails
because service is not available temporarily. Still ServiceState.mBound is
set to true.
- Should rebind next when callback is registered or new session is created,
but doesn't because ServiceState is already marked bound.
Bug: 14981201
Change-Id: Ia5b0acb33f1247064213024438f114bc40238648
2014-06-09 15:22:59 +09:00
Jinsuk Kim
f43cea0094
Merge "Remove HdmiCecService" into lmp-preview-dev
2014-06-09 01:13:29 +00:00
Jinsuk Kim
3f48068d78
Remove HdmiCecService
...
The service is replaced with HdmiControlService. Removing all the related
classes and the initialization of the service.
Change-Id: Ic7baaddffb9873613ddd1096e874f226da983939
2014-06-09 07:55:47 +09:00
RoboErik
fb442b0384
Add a way to get the package/pid of the session
...
We need a package/pid to connect a session to a notification. This
adds a way to get those from the controller of a session.
Change-Id: I7700a341beebd46116dfb7dc82f1a667c718e728
2014-06-08 13:20:43 -07:00
RoboErik
0791e1713b
b/15452153 Send 0 delta volume requests
...
The new code was dropping volume requests with a delta of 0. These
are used to trigger a beep at the end of a volume adjustment.
Change-Id: Idd85cfeaffe78f9aaafb8e6989e240cb70409c1e
2014-06-08 13:20:43 -07:00
Robert Greenwalt
df2b878ff4
Fix public API of LinkProperties.
...
bug:15142362
Change-Id: I1457111da7d3bd09998f7e010febb8bb4c45c8bc
2014-06-08 12:54:23 -07:00
RoboErik
2e7a9167ae
Adds listeners for changes to the list of active sessions
...
The listeners get notified when sessions are added, removed, or
reprioritized.
Change-Id: I7f3bfc84049719c3b9c19016c6bac92e1a5c3179
2014-06-08 12:21:32 -07:00
Nick Kralevich
82b3201a95
resolved conflicts for merge of 13ed83ee to master
...
Change-Id: Ia3739cfa7af60e6a47bf94d403df190f3f2cd082
2014-06-06 21:13:28 -07:00
Craig Mautner
3c9f70dc86
Merge "Implement maxRecents and fix TaskPersister bug" into lmp-preview-dev
2014-06-06 23:14:32 +00:00
Jason Monk
b0dced8173
Add an API to clear the device owner.
...
Only the device owner will be able to clear itself.
Change-Id: Ie3231467d92e8c5d22ec51256177793f34110432
2014-06-06 17:03:43 -04:00
Dan Sandler
8c293fecaa
am 8612d151: Merge "NoMan: Rank by \'when\' instead of \'postTime\'" into lmp-preview-dev
...
* commit '8612d151b32e654daf4bb673ab93e402b56dd447':
NoMan: Rank by 'when' instead of 'postTime'
2014-06-06 20:57:47 +00:00
Jason Monk
f10606a9a4
Merge "Add device-owner based setting of global proxy."
2014-06-06 20:50:23 +00:00
Jason Monk
03bc991834
Add device-owner based setting of global proxy.
...
Re-hide the setGlobalProxy on the ConnectivityManager as it requires
CONNECTIVITY_INTERNAL. Instead add a function to the DevicePolicyManager
to set the global proxy, that can only be called by the device owner.
Change-Id: I9ffb2cc4f30a6dc9b868d86f056e1fbd512d8dfc
2014-06-06 16:43:17 -04:00
Svetoslav
bb1b857841
Merge "Refactor printing"
2014-06-06 20:36:50 +00:00
Svetoslav
a798c0a984
Refactor printing
...
Change-Id: I19850154ef2798afff511e4490a268ce38e8cbae
2014-06-06 13:33:16 -07:00
Amith Yamasani
8a17910f81
Fix build breakage in BatteryController
...
Caused due to a checkin race.
Change-Id: Icb636e4b2258064572b494ee5fcdd30538691d81
2014-06-06 13:13:36 -07:00
Dan Sandler
2a03b2fa1f
Merge "NoMan: Rank by 'when' instead of 'postTime'" into lmp-preview-dev
2014-06-06 19:44:40 +00:00
Amith Yamasani
599176b616
Fix build breakage in BatteryController
...
Caused due to a checkin race.
Change-Id: Icb636e4b2258064572b494ee5fcdd30538691d81
2014-06-06 11:41:27 -07:00
Dianne Hackborn
d8883df650
am 87bc3c25: Merge "Improvements to low power mode." into lmp-preview-dev
...
* commit '87bc3c258d8be516bc0fcedeb6eec34088582061':
Improvements to low power mode.
2014-06-06 18:26:17 +00:00
Dianne Hackborn
421e2fd044
Merge "Improvements to low power mode." into lmp-preview-dev
2014-06-06 17:46:11 +00:00
Dianne Hackborn
eb94fa7975
Improvements to low power mode.
...
Add new public API for monitoring low power mode.
BatteryService now puts device in to low power mode when
battery level is low.
Window manager now watches low power mode to turn off
animations.
Modifying the animator scale now gets propagated to all
processes.
Change-Id: I8fa566994764ddd4e1977631e28381ab9409f8ee
2014-06-06 10:25:36 -07:00
Alexandra Gherghina
56e0d8003b
Merge "Clean up deleted users in DevicePolicyManagerService"
2014-06-06 16:14:53 +00:00
Christoph Studer
52b7a5a597
NoMan: Rank by 'when' instead of 'postTime'
...
Bug: 15461215
Change-Id: If17e2ff0a6e36ab45da07c2d883fcf8dc8025dc2
2014-06-06 17:46:04 +02:00
Prashant Malani
31363809b8
Merge "Change display state modification during dozing"
2014-06-05 23:02:42 +00:00
Matthew Williams
5ca8f2f005
Include forgotten file to fix build.
...
Change-Id: I4a5ddb6063e5feb18d95ee5c7fe7a126ca59d3b9
2014-06-05 14:34:53 -07:00
Matthew Williams
eb3bf68b57
Include forgotten file to fix build.
...
Change-Id: I4a5ddb6063e5feb18d95ee5c7fe7a126ca59d3b9
2014-06-05 13:54:25 -07:00
Justin Koh
92e49599e9
am c7a5d4a9: am 8200b667: Merge "Revert "Add check to allow notification listener packages to post >50 notifications"" into klp-modular-dev
...
* commit 'c7a5d4a920a7cd865da93ba56c35403c43c69971':
Revert "Add check to allow notification listener packages to post >50 notifications"
2014-06-05 20:09:56 +00:00
Matthew Williams
38b200fe6c
am 1a2f47d4: Merge "Add persistence of tasks for TaskManager & BatteryController" into lmp-preview-dev
...
* commit '1a2f47d4cdc0ea40dff1b88f7976d64c19d687b1':
Add persistence of tasks for TaskManager & BatteryController
2014-06-05 20:08:54 +00:00
Justin Koh
c7a5d4a920
am 8200b667: Merge "Revert "Add check to allow notification listener packages to post >50 notifications"" into klp-modular-dev
...
* commit '8200b667ea75b7d5353343f9e2f22e33b373077e':
Revert "Add check to allow notification listener packages to post >50 notifications"
2014-06-05 20:05:08 +00:00
Justin Koh
8200b667ea
Merge "Revert "Add check to allow notification listener packages to post >50 notifications"" into klp-modular-dev
2014-06-05 19:03:33 +00:00
Justin Koh
500a6b0ca6
Revert "Add check to allow notification listener packages to post >50 notifications"
...
Broke build.
This reverts commit 2dbd36fc7f9341ecef51c2ed96a0f21b046f5a8d.
Change-Id: I2fdf1de21b6598f85bbd94acef44e771b2df9f42
2014-06-05 19:02:47 +00:00
Matthew Williams
3d86fd2bb9
Add persistence of tasks for TaskManager & BatteryController
...
Tasks are persisted only if the client has the RECEIVE_BOOT_COMPLETED
permission. This applies to both periodic and one-off tasks.
Write out task as xml, using PersistableBundle for the extras data.
Todo: Add persistable bundle to xml when ag/468207 is merged.
Also added BatteryController logic.
Change-Id: I23eeeb8b3bc6ba155e7fa4ec25857a68ee8b1567
2014-06-05 18:28:43 +00:00
Justin Koh
29dee1bbba
am 2304bf4c: am 2be3d6f9: Merge "Add check to allow notification listener packages to post >50 notifications" into klp-modular-dev
...
* commit '2304bf4cd4e377994d80f55871fd31f82bb4f646':
Add check to allow notification listener packages to post >50 notifications
2014-06-05 18:14:01 +00:00
Justin Koh
2304bf4cd4
am 2be3d6f9: Merge "Add check to allow notification listener packages to post >50 notifications" into klp-modular-dev
...
* commit '2be3d6f9361311c1d272965afcd602ae12c769af':
Add check to allow notification listener packages to post >50 notifications
2014-06-05 18:10:01 +00:00
Justin Koh
2be3d6f936
Merge "Add check to allow notification listener packages to post >50 notifications" into klp-modular-dev
2014-06-05 18:06:46 +00:00
Chris Wren
38f650818a
am 413edd50: Merge "Disable the attention light on devices that do not have it." into lmp-preview-dev
...
* commit '413edd50540a7890949c5370d18f293f2e6f8841':
Disable the attention light on devices that do not have it.
2014-06-05 18:00:02 +00:00
Kenny Guy
8a4a1f2d80
Merge "Fix bug with sending intents to correct user for device admin."
2014-06-05 17:29:40 +00:00