20666 Commits

Author SHA1 Message Date
Dianne Hackborn
f85e7af4d0 Fix issue #10034864: Define YouTube application as the preferred...
...handler for its Intents

Fix bug when a third party app is installed as an additional but
worse match for the intent.

Also raise up the limit for when we start printing logs about
overly large strict mode data.

And turn off the logs about services being created and destroyed,
since with the way things are using services these days these have
become way too spammy.

Change-Id: I8fe301dfd80fb4b70213cb7783b7c5426245278d
2014-10-14 10:46:52 -07:00
Jeff Hao
63360780f2 Merge "Stop boot dexopt when low on memory." into lmp-mr1-dev 2014-10-14 16:55:40 +00:00
Jinsuk Kim
93eed0c03a CEC: Use hotplug event for MHL device registry
Substitute hotplug on event for registering MHL device as TV input.
Initializes a corresponding MHL DeviceInfo as well as MHL local device
instance.

Bug: 17349017

Change-Id: I7e55afda9390aa5fa8b7687cfa6fac132f342fe6
2014-10-14 11:53:10 +09:00
Filip Gruszczynski
5dcc3aca42 Log wallpaper crashes.
Change-Id: I40d9876dad2a8ec98135e3df127950dc3797040b
2014-10-13 15:51:39 -07:00
Elliott Hughes
b8175ad3bf am c02ddd6a: am c130b428: Merge "Ensure that the SIM language doesn\'t override the user language on the encryption UI." into lmp-dev
* commit 'c02ddd6a0a4643ce49150231a104d77d90c13f27':
  Ensure that the SIM language doesn't override the user language on the encryption UI.
2014-10-13 22:08:39 +00:00
Elliott Hughes
c02ddd6a0a am c130b428: Merge "Ensure that the SIM language doesn\'t override the user language on the encryption UI." into lmp-dev
* commit 'c130b428c5d7eb25dc7651c5cea82182f2241ddf':
  Ensure that the SIM language doesn't override the user language on the encryption UI.
2014-10-13 22:04:11 +00:00
Elliott Hughes
c130b428c5 Merge "Ensure that the SIM language doesn't override the user language on the encryption UI." into lmp-dev 2014-10-13 20:55:30 +00:00
Elliott Hughes
9c33f28d91 Ensure that the SIM language doesn't override the user language on the encryption UI.
Bug: 17945169
Change-Id: I51e4f47c7cd925f3701f292b9022e467ccf95a17
2014-10-13 12:39:56 -07:00
Yohei Yukawa
9ca39d744c am 540861c9: am 2dfd8d57: Merge "Update config when "Show input method" is changed" into lmp-dev
* commit '540861c925df9b3743251e5d219cd5fe790f9048':
  Update config when "Show input method" is changed
2014-10-13 18:57:58 +00:00
Michael Wright
48ca08a21c am 43a7dcc1: am 265d3e9d: Merge "Clean-up ColorFade\'s shaders and buffers." into lmp-dev
* commit '43a7dcc12b212ac4f00af294b13d931dca3c3f8d':
  Clean-up ColorFade's shaders and buffers.
2014-10-13 18:57:50 +00:00
Yohei Yukawa
540861c925 am 2dfd8d57: Merge "Update config when "Show input method" is changed" into lmp-dev
* commit '2dfd8d578a0c5b90ee10ce1f3ddb4aeb0e948f60':
  Update config when "Show input method" is changed
2014-10-13 18:48:16 +00:00
Michael Wright
43a7dcc12b am 265d3e9d: Merge "Clean-up ColorFade\'s shaders and buffers." into lmp-dev
* commit '265d3e9d3eb6915d9ca9da5fcd1ddb29b5f8bc3b':
  Clean-up ColorFade's shaders and buffers.
