79051 Commits

Author SHA1 Message Date
Mike J. Chen
993f8a8c65 bootanimation: Remove a property_set that is causing a warning in dmesg. DO NOT MERGE
Remove a property_set() call that causes the kernel error log:

<3>[   36.437164] init: sys_prop: permission denied uid:1003  name:service.bootanim.exit

This set fails because the property is read only for non-root processes.
It was added by Kevin as part of the clean exit of the boot animation
change, but it's only needed when testing the boot animation from cmdline.
When called from init, init will clear the property itself before it
reruns the boot animation.

Change-Id: I07563009f57d576da8063708cbe66ff08f6757c8
Signed-off-by: Mike J. Chen <mjchen@google.com>
2012-05-22 17:07:39 -07:00
Jim Miller
3d0083b3f8 Fix 6539117: Fix layout issues on 600dp device.
This fixes two issues:
1. The pattern view was shown too low on the device due to shared layout
with 720dp device.
2. The time was showing on top of the transport control view (music playback widget)

Change-Id: Id8a5809f96cfbda7eb55fa91b1bea826d483373a
2012-05-22 17:05:13 -07:00
Craig Mautner
e2d5b980f3 am 9441a930: am 208236dd: Merge "Pull showStrictModeViolation off of local threads." into jb-dev
* commit '9441a930ffa93529dcd0375e30ac2cfda312706f':
  Pull showStrictModeViolation off of local threads.
2012-05-22 17:00:37 -07:00
Craig Mautner
9441a930ff am 208236dd: Merge "Pull showStrictModeViolation off of local threads." into jb-dev
* commit '208236dd9600efb125639bf7ca5715fb341ee8d8':
  Pull showStrictModeViolation off of local threads.
2012-05-22 16:56:50 -07:00
Craig Mautner
208236dd96 Merge "Pull showStrictModeViolation off of local threads." into jb-dev 2012-05-22 16:54:09 -07:00
Chris Craik
9e08012869 Avoid crash if onDetachedFromWindow called after destroy
This also removes the temporary logging from commit
f8dafa14e058cdc2f408b59be7911abaceb73c47.

bug:6535911
Change-Id: Icf1d0438b349a0e92e7d9cefed57a252eed2b9b0
2012-05-22 16:52:00 -07:00
Craig Mautner
196943fb51 Modify auto brightness to return to dim level.
Previous auto brightness policy was to only ratchet screen brightness
up and never return to dim levels until the device was turned off. This
caused the screen to be very bright in dim areas and reduced battery
life. This change allows the screen to dim down over the course of
a minute to the desired brightness level.

Fixes bug 6422464.

Change-Id: I5592c06a495650c6496ec2fc9846d7a10fac4b16
2012-05-22 16:36:12 -07:00
Marco Nelissen
b4b847866f Handle _ and % in paths
When doing a "like" match on a path, add a second non-like constraint
so that sqlite wildcard characters don't match arbitrary other characters.
b/6501408

Change-Id: I21f9b1c2d8e7c7ef27c0ad5fe24c3e01cd67fb61
2012-05-22 16:30:34 -07:00
Dianne Hackborn
a6e41342e2 Fix issue #5680541: onStartInputView called upon focus loss
We should tell the app that it is inactive, before unbinding.
Otherwise when it is told to unbind it will see that it is still
supposed to be active and immediately re-bind.

Also change the calls to set the active state to go through the
message dispatch path, to ensure ordering is correct.

Change-Id: I246241eac8f7521f42c4c1eee7f46097337e7303
2012-05-22 16:30:34 -07:00
Matt Finifter
f8a98ed4e1 Added code to log the current value of the "allow unknown sources" setting after
successful package installation.

Change-Id: Id8de7ae94e3b3b68e033c24649ca67324d894ce8
2012-05-22 16:18:20 -07:00
Eric Laurent
7847211fb4 AudioManager: restore setBluetoothA2dpOn() method
Remove deprecation on setBluetoothA2dpOn() method so that applications
can override the default audio policy which is to use A2DP
for media whenever connected.

The request is not persistent and the default policy is restored when a
new A2DP i ro wired headset connection occurs.

Bug 6485897.

Change-Id: I2a4b6b6bdba55f7b133e64f86d27c03eb86acfa4
2012-05-22 16:06:21 -07:00
Craig Mautner
0447a81e6d Pull showStrictModeViolation off of local threads.
By moving the StrictModeViolation display onto the WindowManager
Handler we avoid potential deadlocks as found in the bug below.

Fixes bug 6537798.

Change-Id: Ia46a43d1f7f6e55256f770b9e196602092669b49
2012-05-22 16:01:31 -07:00
Svetoslav Ganov
727242f960 am ecd2fe57: am 956f28ed: Merge "Always reference injector using get method." into jb-dev
* commit 'ecd2fe5796061f98656088dc1ce0621cc12d9a62':
  Always reference injector using get method.
2012-05-22 15:37:59 -07:00
Svetoslav Ganov
ecd2fe5796 am 956f28ed: Merge "Always reference injector using get method." into jb-dev
* commit '956f28edae64268a67af22baee2ef873264921b4':
  Always reference injector using get method.
