148724 Commits

Author SHA1 Message Date
Yigit Boyar
412bb5ca63 Clear TextView error when text changes
This change also fixes another bug where error popup
is cleared when cursor moves using dpad, even though
the text is not changed.

Bug: 15538489
Bug: 3370191
Change-Id: I2804b90178e77ced46477a594331ae1f7306717a
2014-08-22 16:29:08 -07:00
Jeff Sharkey
941a8ba1a6 Installing splits into ASECs!
Sessions can now zero-copy data directly into pre-allocated ASEC
containers.  Then at commit time, we compute the total size of the
final app, including any inherited APKs and unpacked libraries, and
resize the container in one step.

This supports both brand new ASEC installs and inheriting from
existing ASEC installs.  To keep things simple, it currently requires
copying any inherited ASEC contents, but this could be optimized in
the future.

Expose new vold resize command, and allow read-write mounting of ASEC
containers.  Move native library extraction into the installer flow,
since it needs to happen before ASEC is sealed.  Move multiArch flag
into NativeLibraryHelper, instead of making everyone pass it
around.  Migrate size calculation to shared location.

Separate "other" package name in public API, provide a path to a
storage device when relevant, and add more docs.

Bug: 16514385
Change-Id: I06c6ce588d312ee7e64cce02733895d640b88456
2014-08-22 16:25:04 -07:00
Adam Lesinski
4bf859a9ec Merge "AAPT: Filtering resource fix" into lmp-dev 2014-08-22 23:25:00 +00:00
Adam Lesinski
a5cc002bfe AAPT: Filtering resource fix
Previously, when filtering resources from an APK using
-c option, if one qualifier matched, we would keep the resource.
However, in the case of something like

-c fr-FR,sw360dp

and with a resource in the APK like so

drawable-fr-FR-sw600dp-v13

we would want this resource to be excluded, as it does not
match the sw360dp qualifier (must be less than or equal to it).

This CL fixed the behavior of the filter to require that all
defined qualifier axis be matched.

Bug:17142358
Change-Id: Ie48f3d516a0e610abc7ba8a7ced4eb3ab52534d4
2014-08-22 16:09:54 -07:00
Matthew Williams
d1c06753d0 Implement API review feedback for JobScheduler
BUG: 17005336

Took the opportunity to clean up some back-off logic

Change-Id: Ibc8ae34d1d44dd064ba071e4cbad17872f7e38cf
2014-08-22 16:08:45 -07:00
Jim Miller
c7639333f8 Merge "Update TrustAgentService API after review." into lmp-dev 2014-08-22 23:08:32 +00:00
Elliott Hughes
ed40256670 Merge "Use CLDR narrow am/pm markers." into lmp-dev 2014-08-22 23:02:14 +00:00
Jim Miller
d4efaac5d5 Update TrustAgentService API after review.
Also documents timebase on related DevicePolicyManager API.

Fixes bugs 16401527 and 17046034

Change-Id: I8ee6d0055ab6f52ec71630344d3232f7875d9c1d
2014-08-22 22:43:30 +00:00
Michael Wright
251e35da76 Cancel pending meta actions when the key pressed *isn't* meta.
Bug: 17207035
Change-Id: I980107a453814e4e34e32db338620e90d3b388ee
2014-08-22 15:40:27 -07:00
John Spurlock
7653a30ea0 Merge "Display notification effects suppressor in the volume panel." into lmp-dev 2014-08-22 22:09:35 +00:00
Guang Zhu
12747ab3aa add some missing assert messages for wifi test
Change-Id: I04f4cbbca1a181ab1404fa3abba874e1f78fed3c
2014-08-22 15:08:36 -07:00
John Spurlock
b4782526f5 Display notification effects suppressor in the volume panel.
Bug:16958514

Change-Id: I0eac173875e8af62e3c6b39001722c3fda4517de
2014-08-22 18:08:17 -04:00
Pat Tjin
5fa3f3a995 Merge "SurfaceControl: free ref when not used anymore" into lmp-dev 2014-08-22 22:04:37 +00:00
RoboErik
7e2b3008f1 Ensure current volume is current
This sets the current volume when a session is switched over to
remote playback. Otherwise it won't be current until it changes and
sends an update.