2014-10-13 18:48:07 +00:00
Yohei Yukawa
2dfd8d578a Merge "Update config when "Show input method" is changed" into lmp-dev 2014-10-13 18:42:50 +00:00
Michael Wright
265d3e9d3e Merge "Clean-up ColorFade's shaders and buffers." into lmp-dev 2014-10-13 17:30:32 +00:00
Jeff Hao
1d892dcb6b Stop boot dexopt when low on memory.
Bug: 17641843
Change-Id: Ie1967fc2cd9bdd258bfee442968f98200edaf62e
2014-10-13 10:27:29 -07:00
Jinsuk Kim
e46fdb43c0 Merge "CEC: Queue actions for starting later when not ready" into lmp-mr1-dev 2014-10-13 05:16:11 +00:00
Jinsuk Kim
6f87b4e6b6 CEC: Queue actions for starting later when not ready
Requests coming in while the service is still being brought up
were discarded. Changed to queue them so that they can be started
after the initialization is completed.

Bug: 17933899
Change-Id: Ic9d9cd2094b830c80dec54dd5ef6a18159a74dc7
2014-10-13 11:38:16 +09:00
Jinsuk Kim
08f1ab02d6 CEC: Do not publish the service if native/HAL is not ready
This helps detect the issue sooner by checking the availability
of the service and avoid crashing at a later point.

Bug: 17897529
Change-Id: Iab0eeffb00221e5a7e6e36d446eeef7c92da1f82
2014-10-13 10:44:50 +09:00
Dianne Hackborn
ec941de2fc am eddb2b38: am bbbeafa9: Merge "Fix issue #17829949: Don\'t kill Bluetooth service..." into lmp-dev
* commit 'eddb2b3805d323ad1b6e1a09f2e64736b2eb2cf4':
  Fix issue #17829949: Don't kill Bluetooth service...
2014-10-11 02:50:12 +00:00
Dianne Hackborn
eddb2b3805 am bbbeafa9: Merge "Fix issue #17829949: Don\'t kill Bluetooth service..." into lmp-dev
* commit 'bbbeafa9bf0c4598b32c615c72e2c87ef62c85e9':
  Fix issue #17829949: Don't kill Bluetooth service...
2014-10-11 00:29:53 +00:00
Jinsuk Kim
62ba538b94 resolved conflicts for merge of 3170c035 to lmp-mr1-dev
Change-Id: Ia34a304451f0dd7148d6d0cbd1d8c8ca81001b86
2014-10-11 07:23:18 +09:00
Dianne Hackborn
ce09f5a53c Fix issue #17829949: Don't kill Bluetooth service...
...even in extreme low memory condition

Bind to Bluetooth with BIND_IMPORTANT, so that it is allowed to
go to a higher oom adj level.

Fix some problems when this is done from a system or persistent
process, where this would go to a level that is *too* high.  Instead,
introduce a new oom adj level for it that is right below persistent.

Change-Id: I002bcc4accc36c8579c4cda161be7d2fba21ba17
2014-10-10 15:05:33 -07:00
Dianne Hackborn
e61e68d001 am 18d2d51e: am 7ea69880: Merge "Improve some docs, fix some debugging." into lmp-dev
* commit '18d2d51ee30d8df4d3afa5e7b6bb7e7171a18b63':
  Improve some docs, fix some debugging.
2014-10-10 20:47:07 +00:00
Jinsuk Kim
3170c03543 am 294297df: Merge "CEC: Prevents HdmiControlService from turning on TV on wakeup" into lmp-dev
* commit '294297df4e3f327a81d922563c518aee8ee3e51d':
  CEC: Prevents HdmiControlService from turning on TV on wakeup
2014-10-10 14:45:33 +00:00
Dianne Hackborn
18d2d51ee3 am 7ea69880: Merge "Improve some docs, fix some debugging." into lmp-dev
* commit '7ea69880bdbf2c51140460dcfd063dc015c3ce26':
  Improve some docs, fix some debugging.
2014-10-10 14:44:59 +00:00
Yohei Yukawa
8629784bbb Update config when "Show input method" is changed
This is a follow up CL for I2237ded850a0d4ab43ca441d0b7df1.

Seems that we still need to update config settings every
time when "Show input method" is changed.

