154140 Commits

Author SHA1 Message Date
Etan Cohen
a33cf075fa Fix concurrent access violation.
Change-Id: I8586629cafe585135f0f72ba011b65f81242fc22
2014-09-30 22:23:49 +00:00
Winson Chung
c11b19caef Fixing an issue with leaking starting windows. (Bug 17657878)
In some cases, when starting an animation while another starting window is visible,
the starting window is never scheduled to be removed.  In that case, we try and
schedule the closing app starting window to be removed when we are starting the
transition to a new activity.  This also partially addresses issues related to
leaking windows in b/17381033.

Change-Id: Id26525cd71380852f109ec2f55a4a60db5086ded
2014-09-30 22:21:26 +00:00
Adam Powell
fe426d061a Merge "Inset the non-overlay contextual action bar without a status guard" into lmp-dev 2014-09-30 22:17:01 +00:00
Ricardo Cervera
571e918345 docs: ADT beginner text fix
Change-Id: I03cc08d5a4f12137a573c23d1ee07e048225c8f5
2014-09-30 15:07:16 -07:00
Alan Viverette
c44c77d305 Merge "Implement missing visibility management for FrameLayout foreground" into lmp-dev 2014-09-30 22:06:05 +00:00
ztenghui
ffa16f9448 Merge "Correct the documentation for VectorDrawable" into lmp-dev 2014-09-30 22:06:00 +00:00
Ruben Brunk
b3c802f238 Merge "camera2: Use valid dimensions for RGBA8888 gralloc buffers." into lmp-dev 2014-09-30 22:05:48 +00:00
Craig Mautner
49a2edf92a Call Surface.release() for starting windows
If the window maanger received BinderDied for a starting window
before activity manager then it would null
AppWindowToken.startingWindow and not go through the
PhoneWindowManager.removeStartingWindow call later. That meant that
Surface.release() was never called from
ViewRootImpl.dispatchDetachedFromWindow(). Which in turn meant that
graphics memory was being leaked.

This change notifies the PhoneWindowManager to go through the
removeStartingWindow path when the starting window gets removed for
any reason.

This change also ensures that scheduleRemoveStartingWindow is
always called with the window manager lock held.

Fixes bug 17381033.

Change-Id: Ic6860d0e1410c9bb5053d85ae21a08b11f573b6d
2014-09-30 15:05:37 -07:00
ztenghui
c3fdffa981 Correct the documentation for VectorDrawable
We missed the alpha for the vector drawable root level in the documentation.
And the animation target can be vector drawable itself for the alpha value,
which is more than path and group object.

b/17696183

Change-Id: Ic9d441fbdf411dad92718ae5adbc6655fe708453
2014-09-30 15:02:24 -07:00
Alan Viverette
6dece79fc8 Add activated text colors, update Material preference header
Addresses contrast issues when using activated background.

BUG: 17521147
Change-Id: Ia242c6d7bd0c1b5ca545a81fe515f15320b14d67
2014-09-30 14:43:32 -07:00
Alan Viverette
3be5e0e625 Implement missing visibility management for FrameLayout foreground
BUG: 15350931
Change-Id: I16900d0d95051489852385d682e7b5aa4adad327
2014-09-30 14:27:58 -07:00
Jeff Sharkey
b27d43a880 Merge "Clear ident when obtaining provider across users." into lmp-dev 2014-09-30 21:10:49 +00:00
Jeff Sharkey
c0322ecda5 Clear ident when obtaining provider across users.
When calling getContentProvider() across user boundaries, and
creating the provider for the first time, we need to clear caller
identity.  (We could have torn down the provider while the system
was under memory pressure.)

Bug: 17409650
Change-Id: I67713a03e5f7106f5e8fcf33fe3fdae81ce644ec
2014-09-30 14:01:32 -07:00
Ruben Brunk
0c79884076 camera2: Use valid dimensions for RGBA8888 gralloc buffers.
Bug: 17675571

- All of the mistakes were made.  Unmake them.

Change-Id: I23ff7a553347d4d9588c728219f4bf0604ba2e38
2014-09-30 13:54:20 -07:00
Adam Powell
46cbf7e190 Inset the non-overlay contextual action bar without a status guard
When the status guard is not available, (e.g. when the window is not
drawing system bars) do not consume the insets when an action mode is
active.

Bug 17691453