2012-05-22 15:35:00 -07:00
Svetoslav Ganov
956f28edae Merge "Always reference injector using get method." into jb-dev 2012-05-22 15:32:19 -07:00
Irfan Sheriff
efe2e08df8 am d0dd489f: am 9bfc5dbd: Merge "Add WPS details for certification" into jb-dev
* commit 'd0dd489fd466d84dda96ea6357d36106d5d2bc9f':
  Add WPS details for certification
2012-05-22 15:09:37 -07:00
Irfan Sheriff
d0dd489fd4 am 9bfc5dbd: Merge "Add WPS details for certification" into jb-dev
* commit '9bfc5dbd1c4aca0e08aa1b88c20521cad6b491b7':
  Add WPS details for certification
2012-05-22 15:06:11 -07:00
Irfan Sheriff
9bfc5dbd1c Merge "Add WPS details for certification" into jb-dev 2012-05-22 15:03:44 -07:00
Adam Cohen
3be398ab3c am 2628c678: am 662e4a45: Merge "Fix ANR which could occur for collection widgets with very large items" into jb-dev
* commit '2628c678cde4bc4c99668130136714187aeca9dc':
  Fix ANR which could occur for collection widgets with very large items
2012-05-22 14:49:52 -07:00
Chris Wren
3745a3da75 BigPicture notifications for screenshots.
Needed a little extra help from the builder to make this
happen (like the title, you might want a different largeIcon
in the expanded view if---as in this case---it is redundant
with the big picture).

Needed to fix BigPicture template to reveal actions.

Bug: 6289107
Change-Id: I19dc62e693ee2c87cbe82f7327fe9115768b4102
2012-05-22 17:47:33 -04:00
Chris Craik
b3e1de71ba am 49413bcc: am 7a9328a3: Merge "Add temporary functor lifetime logging" into jb-dev
* commit '49413bcccbd735be4e8ad4cf98b3ab2f892225e4':
  Add temporary functor lifetime logging
2012-05-22 14:46:25 -07:00
Adam Cohen
2628c678cd am 662e4a45: Merge "Fix ANR which could occur for collection widgets with very large items" into jb-dev
* commit '662e4a456bf1f7a3a2a2c971f7c0861ef1c159e0':
  Fix ANR which could occur for collection widgets with very large items
2012-05-22 14:45:24 -07:00
Adam Cohen
662e4a456b Merge "Fix ANR which could occur for collection widgets with very large items" into jb-dev 2012-05-22 14:41:54 -07:00
Chris Craik
49413bcccb am 7a9328a3: Merge "Add temporary functor lifetime logging" into jb-dev
* commit '7a9328a3118725389564fe2a9b926837fa3d58a9':
  Add temporary functor lifetime logging
2012-05-22 14:41:35 -07:00
Chris Craik
7a9328a311 Merge "Add temporary functor lifetime logging" into jb-dev 2012-05-22 14:39:13 -07:00
Romain Guy
ed5cbbdbe6 am 5ba87a00: am e5a4a3dc: Merge "Ensure we always set the proper blending mode Bug #6527305" into jb-dev
* commit '5ba87a007629375bf0a2e1a45cd1954adef65338':
  Ensure we always set the proper blending mode Bug #6527305
2012-05-22 14:36:39 -07:00
Romain Guy
5ba87a0076 am e5a4a3dc: Merge "Ensure we always set the proper blending mode Bug #6527305" into jb-dev
* commit 'e5a4a3dc1648844f06d29efd42c9306c3cdf177e':
  Ensure we always set the proper blending mode Bug #6527305
2012-05-22 14:32:20 -07:00
Romain Guy
e5a4a3dc16 Merge "Ensure we always set the proper blending mode Bug #6527305" into jb-dev 2012-05-22 14:28:58 -07:00
Chris Craik
f8dafa14e0 Add temporary functor lifetime logging
bug:6535911

Change-Id: Ida5cc1def7fe1fc314317bbc5df50e1465753deb
2012-05-22 14:26:15 -07:00
alanv
500b91ebac Always reference injector using get method.
Bug: 6535301
Change-Id: If1d55c3229603d12c568213bd2f271c7cb6ab139
2012-05-22 14:22:48 -07:00
Jean-Baptiste Queru
afbd314c6d am f6f26949: am 22136833: am d9bde602: Merge "String on Toast notification does not aligned to center"
* commit 'f6f269499030cdd7fea708e01e34405906ad9a46':
  String on Toast notification does not aligned to center
2012-05-22 14:22:06 -07:00
John Spurlock
bb8fe5f970 am b05d0347: am 638e012d: Merge "Status Bar: Register for rotation lock status updates." into jb-dev
* commit 'b05d03475b93ea432c135cdfac2eaf3cac963bb7':
  Status Bar: Register for rotation lock status updates.
2012-05-22 14:21:59 -07:00
Dianne Hackborn
26743444c6 am d7b376f2: am 2bccea24: Merge "Fix issue #6499411: Characters not displayed (but suggestion bar is working)" into jb-dev
* commit 'd7b376f22346da4704ea4ca667331fc94eec9195':
  Fix issue #6499411: Characters not displayed (but suggestion bar is working)