BUG: 17666032
Change-Id: I480aeaa038bef9c3c20e8f0b36110e92a35809db
2014-10-10 15:13:28 +09:00
Jinsuk Kim
294297df4e Merge "CEC: Prevents HdmiControlService from turning on TV on wakeup" into lmp-dev 2014-10-10 03:52:27 +00:00
Dianne Hackborn
ab4a81b3c6 Improve some docs, fix some debugging.
- Add docs to Binder, Messenger, ResultReceier to explain their
  relation (or lack there-of) to process lifecycle.
- Clarify some aspects of process lifecycle for services.
- Fix help text of am command.
- Fix per-package dumping of battery stats to not include history.
- Fix per-package dumping of proc stats to only include aggregated
  and current stats and fix some formatting.
- Fix per-process dumping of meminfo to have an option to interpret
  the input as a package, so including all processes that are
  running code of that package.
- Fix top-level per-package debug output to correctly include all
  of these improvements and give them a little more time (10s) to
  complete for timing out.

Change-Id: I2a04c0f862bd47b08329443d722345a13ad9b6e2
2014-10-09 18:21:59 -07:00
Christopher Tate
df9cab2f12 am ad716e42: am 2aa1d18e: Fix bug 17931760 - spurious timeout leads to mayhem
* commit 'ad716e42e89cc5fe92c3ff86ec2714c416d522aa':
  Fix bug 17931760 - spurious timeout leads to mayhem
2014-10-10 00:31:53 +00:00
Dianne Hackborn
d190a5ca4c am 0e259ce2: am 6166a824: Merge "Implement issue #17906468: Allow search request to fall back to global search" into lmp-dev
* commit '0e259ce2d7ed09c58993da5c5b63966e8f467c82':
  Implement issue #17906468: Allow search request to fall back to global search
2014-10-10 00:30:33 +00:00
Christopher Tate
ad716e42e8 am 2aa1d18e: Fix bug 17931760 - spurious timeout leads to mayhem
* commit '2aa1d18e3acd269ed7a5f5a4843d447735f0676c':
  Fix bug 17931760 - spurious timeout leads to mayhem
2014-10-09 23:06:27 +00:00
Michael Wright
5018df761b Clean-up ColorFade's shaders and buffers.
Bug: 17672241
Change-Id: I73328ee4d83c3a8700b7b19b661bcaec7ada877f
2014-10-09 15:44:56 -07:00
Christopher Tate
2aa1d18e3a Fix bug 17931760 - spurious timeout leads to mayhem
We know a priori that the PMBA metadata package's backup pass
doesn't need to be tracked for timeout, because it's run inline
rather than as an asynchronous separate-process operation.

Change-Id: Ifd21ab3a016917f5e557a38c1c88f8d8ac1337d2
2014-10-09 15:20:24 -07:00
Dianne Hackborn
0e259ce2d7 am 6166a824: Merge "Implement issue #17906468: Allow search request to fall back to global search" into lmp-dev
* commit '6166a824b2ea7b7918f54769005ab691e15f77f7':
  Implement issue #17906468: Allow search request to fall back to global search
2014-10-09 19:30:26 +00:00
Robin Lee
499a36294b am 4a718f2a: am a300025d: Merge "DevicePolicy: One cert tracker warning per profile" into lmp-dev
* commit '4a718f2af33159e58f4ad639d9d0e633a6ca8a8f':
  DevicePolicy: One cert tracker warning per profile
2014-10-09 19:17:39 +00:00
Christopher Tate
97cb995e99 am f857b272: am 2e0f6682: Merge "Also monitor MOVED_TO events for wallpaper updates" into lmp-dev
* commit 'f857b272c27ca6836b5cec51a9f3714603aa2ad0':
  Also monitor MOVED_TO events for wallpaper updates
2014-10-09 19:17:23 +00:00
Jeff Brown
8aa2e3f168 am ab46eda8: am 704998ab: Merge "Ensure we correctly unblank displays when added." into lmp-dev
* commit 'ab46eda872b4c9a4e16c57c00e5c85bb1f7143ce':
  Ensure we correctly unblank displays when added.