Change-Id: I459622eaf161a96152fb9ac5f60bb9508aa4de89
2014-09-30 13:31:51 -07:00
Dianne Hackborn
9cf01b63cb Merge "More work on issue #17656716: Unhandled exception in Window Manager" into lmp-dev 2014-09-30 20:18:49 +00:00
Svetoslav
44d4eeaa48 Merge "Use default encryption password if an accessibility service is enabled." into lmp-dev 2014-09-30 20:01:04 +00:00
Svetoslav
16e4a1aade Use default encryption password if an accessibility service is enabled.
When device is encrypted the user has to authenticate in order to decrypt
the data partition which is required for running accessibility services
and Text-To-Speech. In order to address this issue we are falling back
to use the default password if there is an enabled accessibility service
and the user has secure lock. This will enable the user to authenticate
when accessibility layer is completely functional.

bug:17671790

Change-Id: Iafffe7bcd234008cf91ffb5011b21b803dca227a
2014-09-30 13:00:11 -07:00
Fabrice Di Meglio
415393f424 Merge "Update for bug #17521147 Settings activity looks terrible on Volantis" into lmp-dev 2014-09-30 19:46:13 +00:00
kmccormick
76ab6c6290 Doc update: Update preprod (staging) instructions.
Fix for:

b/17525318

Change-Id: Id93bd3e6e1fd5f203733121e3148cec8b24ab374
2014-09-30 12:24:40 -07:00
Winson Chung
da649073bd Merge "Fixing regression with black task bar background. (Bug 17584337)" into lmp-dev 2014-09-30 19:16:22 +00:00
Chris Wren
c3328cacda Merge "Add a returns clause to the matchesInterruptionFilter javadoc." into lmp-dev 2014-09-30 18:51:28 +00:00
Chris Wren
af098c5657 Merge "Update the documentation on EXTRA_PEOPLE." into lmp-dev 2014-09-30 18:50:05 +00:00
Paul Jensen
8df099df15 Make CaptivePortalLogin app exit if underlying Network disconnects.
The app is no longer useful if the underlying Network has disconnected
and could get in the way of another signing into another Network.

bug:17672087
Change-Id: I26e820444640975e7fd4dd73244f4d4f4b40cb5e
2014-09-30 14:34:04 -04:00
Dianne Hackborn
ce92b0d070 More work on issue #17656716: Unhandled exception in Window Manager
Drop down the limit on when we log, since under normal operation we
will never get more than a few K of data due to strict mode.

Try to clean up the code paths coming in and out of binder IPCs to
plug any places where we could disrupt the gather flag of a thread,
causing it to keep gathering stack crawls (which is the thing that
is causing our strict mode data to become so large).

Change-Id: I9a46512283d33e863c429840b465855d1fabb74e
2014-09-30 11:28:18 -07:00
Eino-Ville Talvala
3adf18dc33 Camera2 Legacy: Set a default thumbnail size
Generally, JPEGs are better with thumbnails, and the default parameters
typically set a basic thumbnail size. In legacy, include a default size in the
templates.

This also works around issues with some devices not producing valid images with no
thumbnail.

Bug: 17724701
Change-Id: I2ad1449fc8c6d1fdec609af55f53db7491abbb92
2014-09-30 17:42:17 +00:00
Chris Wren
0fef44de68 Add a returns clause to the matchesInterruptionFilter javadoc.
Bug: 17641219
Change-Id: I4f1949902bf872823389f3db8e694e370e113295
2014-09-30 13:05:14 -04:00
Alexandra Gherghina
75c33d9d04 Merge "Adds the ability to start a user in background" into lmp-dev 2014-09-30 17:00:14 +00:00
Dianne Hackborn
c3014c8cf8 Merge "Fix issue #17705755: Battery stats resets at incorrect times" into lmp-dev 2014-09-30 16:45:26 +00:00
RoboErik
80aa626e04 am a65a4f64: am 9eef5bf8: Merge "Be more paranoid about threading in MediaSessionRecord" into lmp-dev
* commit 'a65a4f64e6206c370bce79d74753f6f67bc4b4e0':
  Be more paranoid about threading in MediaSessionRecord
2014-09-30 16:43:43 +00:00
Winson Chung
e3206407a5 Merge "Fixing crash in Recents due to late onBootCompleted call (Bug 17572254)" into lmp-dev 2014-09-30 16:39:43 +00:00
John Spurlock
a1b84165f9 Merge "Don't play hint animations when dozing" into lmp-dev 2014-09-30 16:35:26 +00:00
RoboErik
a65a4f64e6 am 9eef5bf8: Merge "Be more paranoid about threading in MediaSessionRecord" into lmp-dev
* commit '9eef5bf8d1a69879ada3176c839676dc82b14daf':
  Be more paranoid about threading in MediaSessionRecord
