Michael Wright
9f6d5a89c0
am 7f9ceb4b: am c9b177e5: am b46fd00a: Merge "Add config option for permanent dpad presence." into lmp-dev
...
* commit '7f9ceb4b4cad7d3fdb99a9a3d4088c9d0175e878':
Add config option for permanent dpad presence.
2014-09-16 08:57:42 +00:00
Matthew Williams
adf6977e2d
am 695d7ef6: am 4d60d421: am 807511d5: Merge "Remove a minimum wake-up time for a job" into lmp-dev
...
* commit '695d7ef6fd17356ece14acd4cd45fcd90d6e36dc':
Remove a minimum wake-up time for a job
2014-09-16 08:40:33 +00:00
Michael Wright
3068586473
am c9b177e5: am b46fd00a: Merge "Add config option for permanent dpad presence." into lmp-dev
...
* commit 'c9b177e5e0904409fd171bd33c2555ca9a653c42':
Add config option for permanent dpad presence.
2014-09-16 08:39:32 +00:00
Matthew Williams
4d0b64d16f
am 4d60d421: am 807511d5: Merge "Remove a minimum wake-up time for a job" into lmp-dev
...
* commit '4d60d421f194c392186fa97fd7ba8ce57eabbf7a':
Remove a minimum wake-up time for a job
2014-09-15 22:04:20 +00:00
Michael Wright
63d991f28c
Merge "Add config option for permanent dpad presence." into lmp-dev
2014-09-15 21:38:40 +00:00
Michael Wright
a59e62341c
Add config option for permanent dpad presence.
...
Since all TV devices are required to have a DPad as a form of
navigation we should suppress any configuration instances where it
claims one doesn't exist just because it isn't currently connected.
This prevents applications from going through a configuration change
and potentially an app restart when a remote disconnects to save
battery.
Bug: 17493314
Change-Id: Ice87b7056984afe02917ccba9196fdbcac9985fc
2014-09-15 14:24:59 -07:00
Matthew Williams
b6eaa86440
Merge "Remove a minimum wake-up time for a job" into lmp-dev
2014-09-15 17:56:51 +00:00
Jungshik Jang
858b32d91f
am f8c2dc9c: am 1c217c6a: am 2e33bd88: Merge "Fix cyclic mute" into lmp-dev
...
* commit 'f8c2dc9cc7da256fad8ec4f811178eddca5ca719':
Fix cyclic mute
2014-09-15 13:21:52 +00:00
Jungshik Jang
526bcdce53
am 1c217c6a: am 2e33bd88: Merge "Fix cyclic mute" into lmp-dev
...
* commit '1c217c6a4e081b3baf950afc1e2b6c688a7bd777':
Fix cyclic mute
2014-09-15 13:06:21 +00:00
Jungshik Jang
720407ad06
Fix cyclic mute
...
Bug: 17502271
Change-Id: I837315afce8193ac1948fffed66cbb8c755968e2
2014-09-15 18:24:01 +09:00
Jungshik Jang
503e6a831d
am 897e87c1: am 4de8368e: am d0d188e5: Merge "Remove unnecessary warning." into lmp-dev
...
* commit '897e87c15173375ab2eedb3d3db54a0441ecda2a':
Remove unnecessary warning.
2014-09-15 03:19:06 +00:00
Jungshik Jang
6cbc5d741f
am 4de8368e: am d0d188e5: Merge "Remove unnecessary warning." into lmp-dev
...
* commit '4de8368e1e9eb9499c82202d95bf19f5d2d14562':
Remove unnecessary warning.
2014-09-15 02:58:08 +00:00
Dianne Hackborn
3c86afa9fb
am 32379231: am 34b11487: am 7631b257: Merge "A little more work on issue ##16907799." into lmp-dev
...
* commit '323792313e6fd43b1f32ae7358e46d07c5df0cb7':
A little more work on issue ##16907799.
2014-09-15 01:11:47 +00:00
Jungshik Jang
6b096d349b
Remove unnecessary warning.
...
Bug: 17501260
Change-Id: I5e7edd6d1fc179c00306d745adc99bebdcb65316
2014-09-15 09:54:47 +09:00
Dianne Hackborn
904313a65d
am 34b11487: am 7631b257: Merge "A little more work on issue ##16907799." into lmp-dev
...
* commit '34b11487d16a060ec36599f289bb37235ada75d7':
A little more work on issue ##16907799.
2014-09-15 00:52:45 +00:00
Dianne Hackborn
95686694f7
Merge "A little more work on issue ##16907799." into lmp-dev
2014-09-15 00:27:00 +00:00
Dianne Hackborn
24c98e8cf8
A little more work on issue ##16907799.
...
I got distracted in the middle of it, and forget to finish
up with the test to not kill processes if they aren't using
an auto create binding.
Change-Id: Ieecfe97fa3208e50cb91ba94be2a8659d128b0de
2014-09-14 17:25:34 -07:00
Dianne Hackborn
d76e8ea1d8
am 143fd719: am f29a8d99: am 601e63e8: Merge "Fix issue #16907799 : Processes containing bound services..." into lmp-dev
...
* commit '143fd7195bd69337748f2aa96ac6cae44003da45':
Fix issue #16907799 : Processes containing bound services...
2014-09-14 23:37:22 +00:00
Dianne Hackborn
cec6f37a7c
am f29a8d99: am 601e63e8: Merge "Fix issue #16907799 : Processes containing bound services..." into lmp-dev
...
* commit 'f29a8d99ce874490935113037fda887a8d3532eb':
Fix issue #16907799 : Processes containing bound services...
2014-09-14 23:20:55 +00:00
RoboErik
3da2069aee
am cf77c94d: am 92c2439c: am 4be289e8: Merge "Route volume commands whenever media stream is in use" into lmp-dev
...
* commit 'cf77c94d2ac90306182fd05c242074c2bf559928':
Route volume commands whenever media stream is in use
2014-09-14 22:25:39 +00:00
RoboErik
8b2cce544b
am 92c2439c: am 4be289e8: Merge "Route volume commands whenever media stream is in use" into lmp-dev
...
* commit '92c2439ccbd3a07b1e9b80d25abf3a551218ad2a':
Route volume commands whenever media stream is in use
2014-09-14 22:13:20 +00:00
Dianne Hackborn
f075330db4
Merge "Fix issue #16907799 : Processes containing bound services..." into lmp-dev
2014-09-14 22:02:36 +00:00
RoboErik
d8c36a7b60
Merge "Route volume commands whenever media stream is in use" into lmp-dev
2014-09-14 21:45:03 +00:00
Dianne Hackborn
465fa39635
Fix issue #16907799 : Processes containing bound services...
...
...are killed over eagerly.
When the current foreground activity is moving to the background,
it was briefly going through the CACHED_ACTIVITY state before the
correct LAST_ACTIVITY state, allowing its bound service processes
to be killed (because they went in to the cached list). To solve
this, as long as a process has stopping activities, it won't go
lower than LAST_ACTIVITY.
Also fixed a problem where we could put a process in CACHED_EMPTY
instead of CACHED_ACTIVITY_CLIENT. There were a number of cases
in the binding flow and also the client process state transitions
where we would not correctly updateing the bound client activity
state.
And add some sanity code so that if a process hosting a
service is killed, and a client process of that service is in the
cached state, we kill the client process. This avoids situations
where we can start thrashing around in the cached list because we
are restarting process for no reason -- since they will just
continue to be cached.
Finally, tune the process LRU list to allow twice as many cached
activity processes (from 8 to 16), so we can make better use of
the RAM we have available these days.
Change-Id: Ib0cdf78c321cbb035259fc9dd6ee27b5ba1f90c5
2014-09-14 14:32:45 -07:00
RoboErik
94c716ea29
Route volume commands whenever media stream is in use
...
Found a regression in volume handling. Previously we handled
volume commands as long as the media stream was active but we were only
handling them when there was an active session on L. This adds a check to
make sure we handle volume if anything is playing on the media stream.
bug:17498479
Change-Id: Iddd745c8a762cf7ebedb37f1b26fc934db01fba0
2014-09-14 21:16:51 +00:00
John Spurlock
c787555c36
am 6f002333: am 1c1683a3: am 1ddb7a6b: Merge "Saver: PowerManager call to set low power mode." into lmp-dev
...
* commit '6f002333c30d98c4c51b2217dae4bcd05f8a36f3':
Saver: PowerManager call to set low power mode.
2014-09-14 20:21:36 +00:00
John Spurlock
b9e2fe1d4a
am 1c1683a3: am 1ddb7a6b: Merge "Saver: PowerManager call to set low power mode." into lmp-dev
...
* commit '1c1683a35a0267c03729fa36b930c3dc803aff7a':
Saver: PowerManager call to set low power mode.
2014-09-14 20:09:39 +00:00
Ramanan Rajeswaran
64ed44c70d
am 0f10c555: am ec3b810f: am 90756e97: Merge "Fix creation issue of stack trace dump directory" into lmp-dev
...
* commit '0f10c555b4bc9ea18e9f43bac547e65b8d8fab60':
Fix creation issue of stack trace dump directory
2014-09-14 19:58:21 +00:00
Ramanan Rajeswaran
917fd5f6a9
am ec3b810f: am 90756e97: Merge "Fix creation issue of stack trace dump directory" into lmp-dev
...
* commit 'ec3b810f4d5ca288ff16841693e148a7c6fbcd7c':
Fix creation issue of stack trace dump directory
2014-09-14 19:43:16 +00:00
John Spurlock
7ca1161e30
Merge "Saver: PowerManager call to set low power mode." into lmp-dev
2014-09-14 19:36:13 +00:00
Ramanan Rajeswaran
e7d6816fd1
Merge "Fix creation issue of stack trace dump directory" into lmp-dev
2014-09-14 19:20:36 +00:00
Michael Wright
25c876f90b
am 4c55b544: am 0641005c: am ab567cd1: Merge "Correctly propagate SW_CAMERA_LENS_COVER_BIT" into lmp-dev
...
* commit '4c55b544002cab8b100cec9df027f2ba43b2d250':
Correctly propagate SW_CAMERA_LENS_COVER_BIT
2014-09-14 19:04:17 +00:00
Michael Wright
d8af6f7102
am 0641005c: am ab567cd1: Merge "Correctly propagate SW_CAMERA_LENS_COVER_BIT" into lmp-dev
...
* commit '0641005ca21ec162e6fd042ee3cbe1159aed3449':
Correctly propagate SW_CAMERA_LENS_COVER_BIT
2014-09-14 18:49:18 +00:00
Craig Mautner
b35c0e5f14
am 65c8cb82: am b53a8c2a: am 11cb403d: Merge "Add null checks for quickly disappearing Displays" into lmp-dev
...
* commit '65c8cb820336b16c4da04b8b492c6705445ca30a':
Add null checks for quickly disappearing Displays
2014-09-14 18:42:01 +00:00
Craig Mautner
4c3793662d
am b53a8c2a: am 11cb403d: Merge "Add null checks for quickly disappearing Displays" into lmp-dev
...
* commit 'b53a8c2a713c10f9948b0353dd53cb67a6b4fe56':
Add null checks for quickly disappearing Displays
2014-09-14 18:26:16 +00:00
Michael Wright
645df3e3e4
Merge "Correctly propagate SW_CAMERA_LENS_COVER_BIT" into lmp-dev
2014-09-14 18:19:50 +00:00
Jae Seo
84f839d0f2
am 747b198c: am c3bfd9bd: am c07446f2: TIF: Turn debugging off
...
* commit '747b198cfff6b9813bdb385e7fc370efce5e747a':
TIF: Turn debugging off
2014-09-14 18:11:44 +00:00
John Spurlock
8d4e6cb060
Saver: PowerManager call to set low power mode.
...
- Add an explicit power manager call to set the low power mode state,
instead of trying manage everything around a single setting.
- When low-power mode is triggered by falling below the configured
threshold, it does not update the setting.
- The "is-enabled" api returns setting || below configured trigger.
- Move the snooze management into the new api call.
- Callers (sysui + settings) updated to use the api instead of the
setting.
- Handles the case where the level does an unpowered leap out of the
low battery level. (Possible if powered in-between while the device
is off)
Bug:17460535
Change-Id: Ic030504c9cad9868a7137abbe837b170da37852b
2014-09-14 14:07:23 -04:00
Craig Mautner
f1f886f3ae
Merge "Add null checks for quickly disappearing Displays" into lmp-dev
2014-09-14 18:01:40 +00:00
Jae Seo
4a9219ac1c
am c3bfd9bd: am c07446f2: TIF: Turn debugging off
...
* commit 'c3bfd9bde6286f164c1d68997527ff85978fb2f2':
TIF: Turn debugging off
2014-09-14 17:55:24 +00:00
Christopher Lane
dfa2497759
am e34c80bc: am 614c653b: am 1fdb5100: Merge "Handle null values in registerService" into lmp-dev
...
* commit 'e34c80bc53c04efebf552e16e1f7ee30bd09c141':
Handle null values in registerService
2014-09-14 17:39:46 +00:00
Michael Wright
9e10d25732
Correctly propagate SW_CAMERA_LENS_COVER_BIT
...
Bug: 16034563
Change-Id: I3402d42056cda47fddadd09f838b1082d93fb00d
2014-09-14 17:30:52 +00:00
Jae Seo
ee2ec05ed7
TIF: Turn debugging off
...
Bug: 17476383
Change-Id: I28ff54a635bf6468c231efe776dbc8e35460d542
2014-09-14 10:30:05 -07:00
Christopher Lane
e8b7802600
am 614c653b: am 1fdb5100: Merge "Handle null values in registerService" into lmp-dev
...
* commit '614c653b7a2da14ded7d9c95142a5afd0b4d4722':
Handle null values in registerService
2014-09-14 17:25:44 +00:00
Christopher Lane
07ab0871ee
Merge "Handle null values in registerService" into lmp-dev
2014-09-14 17:06:46 +00:00
Jing Ji
a0e0c0dfad
Fix creation issue of stack trace dump directory
...
Use the dirname instead of the filename to create the directory
Change-Id: I16e49303b2ff5e2592ed60eab766db32d02262fe
2014-09-14 09:45:30 -07:00
Adam Lesinski
97303fea27
am ae2fbe06: am 09c04b45: am 93f13b6a: Merge "Fix issue with lifecycle of Activities launched from Lockscreen" into lmp-dev
...
* commit 'ae2fbe065bddb685d038538dcbad9a6979020920':
Fix issue with lifecycle of Activities launched from Lockscreen
2014-09-13 23:49:37 +00:00
Adam Lesinski
0176a39cca
am 09c04b45: am 93f13b6a: Merge "Fix issue with lifecycle of Activities launched from Lockscreen" into lmp-dev
...
* commit '09c04b454a8456395f68c7d0e5b5dde1187a80d3':
Fix issue with lifecycle of Activities launched from Lockscreen
2014-09-13 23:40:20 +00:00
Adam Lesinski
13f3c9344f
Merge "Fix issue with lifecycle of Activities launched from Lockscreen" into lmp-dev
2014-09-13 23:11:57 +00:00
Craig Mautner
1a70a16b64
Add null checks for quickly disappearing Displays
...
If a display is removed right after it is added we will get null
when trying to retrieve it from the DisplayManager. Check for that
null before commiting to using that display.
Fixes bug 17478906.
Change-Id: I89ae8cc7387729d678b9b1ed5b1797a93cdde3f9
2014-09-13 12:09:31 -07:00