2014-10-09 19:17:05 +00:00
Christopher Tate
c09f6e6906 am b03b6a6c: am 6dea8de7: Merge "Actually tell the widget service that restore is starting" into lmp-dev
* commit 'b03b6a6c5a88e4c55d936ec028dd55a699ae787f':
  Actually tell the widget service that restore is starting
2014-10-09 19:16:50 +00:00
Robin Lee
4a718f2af3 am a300025d: Merge "DevicePolicy: One cert tracker warning per profile" into lmp-dev
* commit 'a300025d23fac899c2294a8281b12b52d4e830b6':
  DevicePolicy: One cert tracker warning per profile
2014-10-09 19:11:29 +00:00
Christopher Tate
f857b272c2 am 2e0f6682: Merge "Also monitor MOVED_TO events for wallpaper updates" into lmp-dev
* commit '2e0f66820e12bbd24f476fba863d9dab564c6f97':
  Also monitor MOVED_TO events for wallpaper updates
2014-10-09 19:11:06 +00:00
Jeff Brown
ab46eda872 am 704998ab: Merge "Ensure we correctly unblank displays when added." into lmp-dev
* commit '704998abbafea84c28c0bcd0c540af87562b4cc9':
  Ensure we correctly unblank displays when added.
2014-10-09 19:09:01 +00:00
Christopher Tate
b03b6a6c5a am 6dea8de7: Merge "Actually tell the widget service that restore is starting" into lmp-dev
* commit '6dea8de7097eb91c9595cea63acd489e34c63aac':
  Actually tell the widget service that restore is starting
2014-10-09 19:08:33 +00:00
Jeff Hao
6b7515dd0d Merge "Improve priority ordering of apps when performing boot dexopt." into lmp-mr1-dev 2014-10-09 18:06:48 +00:00
Dianne Hackborn
fdf5b35ab4 Implement issue #17906468: Allow search request to fall back to global search
Change-Id: I04834b2a9f1ec4a68c6a3fed14da2f8dd93b3be7
2014-10-09 10:37:19 -07:00
RoboErik
51ff1c937d am f9122232: am a78601dc: Merge "Ensure metadata bundles are unparceled before making them available" into lmp-dev
* commit 'f91222327e71edccb5b5d34fde61abc54f580fab':
  Ensure metadata bundles are unparceled before making them available
2014-10-09 16:57:57 +00:00
Georgi Nikolov
ffdc68e0a8 am 682d77dc: am 6eb0f480: Merge "BUG 17887323: Need to turn off DEBUG log spam in Job Scheduler" into lmp-dev
* commit '682d77dcf19c2d1a7b26a22e457e53daee6fb212':
  BUG 17887323: Need to turn off DEBUG log spam in Job Scheduler
2014-10-09 16:57:46 +00:00
Ye Wen
ac9d81b9ba am 108ba84a: am de73afe2: Merge "Make MmsServiceBroker more robust to MmsService crashes" into lmp-dev
* commit '108ba84ac546bb72deae76699cd26b1004985c05':
  Make MmsServiceBroker more robust to MmsService crashes
2014-10-09 16:57:39 +00:00
RoboErik
f91222327e am a78601dc: Merge "Ensure metadata bundles are unparceled before making them available" into lmp-dev
* commit 'a78601dc1929428007fdbb07da0a07ae3fb60bd5':
  Ensure metadata bundles are unparceled before making them available
2014-10-09 16:46:46 +00:00
Georgi Nikolov
682d77dcf1 am 6eb0f480: Merge "BUG 17887323: Need to turn off DEBUG log spam in Job Scheduler" into lmp-dev
* commit '6eb0f4808dd984a7fa45da5eca03b4c5d8ff9327':
  BUG 17887323: Need to turn off DEBUG log spam in Job Scheduler
2014-10-09 16:46:26 +00:00
Ye Wen
108ba84ac5 am de73afe2: Merge "Make MmsServiceBroker more robust to MmsService crashes" into lmp-dev
* commit 'de73afe268bd7979017ae4b9481fc1ebf5df6c19':
  Make MmsServiceBroker more robust to MmsService crashes
2014-10-09 16:46:19 +00:00