2014-09-30 16:32:03 +00:00
Chris Wren
e6c4893ed4 Update the documentation on EXTRA_PEOPLE.
Include the supported formats with links to ContactsContract documentation.

Bug: 15283556
Change-Id: Ic48b0a9ad1be61f0fa119b1d0e9d6aac5e5bea27
2014-09-30 11:57:03 -04:00
Jorim Jaggi
d7912d2f10 Don't play hint animations when dozing
Bug: 17718416
Change-Id: I2c27b4ea479ee46612eb5284a2c872d03dc52ab0
2014-09-30 17:38:19 +02:00
Jason Monk
e7b18d2bab Merge "Pull roaming from mServiceState for consistency" into lmp-dev 2014-09-30 15:30:11 +00:00
George Mount
8afceda141 Merge "Clear preordered list after use." into lmp-dev 2014-09-30 14:58:21 +00:00
Derek Sollenberger
345effc2b2 Merge "Fix memory leak where we close the descriptor instead of the file." into lmp-mr1-dev 2014-09-30 14:34:58 +00:00
John Spurlock
ee98df79a1 Doze: Log screenOnFromTouch when flinging.
Bug: 17350239
Bug: 17496795
Change-Id: I4a8e26c2fc05cf4396e9c8cb58e81b4f95c531e6
2014-09-30 14:07:23 +00:00
Jason Monk
1cd44e3ab4 Pull roaming from mServiceState for consistency
Also consolidate roaming logic while here, to make it easier to
maintain.

Bug: 17514906
Bug: 17619763
Change-Id: I8efabdecc26722ff6ac70d715f3befaae989abdc
2014-09-30 10:05:46 -04:00
Narayan Kamath
eff258c305 Set Build.CPU_ABI{2} from SUPPORTED_{32,64}_BIT_ABIS
32 bit processes will always see values from SUPPORTED_32_BIT_ABIS
and 64 bit processes will always see values from SUPPORTED_64_BIT_ABIS.

bug: 17367265
Change-Id: I9996034c190f9213986b9b1a4ee0e38eca91c7ad
2014-09-30 13:56:06 +01:00
Baligh Uddin
079d682d07 Import translations. DO NOT MERGE
Change-Id: I5b0a638907398f87246ee480b5f7683382d834ca
Auto-generated-cl: translation import
2014-09-30 04:08:15 -07:00
Baligh Uddin
263f3f2505 Import translations. DO NOT MERGE
Change-Id: I5d014bb505bd408fa40c0f30e6e28623e3006d5c
Auto-generated-cl: translation import
2014-09-30 04:02:54 -07:00
Baligh Uddin
3fd0438f55 Import translations. DO NOT MERGE
Change-Id: Ic6eb721869643c210f5e3e89fb407a346d27ffd2
Auto-generated-cl: translation import
2014-09-30 04:00:07 -07:00
Andrew Hsieh
c9d32390e5 include direct.h for _mkdir
Bug: 14416410

The new mingw-w64 toolchain x86_64-w64-mingw32-4.8 no longer
declares _mkdir in io.h.

Change-Id: I624b52d2f35db54a7f28df09f997fc883b0f0557
2014-09-30 02:28:05 -07:00
Baligh Uddin
434e3f5692 Import translations. DO NOT MERGE
Change-Id: I7312c543254668cb3b572767fe94a3d8736b04f3
Auto-generated-cl: translation import
2014-09-30 01:20:57 -07:00
Baligh Uddin
38c6643e8e Import translations. DO NOT MERGE
Change-Id: Iab979f7e50308c63085496805282145f2788489c
Auto-generated-cl: translation import
2014-09-30 01:00:26 -07:00
Baligh Uddin
37add6f7ca Import translations. DO NOT MERGE
Change-Id: I9db118f3301f8fc89a4e4cca12410d1962a2a7a8
Auto-generated-cl: translation import
2014-09-30 00:52:27 -07:00
Jungshik Jang
8dff369838 Merge "Update CEC keycode repeat status." into lmp-mr1-dev 2014-09-30 04:47:56 +00:00
Matthew Williams
bc156ba430 Merge "Fix deadlock caused by clearAllBackoffs in SSE" into lmp-dev 2014-09-30 03:09:10 +00:00