2012-05-22 14:21:52 -07:00
Chris Craik
c273cce2b8 am 1ff2c7fe: am 12fd5db4: Merge "Don\'t clear the functor at every draw" into jb-dev
* commit '1ff2c7fe91f25b85478e71f19a4528fc5fde00ba':
  Don't clear the functor at every draw
2012-05-22 14:21:43 -07:00
The Android Open Source Project
d50e13186f am fd2e67cf: Reconcile with jb-release
* commit 'fd2e67cfbfe27352b253212331a32b5be9d1bd67':
  UI test automation not working.
2012-05-22 14:21:26 -07:00
George Mount
94d326507f am 16205073: (-s ours) am 37f29abe: Merge "DO NOT MERGE Consider current scroll position to move text field into view." into jb-dev
* commit '162050737c87215bf639164cfb2ff4726ac65aea':
  DO NOT MERGE Consider current scroll position to move text field into view.
2012-05-22 14:20:24 -07:00
George Mount
34f7fa30f0 am 5e556e60: (-s ours) am 76cf7816: Merge "DO NOT MERGE Consider fixed layers when scrolling the edit box." into jb-dev
* commit '5e556e606be7709411e07cc66b379a11b59c9e25':
  DO NOT MERGE Consider fixed layers when scrolling the edit box.
2012-05-22 14:20:22 -07:00
Svetoslav Ganov
b2009b4d02 am 08d6c72d: am ec2bf4ca: Merge "UI test automation not working." into jb-dev
* commit '08d6c72dcae686daa7302aaf0be6ebae7a611ded':
  UI test automation not working.
2012-05-22 14:20:17 -07:00
Ying Wang
b50a64878e am ac9f5057: am 996b073e: Fix length of pattern.
* commit 'ac9f50573dad2050d261850f1accbcea383cc6f0':
  Fix length of pattern.
2012-05-22 14:20:14 -07:00
Jean-Baptiste Queru
f6f2694990 am 22136833: am d9bde602: Merge "String on Toast notification does not aligned to center"
* commit '22136833f995f5328d577c25de8e41684c993bbc':
  String on Toast notification does not aligned to center
2012-05-22 14:14:44 -07:00
Jean-Baptiste Queru
22136833f9 am d9bde602: Merge "String on Toast notification does not aligned to center"
* commit 'd9bde6024e87f050c8e29d3b269173340467053a':
  String on Toast notification does not aligned to center
2012-05-22 14:10:35 -07:00
Adam Cohen
35fbe2a592 Fix ANR which could occur for collection widgets with very large items
-> We cache RemoteViews which populate the AdapterViews, but only
   up to a total memory amount of 2MB. The remainder of the cache
   is pruned out. If _every_ item is greater than 2MB, we were failing
   to prune the last item, leaving the framework in a loop on a bg
   thread, but holding a lock required by the main thread.

Change-Id: I0574a25a59ebec6586ae223fff6605c0fee953c3
2012-05-22 14:10:14 -07:00
Romain Guy
ddf7437361 Ensure we always set the proper blending mode
Bug #6527305

At the beginning of a frame, always set the blending mode that we
think GL is using just in case it was modified by another entity
(for instance a WebView functor.)

Change-Id: I0e1d0abee8a2abb2b8e7622aed28346e89562c06
2012-05-22 14:08:10 -07:00
Jean-Baptiste Queru
d9bde6024e Merge "String on Toast notification does not aligned to center" 2012-05-22 13:52:59 -07:00
John Spurlock
b05d03475b am 638e012d: Merge "Status Bar: Register for rotation lock status updates." into jb-dev
* commit '638e012d2b5c2b075b48f86d08daec9b36319cfc':
  Status Bar: Register for rotation lock status updates.
2012-05-22 13:42:48 -07:00
John Spurlock
638e012d2b Merge "Status Bar: Register for rotation lock status updates." into jb-dev 2012-05-22 13:40:35 -07:00
Dianne Hackborn
d7b376f223 am 2bccea24: Merge "Fix issue #6499411: Characters not displayed (but suggestion bar is working)" into jb-dev
* commit '2bccea2461556a525c5c65be0364b5b9404c8651':
  Fix issue #6499411: Characters not displayed (but suggestion bar is working)
2012-05-22 13:16:57 -07:00
Irfan Sheriff
4dd5a25a32 Add WPS details for certification
We need to provide device details to the supplicant for WPS 2.0 certification

Bug: 6450363
Change-Id: I3eb8bc75faacf392a43b6ef3085971bd32a675ac
2012-05-22 13:15:00 -07:00
Chris Craik
1ff2c7fe91 am 12fd5db4: Merge "Don\'t clear the functor at every draw" into jb-dev
* commit '12fd5db435043681371ca7e9694744d71b6ba271':
  Don't clear the functor at every draw
2012-05-22 13:13:17 -07:00
Dianne Hackborn
2bccea2461 Merge "Fix issue #6499411: Characters not displayed (but suggestion bar is working)" into jb-dev 2012-05-22 13:13:02 -07:00