Change-Id: Iabedb24a34e88308e7e3c56a2b1ab279a17b466b
2014-08-22 14:39:36 -07:00
Adam Powell
c9991c7149 Merge "Fix (another) measurement issue in ActionBarContainer" into lmp-dev 2014-08-22 21:20:24 +00:00
Robert Greenwalt
acb570cd84 Merge "Add config settings for ethernet/wifi tcp buffers" into lmp-dev 2014-08-22 21:14:34 +00:00
Christopher Tate
e7bbe47833 Merge "Automatically bind to newly-installed backup transports" into lmp-dev 2014-08-22 21:11:41 +00:00
Adam Lesinski
37e6cbae59 Merge "AAPT: Dump installLocation in badging" into lmp-dev 2014-08-22 21:09:00 +00:00
Amith Yamasani
6dd08fdd91 Merge "Show a user switching dialog before starting the user switch" into lmp-dev 2014-08-22 21:08:15 +00:00
Matthew Williams
12eec2341d Merge "JobScheduler only run jobs for started users." into lmp-dev 2014-08-22 21:08:06 +00:00
Svetoslav
d9a218d499 Merge "Fix jank in when drawing magnification bounds" into lmp-dev 2014-08-22 21:07:09 +00:00
ztenghui
190ead730f Merge "Improve the spot shadow computation." into lmp-dev 2014-08-22 21:04:49 +00:00
Adam Powell
2b7ff72683 Fix (another) measurement issue in ActionBarContainer
Or, the patch in which we discover how many silly bugs adamp caused in
e77b6590.

Change-Id: Iaacd3792d161e068dee74b897872e9ab2f155aca
2014-08-22 13:57:43 -07:00
ztenghui
c50a03d78a Improve the spot shadow computation.
Get rid of compuation of the intersection for penumbra and convex hull for umbra.
Use simple circle / normal to compute the penumbra and simple intersection for umbra.

The new way could be 2x to 4x faster from rectangle to round shape.
And this part is roughly half of the shadow computation, or 2/3 of spot shadow
computation.

This improve the spot shadow spikeness too.

b/16712006
b/14976551

Change-Id: I02911784868731369efa73f76fc915bc08248600
2014-08-22 13:51:16 -07:00
Elliott Hughes
5d04fee900 Merge "Don't show the pseudolocales unless we're in developer mode." into lmp-dev 2014-08-22 20:42:19 +00:00
Christopher Tate
5684dae9cc Automatically bind to newly-installed backup transports
They'll be rebound automatically at boot, but need to be brought
up immediately.  As always they can only be provided by privileged
apps.

Bug 16542048

Change-Id: I9f121a5c111a772deb3f0c44166002a2cbb16ad5
2014-08-22 13:29:46 -07:00
giseok.seo
83749f3479 Use proper ril.ecclist when no sim state
Bug: 17139446
Signed-off-by: giseok.seo <giseok.seo@lge.com>
Change-Id: I2f420973b29092b8a6cceb8cf4bd77d0ee8372bd
2014-08-22 20:27:20 +00:00
ztenghui
a94900e587 Merge "Fixing AVD animation with startOffset" into lmp-dev 2014-08-22 20:23:24 +00:00
John Reck
ef22000ea9 Merge "Revert immutable Shader change" into lmp-dev 2014-08-22 20:19:34 +00:00
Dianne Hackborn
250bf41b8e Merge "Work on issue #17011123: Hit Back/Recents button when in Recents..." into lmp-dev 2014-08-22 20:05:39 +00:00
Adam Lesinski
caf797c84a AAPT: Dump installLocation in badging
Bug:17033144
Change-Id: I87dea9af47eef8bcba1465df9b49e355ac6346ec
2014-08-22 13:01:11 -07:00
Amith Yamasani
7805a10c86 Show a user switching dialog before starting the user switch
switchUser() now first shows a dialog and the dialog calls
startUserInForeground to do the actual switch.

Bug: 16661752
Change-Id: Ie4e2e9eec8bf7c2116694072ea8555b8254a0e13
2014-08-22 13:00:22 -07:00
Thierry Strudel
5474f3396a SurfaceControl: free ref when not used anymore
C standard does not ensure order in which arguments are evaluated leading to
faulty behavior in x86 case.

Bug: 17206275

Change-Id: I6553c55bcf646d93413135aed733f20b91852735
Signed-off-by: Thierry Strudel <thierry.strudel@intel.com>
2014-08-22 19:48:27 +00:00
Christian Robertson
3b4a499257 Merge "Changed the color of buttonBarButtonStyle in the Material theme" into lmp-dev 2014-08-22 19:48:00 +00:00
ztenghui
14aedd1fbf Fixing AVD animation with startOffset
b/17160751

Change-Id: If030ca04f5a7dd7e732dcc5dfb18d51faa7e7b79
2014-08-22 12:41:06 -07:00
Christoph Studer
28d6247b3d Merge "NoMan: Turn off aggregated stats" into lmp-dev 2014-08-22 19:40:57 +00:00
Christoph Studer
9e3618c28f Merge "NoMan: Add flag to turn off aggregated in-mem stats" into lmp-dev 2014-08-22 19:40:17 +00:00
Lajos Molnar
a802e26d08 Merge "MediaCodeInfo: fix support for feature-can-swap-width-height" into lmp-dev 2014-08-22 19:38:23 +00:00
Tyler Gunn
9edf297055 Merge "Hiding missed Video telephony related APIs." into lmp-dev 2014-08-22 19:20:00 +00:00
Ronghua Wu
306afb9142 Merge "VideoView: unhide setVideoURI api and add document." into lmp-dev 2014-08-22 19:16:58 +00:00
Yigit Boyar
1960b32434 Merge "Fix RTL bug for actionbar tooltips" into lmp-dev 2014-08-22 19:15:40 +00:00
Yigit Boyar
a0a6d224ad Merge "Change actionbar title size for landscape" into lmp-dev 2014-08-22 19:15:25 +00:00
Svetoslav
7505e3315c Fix jank in when drawing magnification bounds
There was an off-by-one error in computing the invalidated
rectangle when drawing the magnified region border.

bug:17199352

Change-Id: Id0a1af092b7124bbdca316534c035ed9af829326
2014-08-22 12:14:47 -07:00
Christoph Studer
0a31453864 NoMan: Turn off aggregated stats
Aggregated stats can grow unboundedly and shouldn't be enabled
for prod builds.

Bug: 16777910
Change-Id: I1c9303fc3aab93fd75f4dfbbf2e3de467a72f99e
2014-08-22 21:03:48 +02:00
Christoph Studer
856b2b8135 NoMan: Add flag to turn off aggregated in-mem stats
Bug: 16777910
Change-Id: Ic5baa910988f027c82ba16d713a44cc5d55b8333
2014-08-22 21:03:37 +02:00
Elliott Hughes
dee5cde1ec Don't show the pseudolocales unless we're in developer mode.
The old zz_ZY and zz_ZZ pseudolocales are gone, replaced by ar_XB and en_XA.
The existing check for "developer mode" wasn't working, and now the
pseudolocales are there by default, we want to _remove_ them if we're not
in developer mode rather than add them if we are in developer mode.

Bug: 17190407
Change-Id: I6ee6eba53f5b816ef8e0d1768c94cd3484a196b5
2014-08-22 11:57:15 -07:00
Selim Cinek
2ee5f8ff5e Fixed a ltr bug where the buttons disappeared
Bug: 15280748
Change-Id: If2fdeef42cba867c234300f4e5484022c405c587
2014-08-22 20:43:02 +02:00
Jae Seo
ae06aec9bb Merge "TIF: Fix comments in TvContentRating" into lmp-dev 2014-08-22 18:41:32 +00:00
Baligh Uddin
00e4b6c50a am b48db445: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-modular-dev
* commit 'b48db44556178ec708811fc713f75bf8ffa40c00':
  Import translations. DO NOT MERGE
2014-08-22 18:36:28 +00:00
Baligh Uddin
7fbc5ae885 am 2be95a8b: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-modular-dev
* commit '2be95a8bcf28fafff69c8e036c5ba5eb3f1884bd':
  Import translations. DO NOT MERGE
2014-08-22 18:36:24 +00:00