OSDN Git Service

android-x86/frameworks-base.git
10 years agoam 1b007565: am 9b650702: Merge "Fix state transition verification." into klp-dev
Xia Wang [Tue, 18 Mar 2014 22:22:37 +0000 (22:22 +0000)]
am 1b007565: am 9b650702: Merge "Fix state transition verification." into klp-dev

* commit '1b007565c73097728496f3dbe811a51c879ba89e':
  Fix state transition verification.

10 years agoam 9b650702: Merge "Fix state transition verification." into klp-dev
Xia Wang [Tue, 18 Mar 2014 22:16:26 +0000 (22:16 +0000)]
am 9b650702: Merge "Fix state transition verification." into klp-dev

* commit '9b650702113f8a17e09940c3802de71a9fc62ff1':
  Fix state transition verification.

10 years agoMerge "Fix state transition verification." into klp-dev
Xia Wang [Tue, 18 Mar 2014 22:10:32 +0000 (22:10 +0000)]
Merge "Fix state transition verification." into klp-dev

10 years agoam a4a1c0d4: am ac275cb3: am 1f3186ee: (-s ours) am 67a92975: am 88da2bfa: am ed529a5...
Adrian Roos [Tue, 18 Mar 2014 21:47:18 +0000 (21:47 +0000)]
am a4a1c0d4: am ac275cb3: am 1f3186ee: (-s ours) am 67a92975: am 88da2bfa: am ed529a5a: (-s ours) am 500ec9ce: am 25fb7133: am 0b2f2122: am d3da8f71: am ecba937b: DO NOT MERGE - Fix keyguard pattern lockout bug

* commit 'a4a1c0d4ee66f85376adbd71800e05b88b60c5b7':
  DO NOT MERGE - Fix keyguard pattern lockout bug

10 years agoam ac275cb3: am 1f3186ee: (-s ours) am 67a92975: am 88da2bfa: am ed529a5a: (-s ours...
Adrian Roos [Tue, 18 Mar 2014 21:07:28 +0000 (21:07 +0000)]
am ac275cb3: am 1f3186ee: (-s ours) am 67a92975: am 88da2bfa: am ed529a5a: (-s ours) am 500ec9ce: am 25fb7133: am 0b2f2122: am d3da8f71: am ecba937b: DO NOT MERGE - Fix keyguard pattern lockout bug

* commit 'ac275cb3d8184e83228899280bb8901e30f3a5f2':
  DO NOT MERGE - Fix keyguard pattern lockout bug

10 years agoam 1f3186ee: (-s ours) am 67a92975: am 88da2bfa: am ed529a5a: (-s ours) am 500ec9ce...
Adrian Roos [Tue, 18 Mar 2014 21:03:15 +0000 (21:03 +0000)]
am 1f3186ee: (-s ours) am 67a92975: am 88da2bfa: am ed529a5a: (-s ours) am 500ec9ce: am 25fb7133: am 0b2f2122: am d3da8f71: am ecba937b: DO NOT MERGE - Fix keyguard pattern lockout bug

* commit '1f3186ee4505997ef3a235f669313236099308f4':
  DO NOT MERGE - Fix keyguard pattern lockout bug

10 years agoam 67a92975: am 88da2bfa: am ed529a5a: (-s ours) am 500ec9ce: am 25fb7133: am 0b2f212...
Adrian Roos [Tue, 18 Mar 2014 20:59:28 +0000 (13:59 -0700)]
am 67a92975: am 88da2bfa: am ed529a5a: (-s ours) am 500ec9ce: am 25fb7133: am 0b2f2122: am d3da8f71: am ecba937b: DO NOT MERGE - Fix keyguard pattern lockout bug

* commit '67a92975ac638db3d51ea4978cf78ee207fcceb7':
  DO NOT MERGE - Fix keyguard pattern lockout bug

10 years agoam 88da2bfa: am ed529a5a: (-s ours) am 500ec9ce: am 25fb7133: am 0b2f2122: am d3da8f7...
Adrian Roos [Tue, 18 Mar 2014 20:53:17 +0000 (13:53 -0700)]
am 88da2bfa: am ed529a5a: (-s ours) am 500ec9ce: am 25fb7133: am 0b2f2122: am d3da8f71: am ecba937b: DO NOT MERGE - Fix keyguard pattern lockout bug

* commit '88da2bfaacaafebdd2e0fb9542386486b9594871':
  DO NOT MERGE - Fix keyguard pattern lockout bug

10 years agoam ed529a5a: (-s ours) am 500ec9ce: am 25fb7133: am 0b2f2122: am d3da8f71: am ecba937...
Adrian Roos [Tue, 18 Mar 2014 20:47:58 +0000 (13:47 -0700)]
am ed529a5a: (-s ours) am 500ec9ce: am 25fb7133: am 0b2f2122: am d3da8f71: am ecba937b: DO NOT MERGE - Fix keyguard pattern lockout bug

* commit 'ed529a5a78ade4833a8fd2ddfaf88d68ca260e6b':
  DO NOT MERGE - Fix keyguard pattern lockout bug

10 years agoam 500ec9ce: am 25fb7133: am 0b2f2122: am d3da8f71: am ecba937b: DO NOT MERGE - Fix...
Adrian Roos [Tue, 18 Mar 2014 20:41:20 +0000 (13:41 -0700)]
am 500ec9ce: am 25fb7133: am 0b2f2122: am d3da8f71: am ecba937b: DO NOT MERGE - Fix keyguard pattern lockout bug

* commit '500ec9ce4b7856eca480c4c7dca8df1211614102':
  DO NOT MERGE - Fix keyguard pattern lockout bug

10 years agoam 25fb7133: am 0b2f2122: am d3da8f71: am ecba937b: DO NOT MERGE - Fix keyguard patte...
Adrian Roos [Tue, 18 Mar 2014 20:34:05 +0000 (13:34 -0700)]
am 25fb7133: am 0b2f2122: am d3da8f71: am ecba937b: DO NOT MERGE - Fix keyguard pattern lockout bug

* commit '25fb7133901f6a538d5d365f3c0c1c936e76679d':
  DO NOT MERGE - Fix keyguard pattern lockout bug

10 years agoam 0b2f2122: am d3da8f71: am ecba937b: DO NOT MERGE - Fix keyguard pattern lockout bug
Adrian Roos [Tue, 18 Mar 2014 20:28:17 +0000 (13:28 -0700)]
am 0b2f2122: am d3da8f71: am ecba937b: DO NOT MERGE - Fix keyguard pattern lockout bug

* commit '0b2f212204bd71700a4a32b87ac2d4c6a0c56feb':
  DO NOT MERGE - Fix keyguard pattern lockout bug

10 years agoam d3da8f71: am ecba937b: DO NOT MERGE - Fix keyguard pattern lockout bug
Adrian Roos [Tue, 18 Mar 2014 20:24:35 +0000 (13:24 -0700)]
am d3da8f71: am ecba937b: DO NOT MERGE - Fix keyguard pattern lockout bug

* commit 'd3da8f711ec642322e497a493985bed5c43f597b':
  DO NOT MERGE - Fix keyguard pattern lockout bug

10 years agoam ecba937b: DO NOT MERGE - Fix keyguard pattern lockout bug
Adrian Roos [Tue, 18 Mar 2014 20:17:12 +0000 (13:17 -0700)]
am ecba937b: DO NOT MERGE - Fix keyguard pattern lockout bug

* commit 'ecba937b005b07d72eadfaf93a200e0b14af2980':
  DO NOT MERGE - Fix keyguard pattern lockout bug

10 years agoadd option to shutdown after factory reset
Doug Zongker [Tue, 18 Mar 2014 19:52:04 +0000 (12:52 -0700)]
add option to shutdown after factory reset

Add a new hidden method to recovery system to trigger a factory reset
followed by a shutdown, rather than a reboot back to the regular
system.  Use this flag when the MASTER_CLEAR intent is broadcast with
a boolean extra "shutdown" set to true.

Change-Id: I2ceb25b715d9f0ef492a75b3d287d1e17cec89ef

10 years agoFix state transition verification.
Xia Wang [Tue, 4 Mar 2014 19:29:18 +0000 (11:29 -0800)]
Fix state transition verification.

When there is connectivity state change, the network states could be broadcasted multiple times.
The state transition should consider that.

Bug: 13277256
Change-Id: I3d400900a0e2454f9d198629f1c062cbb15bdcd8
(cherry picked from commit 71aae0b6fd1bb9204b81c2e9447f3544c29579c4)

10 years agoDO NOT MERGE - Fix keyguard pattern lockout bug
Adrian Roos [Tue, 18 Mar 2014 17:33:14 +0000 (18:33 +0100)]
DO NOT MERGE - Fix keyguard pattern lockout bug

(cherry picked from commit 91c9561cbe665f91e1665f30362c409ae180b127)

Bug: 13302967
Change-Id: I35e7319f8767b2320dc11d9bfe8dc034e2a39b28

10 years agoam 965e5e85: am ace69017: docs: Reverted ADT 22.6.1 links
Ricardo Cervera [Tue, 18 Mar 2014 17:17:30 +0000 (17:17 +0000)]
am 965e5e85: am ace69017: docs: Reverted ADT 22.6.1 links

* commit '965e5e8520d040ce7e064db665982eb98c626b2b':
  docs: Reverted ADT 22.6.1 links

10 years agoam ace69017: docs: Reverted ADT 22.6.1 links
Ricardo Cervera [Tue, 18 Mar 2014 17:11:58 +0000 (17:11 +0000)]
am ace69017: docs: Reverted ADT 22.6.1 links

* commit 'ace69017443eac3101bf5e36f863fd3cf80cce9f':
  docs: Reverted ADT 22.6.1 links

10 years agodocs: Reverted ADT 22.6.1 links
Ricardo Cervera [Tue, 18 Mar 2014 17:02:06 +0000 (10:02 -0700)]
docs: Reverted ADT 22.6.1 links

Change-Id: Ic08cd7df8d50235e6a673f00dda6baa6863c9025

10 years agoam f60dd6e2: am 50d7dc99: add ALL of the Android Wear Dev Preview docs to DAC these...
Scott Main [Tue, 18 Mar 2014 12:54:45 +0000 (12:54 +0000)]
am f60dd6e2: am 50d7dc99: add ALL of the Android Wear Dev Preview docs to DAC these were built from the klp-cw-preview-release branch.

* commit 'f60dd6e2d2765b01018da69dc9ee776e50b47431':
  add ALL of the Android Wear Dev Preview docs to DAC these were built from the klp-cw-preview-release branch.

10 years agoam 50d7dc99: add ALL of the Android Wear Dev Preview docs to DAC these were built...
Scott Main [Tue, 18 Mar 2014 12:51:40 +0000 (12:51 +0000)]
am 50d7dc99: add ALL of the Android Wear Dev Preview docs to DAC these were built from the klp-cw-preview-release branch.

* commit '50d7dc99e507082c81476ea1474de9970589dee5':
  add ALL of the Android Wear Dev Preview docs to DAC these were built from the klp-cw-preview-release branch.

10 years agoadd ALL of the Android Wear Dev Preview docs to DAC
Scott Main [Tue, 18 Mar 2014 12:13:12 +0000 (05:13 -0700)]
add ALL of the Android Wear Dev Preview docs to DAC
these were built from the klp-cw-preview-release branch.

Change-Id: I9beef683528cfe57b4d088fe7adeb1638b89a640

10 years agoam 60409d80: am 81857ec5: add android wear to the home carousel
Scott Main [Tue, 18 Mar 2014 12:09:53 +0000 (12:09 +0000)]
am 60409d80: am 81857ec5: add android wear to the home carousel

* commit '60409d802e5df6f85f1f91036327a146b48601c1':
  add android wear to the home carousel

10 years agoam 81857ec5: add android wear to the home carousel
Scott Main [Tue, 18 Mar 2014 12:05:40 +0000 (12:05 +0000)]
am 81857ec5: add android wear to the home carousel

* commit '81857ec572b133f99cdbcd575774eb5f9be073b0':
  add android wear to the home carousel

10 years agoadd android wear to the home carousel
Scott Main [Tue, 18 Mar 2014 09:59:13 +0000 (02:59 -0700)]
add android wear to the home carousel

Change-Id: I1dc50100dd50a710a23b08f677121d499c166b3f

10 years agoMake InternalListener static to avoid referencing SpeechRecognizer.
Mark Renouf [Mon, 17 Mar 2014 21:51:35 +0000 (17:51 -0400)]
Make InternalListener static to avoid referencing SpeechRecognizer.

Change-Id: I03bc1a5f5188551608395f3468aa69e622601820
(cherry picked from commit b37866db469e81aca534ff6186bdafd44352329b)

10 years agoam f7c3ecc1: am 71a47aa7: Merge "docs: Added release notes for SDK 22.6.1" into klp...
Ricardo Cervera [Mon, 17 Mar 2014 22:14:25 +0000 (22:14 +0000)]
am f7c3ecc1: am 71a47aa7: Merge "docs: Added release notes for SDK 22.6.1" into klp-docs

* commit 'f7c3ecc1e14ebe3666822ad23f9da340f731d1b9':
  docs: Added release notes for SDK 22.6.1

10 years agoam 71a47aa7: Merge "docs: Added release notes for SDK 22.6.1" into klp-docs
Ricardo Cervera [Mon, 17 Mar 2014 22:11:12 +0000 (22:11 +0000)]
am 71a47aa7: Merge "docs: Added release notes for SDK 22.6.1" into klp-docs

* commit '71a47aa7f0ea18bc4d10d87a1932c9f19554fb15':
  docs: Added release notes for SDK 22.6.1

10 years agoMerge "docs: Added release notes for SDK 22.6.1" into klp-docs
Ricardo Cervera [Mon, 17 Mar 2014 22:07:17 +0000 (22:07 +0000)]
Merge "docs: Added release notes for SDK 22.6.1" into klp-docs

10 years agodocs: Added release notes for SDK 22.6.1
Ricardo Cervera [Fri, 7 Mar 2014 22:53:35 +0000 (14:53 -0800)]
docs: Added release notes for SDK 22.6.1

Added release notes for SDK 22.6.1.

stage: http://quixote.mtv:8001/tools/sdk/eclipse-adt.html

Patch: Addressed Joe's comments.
Patch: Addressed Joe's comments.
Patch: Addressed Joe's comments.
Patch: Added new release notes info from Raphael.
Patch: Addressed Joe's comments.
Patch: Addressed Joe's comments.

Change-Id: I229c6b366c19d1d119ccd180ead04f7dd044de4e

10 years agoMerge "Remove reflection instantiation of Accessibility" into klp-modular-dev
Adam Lesinski [Mon, 17 Mar 2014 19:56:09 +0000 (19:56 +0000)]
Merge "Remove reflection instantiation of Accessibility" into klp-modular-dev

10 years agoRemove reflection instantiation of Accessibility
Adam Lesinski [Mon, 17 Mar 2014 19:54:03 +0000 (12:54 -0700)]
Remove reflection instantiation of Accessibility

Accessibility is mandatory so reflection is not required.

Change-Id: Ie5c7b0bba26809425fe0f66efcc09c333138b21f

10 years agoFix JavaDoc
Ben Murdoch [Mon, 17 Mar 2014 19:20:43 +0000 (19:20 +0000)]
Fix JavaDoc

Change-Id: I20d0b1544ba88c694b950ef6062f93c65b16d371

10 years agoMerge "Fix javadoc." into klp-modular-dev
Torne (Richard Coles) [Mon, 17 Mar 2014 17:58:29 +0000 (17:58 +0000)]
Merge "Fix javadoc." into klp-modular-dev

10 years agoam c3281db2: (-s ours) am 65325236: (-s ours) Import translations. DO NOT MERGE
Geoff Mendal [Mon, 17 Mar 2014 17:54:58 +0000 (17:54 +0000)]
am c3281db2: (-s ours) am 65325236: (-s ours) Import translations. DO NOT MERGE

* commit 'c3281db2fb874f56d5612b9d3f07bd91067755ac':
  Import translations. DO NOT MERGE

10 years agoFix javadoc.
Torne (Richard Coles) [Mon, 17 Mar 2014 17:51:40 +0000 (17:51 +0000)]
Fix javadoc.

Fix javadoc reference missing a #

Bug: 13246311
Change-Id: Ifc06234943339250feb5b4f2077af03c35be076e

10 years agoam 65325236: (-s ours) Import translations. DO NOT MERGE
Geoff Mendal [Mon, 17 Mar 2014 16:46:53 +0000 (16:46 +0000)]
am 65325236: (-s ours) Import translations. DO NOT MERGE

* commit '6532523652cf16d3e498939965defab4bd22c491':
  Import translations. DO NOT MERGE

10 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 17 Mar 2014 16:34:19 +0000 (09:34 -0700)]
Import translations. DO NOT MERGE

Change-Id: I0b2d6484e67628d26f34d3be39b8b11f009151bd
Auto-generated-cl: translation import

10 years agoDO NOT MERGE - merge nativeDecodeFileDescriptor fixes into KLP-MR2
Leon Scroggins III [Tue, 14 Jan 2014 20:14:57 +0000 (15:14 -0500)]
DO NOT MERGE - merge nativeDecodeFileDescriptor fixes into KLP-MR2
BUG:13191516

Original CLs below:

In nativeDecodeFileDescriptor, use fdopen.

Instead of attempting to mmap the entire file, create an
SkFILEStream from a FILE.

BUG:11669944
BUG:11028218
Cherry-pick from: If67da91484acc79f9f3dde6d05201409c0c75e41

-------------------------------------------------------------------------

Decode file descriptor from the correct offset.

Fix a few bugs in nativeDecodeFileDescriptor:
1. Restore the FD's offset when exiting the function.
2. Copy the data when potentially using an SkImageRef.
   The old behavior would have continued to modify the
   file descriptor's offset each time a new decode was
   required. The copy ensures that the file descriptor
   remains unchanged.
3. Buffer the file stream.
   Prior to this change, if the image was not a PNG,
   the stream would be rewound to the beginning of the
   file, even if the file descriptor was passed in with
   an offset. Thanks to the buffer, the stream is only
   rewound to the original offset.

Depends on https://googleplex-android-review.googlesource.com/#/c/415821/1
in external/skia

BUG:12807677
BUG:12895876
Cherry-pick from: I38b8cf5d210dbbc0107e6562e3884867de57fc4b

10 years agoUpdate framework to use M33 Skia. DO NOT MERGE
Leon Scroggins III [Tue, 3 Dec 2013 21:26:51 +0000 (16:26 -0500)]
Update framework to use M33 Skia. DO NOT MERGE

(These CLs are already in master.)

Bug: 13246311

This cherry-picks 7 CLs:

-----------------------------------------------------------------------

Remove calls to deprecated SkBitmap::setIsOpaque()

setIsOpaque() has been removed from ToT Skia.

Update setters for mIsPremultiplied and hasAlpha to take the
other into consideration.

cherry-pick from: I1b36b0b0ce7126031eb7b769b563c17dcd4b306a

-----------------------------------------------------------------------

Merge AssetStream with AssetStreamAdaptor.

Add enums to the constructor for AssetStreamAdaptor to choose the
different behaviors used by the (former) two different classes.

The old clients of AssetStream now get the following features of
AssetStreamAdaptor
- Debugging statements on error.
- The stream is an SkStreamRewindable.
- getLength() returns the correct value, and the old way of getting
  the length (read(NULL, 0)) is no longer implemented, since it is
  no longer used.
- isAtEnd() returns the correct value. ToT Skia makes it pure virtual,
  so some implementation is necessary.

cherry-pick from: I2a5395914e4f53830aaefee396556459083a1c56

-----------------------------------------------------------------------

Deprecate Android-specific SkPaint functions.

The following functions were problematic:
 const SkGlyph& getUnicharMetrics(SkUnichar, const SkMatrix*);
 const SkGlyph& getGlyphMetrics(uint16_t, const SkMatrix*);
 const void* findImage(const SkGlyph&, const SkMatrix*);

Replacing them with calls through SkGlyphCache solved a nasty crash
bug, so they have all been deprecated.

Bug: 11968757
cherry-pick from: Id746315d41aec5b211b78b172a883c2061130f08

-----------------------------------------------------------------------

pass SkGlyphCache into updateGlyphCache()

Doing so prevents us from double-locking the glyph cache, thereby
effectively locking ourselves out of reusing work that we'd just done.

Bug: 11968757
cherry-pick from: I5c552f2d0bbe30af2ce9054ba684e7da756a0d89

-----------------------------------------------------------------------

Updates to the Skia API needed to merge the WebView m33 version of Skia.

cherry-pick from: I0f63b53f2aae58871413b132742fc84138f069a3

Bugfix for screenshots (recent apps) due to incorrect rowBytes computation

bug: 12915192
cherry-pick from: I4d5fe2a2f75baf66099e0970fb646686a1992714

-----------------------------------------------------------------------

Fix bug in AndroidPixelRef where we did not store the correct imageInfo for a recycled bitmap.

cherry-pick from: I882483b78886e2f19fa4e43a86e69f5a82b3b7e5

-----------------------------------------------------------------------

Change-Id: Ie2b731a9f0795802418cfecddb4b684c92c64d33

Conflicts:
core/jni/android/graphics/Bitmap.cpp
core/jni/android/graphics/Graphics.cpp
core/jni/android/graphics/Typeface.cpp
graphics/java/android/graphics/Bitmap.java

10 years agoMerge commit '54d5702c' into manualmerge
Craig Mautner [Fri, 14 Mar 2014 23:49:50 +0000 (16:49 -0700)]
Merge commit '54d5702c' into manualmerge

Conflicts:
services/core/java/com/android/server/am/TaskRecord.java

Change-Id: Id7bc15b6c3e47d8705c228b311c4d85a47c13dbe

10 years agoMerge "FEATURE_LEANBACK implies that the device is a tv." into klp-modular-dev
Tim Kilbourn [Fri, 14 Mar 2014 23:13:45 +0000 (23:13 +0000)]
Merge "FEATURE_LEANBACK implies that the device is a tv." into klp-modular-dev

10 years agoam 105c4792: am 10a07a04: Merge "Verify certificates" into klp-dev
Marco Nelissen [Fri, 14 Mar 2014 22:55:50 +0000 (22:55 +0000)]
am 105c4792: am 10a07a04: Merge "Verify certificates" into klp-dev

* commit '105c47924f7af9319ec9242b952b4bf074585229':
  Verify certificates

10 years agoam 4111e7e1: am 09421fab: Re-initialize error after attach
Daniel 2 Olofsson [Fri, 14 Mar 2014 22:55:45 +0000 (22:55 +0000)]
am 4111e7e1: am 09421fab: Re-initialize error after attach

* commit '4111e7e17665b1142853c71e9fd1cf6af5f68b82':
  Re-initialize error after attach

10 years agoam 477897ad: Merge "Fix incorrect setting of TaskRecord.frontOfTask. DO NOT MERGE...
Craig Mautner [Fri, 14 Mar 2014 22:36:15 +0000 (22:36 +0000)]
am 477897ad: Merge "Fix incorrect setting of TaskRecord.frontOfTask.  DO NOT MERGE." into klp-dev

* commit '477897ad7b0725fa68d32a94bf8c24264068fd5c':
  Fix incorrect setting of TaskRecord.frontOfTask.  DO NOT MERGE.

10 years agoam 10a07a04: Merge "Verify certificates" into klp-dev
Marco Nelissen [Fri, 14 Mar 2014 22:32:02 +0000 (22:32 +0000)]
am 10a07a04: Merge "Verify certificates" into klp-dev

* commit '10a07a043f7fa47148ae2cc2fcd6b0edeb52190b':
  Verify certificates

10 years agoMerge "Fix incorrect setting of TaskRecord.frontOfTask. DO NOT MERGE." into klp-dev
Craig Mautner [Fri, 14 Mar 2014 22:30:04 +0000 (22:30 +0000)]
Merge "Fix incorrect setting of TaskRecord.frontOfTask.  DO NOT MERGE." into klp-dev

10 years agoFix incorrect setting of TaskRecord.frontOfTask. DO NOT MERGE.
Craig Mautner [Mon, 16 Dec 2013 23:58:31 +0000 (15:58 -0800)]
Fix incorrect setting of TaskRecord.frontOfTask.  DO NOT MERGE.

When Intent.FLAG_ACTIVITY_REORDER_TO_FRONT was set the TaskRecord
member frontOfTask was being set true incorrectly for the top
activity. It should only be true for the bottom activity. This fix
ensures that frontOfTask is always set correctly for all activities by
consoldating it into one method.

Fixes bug 12171535.

Change-Id: If982dad3c81b2b816adc5d89e7e0496923098a70

10 years agoam 09421fab: Re-initialize error after attach
Daniel 2 Olofsson [Fri, 14 Mar 2014 22:27:52 +0000 (22:27 +0000)]
am 09421fab: Re-initialize error after attach

* commit '09421fab0784bcfc6660a09d02faea7835c28e31':
  Re-initialize error after attach

10 years agoMerge "Verify certificates" into klp-dev
Marco Nelissen [Fri, 14 Mar 2014 22:27:22 +0000 (22:27 +0000)]
Merge "Verify certificates" into klp-dev

10 years agoam 9c3fc0cc: am eb95e74e: DO NOT MERGE - Fixed crash for odd image width/height
Selim Cinek [Fri, 14 Mar 2014 21:55:05 +0000 (21:55 +0000)]
am 9c3fc0cc: am eb95e74e: DO NOT MERGE - Fixed crash for odd image width/height

* commit '9c3fc0cc6003c4f66f32d8e5f22a4f3e7d22f817':
  DO NOT MERGE - Fixed crash for odd image width/height

10 years agoam 00c7d34c: am ff89d589: Merge commit \'3b9de0a4\' into manualmerge
Craig Mautner [Fri, 14 Mar 2014 21:54:52 +0000 (21:54 +0000)]
am 00c7d34c: am ff89d589: Merge commit \'3b9de0a4\' into manualmerge

* commit '00c7d34c463e9c3b4b6d5aca1e62b8caeb3fd7b2':
  Show the keyguard if unsecure window on top

10 years agoam fd2f8d43: am 51b921d0: DO NOT MERGE - Preserve the order of InputMethodManager...
Yohei Yukawa [Fri, 14 Mar 2014 21:54:49 +0000 (21:54 +0000)]
am fd2f8d43: am 51b921d0: DO NOT MERGE - Preserve the order of InputMethodManager method calls

* commit 'fd2f8d43419d1f25ced8b2bac96407925dd4c471':
  DO NOT MERGE - Preserve the order of InputMethodManager method calls

10 years agoam a921d8b6: am 3217cc6f: Merge "Fix activities appearing behind launcher icons"...
Craig Mautner [Fri, 14 Mar 2014 21:54:45 +0000 (21:54 +0000)]
am a921d8b6: am 3217cc6f: Merge "Fix activities appearing behind launcher icons" into klp-dev

* commit 'a921d8b6b1a3478f258b9999ed909907216edbae':
  Fix activities appearing behind launcher icons

10 years agoRe-initialize error after attach
Daniel 2 Olofsson [Tue, 13 Aug 2013 08:30:26 +0000 (10:30 +0200)]
Re-initialize error after attach

If flag for error after attach is not reinitialized, it may cause
NullPointerException on subsequent onAttachedWindow if error text
was reset to null.

Change-Id: I8976c28a6ca71017e5c4b3f29d4eeeb2eda48c38

10 years agoam ff64f5ed: am 381374b3: Merge "UsbDeviceManager: Fix race condition between accesso...
Mike Lockwood [Fri, 14 Mar 2014 21:42:58 +0000 (21:42 +0000)]
am ff64f5ed: am 381374b3: Merge "UsbDeviceManager: Fix race condition between accessory start and USB configured uevents" into klp-dev

* commit 'ff64f5ed7c2b55878d149d546092e029cba15465':
  UsbDeviceManager: Fix race condition between accessory start and USB configured uevents

10 years agoam eb95e74e: DO NOT MERGE - Fixed crash for odd image width/height
Selim Cinek [Fri, 14 Mar 2014 20:47:34 +0000 (20:47 +0000)]
am eb95e74e: DO NOT MERGE - Fixed crash for odd image width/height

* commit 'eb95e74e21a0e910704ca2fd67e074ab640bfba3':
  DO NOT MERGE - Fixed crash for odd image width/height

10 years agoFEATURE_LEANBACK implies that the device is a tv.
Tim Kilbourn [Fri, 14 Mar 2014 20:44:12 +0000 (13:44 -0700)]
FEATURE_LEANBACK implies that the device is a tv.

For managing the ui mode, consider the device to be a television if it
has either the FEATURE_TELEVISION or FEATURE_LEANBACK system features.

When leanback is available for non-television devices, we need to
reconsider the use of these features for setting the television ui mode.

Change-Id: I7b82372ce19067e010be9b42111816bab186f95b

10 years agoMerge "Add leanback device features." into klp-modular-dev
Tim Kilbourn [Fri, 14 Mar 2014 20:38:51 +0000 (20:38 +0000)]
Merge "Add leanback device features." into klp-modular-dev

10 years agoDO NOT MERGE - Fixed crash for odd image width/height
Selim Cinek [Fri, 14 Mar 2014 17:42:48 +0000 (18:42 +0100)]
DO NOT MERGE - Fixed crash for odd image width/height

Due to an internal rounding in the renderer, the calculations
for the cropping area could be slightly offset, getting out
of the image boundaries. I sanitized the rect by ensuring they
are inside the image.

Bug: 12174629
Change-Id: Icc37790732ddd479631b898b23c05501d2dcd5be

10 years agoam 50694917: am 7e566239: Merge "docs: Updated Building your First App tutorial....
Ricardo Cervera [Fri, 14 Mar 2014 16:28:46 +0000 (16:28 +0000)]
am 50694917: am 7e566239: Merge "docs: Updated Building your First App tutorial. Bug: 13429905" into klp-docs

* commit '506949173761f9bde016b9d74de94df4b63df370':
  docs: Updated Building your First App tutorial. Bug: 13429905

10 years agoam 8bb11153: am f7267c8b: Merge "Doc change: Update developer video on home page...
Joe Fernandez [Fri, 14 Mar 2014 16:28:30 +0000 (16:28 +0000)]
am 8bb11153: am f7267c8b: Merge "Doc change: Update developer video on home page carousel." into klp-docs

* commit '8bb11153f946a95485644b08a067472735810ef2':
  Doc change: Update developer video on home page carousel.

10 years agoam ad66c27b: am 6d9b034c: Fix typo in public logcat page.
John Spurlock [Fri, 14 Mar 2014 16:28:26 +0000 (16:28 +0000)]
am ad66c27b: am 6d9b034c: Fix typo in public logcat page.

* commit 'ad66c27b9c2f2dce1b9443018a7c4d097bc08fc3':
  Fix typo in public logcat page.

10 years agoam 8714a343: am ef6c9470: Merge "docs: Added step to get JDK to the Android Studio...
Ricardo Cervera [Fri, 14 Mar 2014 16:28:22 +0000 (16:28 +0000)]
am 8714a343: am ef6c9470: Merge "docs: Added step to get JDK to the Android Studio install instructions." into klp-docs

* commit '8714a3437e13b4a403e49c4c624f272dd6dc8f4e':
  docs: Added step to get JDK to the Android Studio install instructions.

10 years agoam b681794d: am 07c0ad97: Merge "Doc update: new doc studio layout editor" into klp...
Katie McCormick [Fri, 14 Mar 2014 16:28:18 +0000 (16:28 +0000)]
am b681794d: am 07c0ad97: Merge "Doc update: new doc studio layout editor" into klp-docs

* commit 'b681794d2583e06693c23eec1af4e282b067abd9':
  Doc update: new doc studio layout editor

10 years agoam 62826f55: am f6228d95: Merge "Fix doc typos in AppOpsManager.java" into klp-docs
John Spurlock [Fri, 14 Mar 2014 16:28:15 +0000 (16:28 +0000)]
am 62826f55: am f6228d95: Merge "Fix doc typos in AppOpsManager.java" into klp-docs

* commit '62826f55be4415684b4e321469298ba43d598bbb':
  Fix doc typos in AppOpsManager.java

10 years agoam 4ecd833e: am 7baa7c80: Merge "ConnectivityService: add support to set TCP initial...
JP Abgrall [Fri, 14 Mar 2014 16:28:09 +0000 (16:28 +0000)]
am 4ecd833e: am 7baa7c80: Merge "ConnectivityService: add support to set TCP initial rwnd" into klp-dev

* commit '4ecd833ee35d1120f8c1ae52367947cacfc263a4':
  ConnectivityService: add support to set TCP initial rwnd

10 years agoam 78f204ae: am 8e240af5: Merge "Remove SO_BINDTODEVICE from VPN protect" into klp-dev
Chad Brubaker [Fri, 14 Mar 2014 16:27:58 +0000 (16:27 +0000)]
am 78f204ae: am 8e240af5: Merge "Remove SO_BINDTODEVICE from VPN protect" into klp-dev

* commit '78f204aed8c0f3c8174616801d66f96a9a00a5fd':
  Remove SO_BINDTODEVICE from VPN protect

10 years agoam fc1d0471: am 11b7d9fa: Merge "PrintSpooler crash if printer is reported to have...
Svetoslav [Fri, 14 Mar 2014 16:27:55 +0000 (16:27 +0000)]
am fc1d0471: am 11b7d9fa: Merge "PrintSpooler crash if printer is reported to have only one color mode." into klp-dev

* commit 'fc1d04714e9042a1b01c7a725fafa1820b8c14fb':
  PrintSpooler crash if printer is reported to have only one color mode.

10 years agoam 16858164: am cd0d8cb2: Merge "DO NOT MERGE - Fix keyguard pattern lockout bug...
Adrian Roos [Fri, 14 Mar 2014 16:27:51 +0000 (16:27 +0000)]
am 16858164: am cd0d8cb2: Merge "DO NOT MERGE - Fix keyguard pattern lockout bug" into klp-dev

* commit '16858164c73f0696d12161e97bad9cb22c55e603':
  DO NOT MERGE - Fix keyguard pattern lockout bug

10 years agoam a5a921e3: (-s ours) am 4545b1d2: (-s ours) Merge "Import translations. DO NOT...
Baligh Uddin [Fri, 14 Mar 2014 16:27:44 +0000 (16:27 +0000)]
am a5a921e3: (-s ours) am 4545b1d2: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev

* commit 'a5a921e3a80eddd4622dd4d2d1c91d5ee71583f5':
  Import translations. DO NOT MERGE

10 years agoam e5191aab: am a796168d: Merge "Fix issue #11965706: Calls using IntentChooser are...
Dianne Hackborn [Fri, 14 Mar 2014 16:27:40 +0000 (16:27 +0000)]
am e5191aab: am a796168d: Merge "Fix issue #11965706: Calls using IntentChooser are now Broken in 4.3 and 4.4" into klp-dev

* commit 'e5191aabff5b9b751349b8634836a858af744905':
  Fix issue #11965706: Calls using IntentChooser are now Broken in 4.3 and 4.4

10 years agoam 825dd9dd: am 73bd57f7: Merge "Retain display when creating specialized contexts...
Jeff Brown [Fri, 14 Mar 2014 16:27:35 +0000 (16:27 +0000)]
am 825dd9dd: am 73bd57f7: Merge "Retain display when creating specialized contexts. (DO NOT MERGE)" into klp-dev

* commit '825dd9dd38a42306d18a627768b16204cf4d8710':
  Retain display when creating specialized contexts. (DO NOT MERGE)

10 years agoam bdd4c31a: am 60d7c995: Merge "DO NOT MERGE setAvrcpAbsoluteVolume is passed wrong...
Zhihai Xu [Fri, 14 Mar 2014 15:56:47 +0000 (15:56 +0000)]
am bdd4c31a: am 60d7c995: Merge "DO NOT MERGE setAvrcpAbsoluteVolume is passed wrong unit parameter from AudioManager" into klp-dev

* commit 'bdd4c31a22b9a5395e9d727e9f39ce1dc689c0a7':
  DO NOT MERGE setAvrcpAbsoluteVolume is passed wrong unit parameter from AudioManager

10 years agoam ff89d589: Merge commit \'3b9de0a4\' into manualmerge
Craig Mautner [Fri, 14 Mar 2014 08:47:54 +0000 (08:47 +0000)]
am ff89d589: Merge commit \'3b9de0a4\' into manualmerge

* commit 'ff89d589c7eb32265bf70068ffaef24104a580a5':
  Show the keyguard if unsecure window on top

10 years agoMerge commit '3b9de0a4' into manualmerge
Craig Mautner [Fri, 14 Mar 2014 04:09:35 +0000 (21:09 -0700)]
Merge commit '3b9de0a4' into manualmerge

Conflicts:
policy/src/com/android/internal/policy/impl/PhoneWindowManager.java

Change-Id: I5433912e9d97a20bec6c8e287450550daab6d89b

10 years agoresolved conflicts for merge of db3146c0 to klp-modular-dev
Jeff Brown [Fri, 14 Mar 2014 04:07:33 +0000 (21:07 -0700)]
resolved conflicts for merge of db3146c0 to klp-modular-dev

Change-Id: I1500228392add2de325b9530ae33d7c3e738c021

10 years agoam 51b921d0: DO NOT MERGE - Preserve the order of InputMethodManager method calls
Yohei Yukawa [Fri, 14 Mar 2014 03:03:08 +0000 (03:03 +0000)]
am 51b921d0: DO NOT MERGE - Preserve the order of InputMethodManager method calls

* commit '51b921d0e33302b3f431dcfa15bd6588408525ea':
  DO NOT MERGE - Preserve the order of InputMethodManager method calls

10 years agoDO NOT MERGE - Preserve the order of InputMethodManager method calls
Yohei Yukawa [Wed, 5 Mar 2014 05:53:01 +0000 (14:53 +0900)]
DO NOT MERGE - Preserve the order of InputMethodManager method calls

Cherrypick of I0f8d33b0c77129f72581bc43e7f4fdc25469b520

This CL allows the Framework class InputMethodManager to behave
in a more deterministic way, that is to say, with an I/O barrier.

InputMethodManager#setAdditionalInputMethodSubtypes is internally
implemented as a RPC to the corresponding counterpart in
InputMethodManagerService. The problem here is that this RPC is
marked as "oneway". As a consequence, this public API call
returns immediately without waiting the additional subtypes are
actually added. This behavior is also not documented so far
unfortunately.

See the following demo code:

  Final InputMethodManager imm = ...;
  imm.setAdditionalInputMethodSubtypes(id, subTypes);
  Final List<InputMethodInfo> ims = imm.getInputMethodList();

Currently, it is not guaranteed that the InputMethodInfo returned
from #getInputMethodList reflects the result of the previous call
of #setAdditionalInputMethodSubtypes because of its undocumented
asynchronous nature.

With this CL, InputMethodManager#setAdditionalInputMethodSubtypes
behaves as if it has I/O barrier. This change should make it easy
for IME developers to use additional subtype mechanism.

BUG: 13033954
BUG: 13291370
Change-Id: I0455b176bfb3176c533ba3241881f05092b98abc

10 years agoam 00e12e61: am 1066fc61: Resolved conflicts for merge of ad63d914 to jb-mr2-dev
Craig Mautner [Fri, 14 Mar 2014 02:47:29 +0000 (19:47 -0700)]
am 00e12e61: am 1066fc61: Resolved conflicts for merge of ad63d914 to jb-mr2-dev

* commit '00e12e61472d850c00cf1e479fda2b371ead1257':
  Show the keyguard if unsecure window on top

10 years agoam 1066fc61: Resolved conflicts for merge of ad63d914 to jb-mr2-dev
Craig Mautner [Fri, 14 Mar 2014 02:40:49 +0000 (19:40 -0700)]
am 1066fc61: Resolved conflicts for merge of ad63d914 to jb-mr2-dev

* commit '1066fc61a371443e9423f890f6f7615f2d1e4c6c':
  Show the keyguard if unsecure window on top

10 years agoam 3217cc6f: Merge "Fix activities appearing behind launcher icons" into klp-dev
Craig Mautner [Fri, 14 Mar 2014 00:42:43 +0000 (00:42 +0000)]
am 3217cc6f: Merge "Fix activities appearing behind launcher icons" into klp-dev

* commit '3217cc6ff2b3139d8854a3f681da6ae1d163ac92':
  Fix activities appearing behind launcher icons

10 years agoMerge "Fix activities appearing behind launcher icons" into klp-dev
Craig Mautner [Fri, 14 Mar 2014 00:40:20 +0000 (00:40 +0000)]
Merge "Fix activities appearing behind launcher icons" into klp-dev

10 years agoam 898d6d96: am 7f2c9e94: Merge "Add a config override for ViewConfiguration#hasPerma...
Adam Powell [Thu, 13 Mar 2014 23:53:38 +0000 (23:53 +0000)]
am 898d6d96: am 7f2c9e94: Merge "Add a config override for ViewConfiguration#hasPermanentMenuKey" into klp-dev

* commit '898d6d964cb3b650b5c9bed2276310547e5455e0':
  Add a config override for ViewConfiguration#hasPermanentMenuKey

10 years agoam 381374b3: Merge "UsbDeviceManager: Fix race condition between accessory start...
Mike Lockwood [Thu, 13 Mar 2014 23:34:46 +0000 (23:34 +0000)]
am 381374b3: Merge "UsbDeviceManager: Fix race condition between accessory start and USB configured uevents" into klp-dev

* commit '381374b3cd66f364fd644c21f2d9128bcde2f58a':
  UsbDeviceManager: Fix race condition between accessory start and USB configured uevents

10 years agoMerge "UsbDeviceManager: Fix race condition between accessory start and USB configure...
Mike Lockwood [Thu, 13 Mar 2014 23:32:17 +0000 (23:32 +0000)]
Merge "UsbDeviceManager: Fix race condition between accessory start and USB configured uevents" into klp-dev

10 years agoFix activities appearing behind launcher icons
Craig Mautner [Thu, 13 Mar 2014 23:16:20 +0000 (16:16 -0700)]
Fix activities appearing behind launcher icons

cherry picked from d5c91ece7bfea74ee7ab2bc86f3cb3f5c531f866

Change-Id: I76d20398e71c1be4accfaed6b0791674197b4fb0

10 years agoam 7e566239: Merge "docs: Updated Building your First App tutorial. Bug: 13429905...
Ricardo Cervera [Thu, 13 Mar 2014 22:25:20 +0000 (22:25 +0000)]
am 7e566239: Merge "docs: Updated Building your First App tutorial. Bug: 13429905" into klp-docs

* commit '7e566239656c1de32a3bf695cd2ea3a28f1e906b':
  docs: Updated Building your First App tutorial. Bug: 13429905

10 years agoMerge "docs: Updated Building your First App tutorial. Bug: 13429905" into klp-docs
Ricardo Cervera [Thu, 13 Mar 2014 22:21:44 +0000 (22:21 +0000)]
Merge "docs: Updated Building your First App tutorial. Bug: 13429905" into klp-docs

10 years agoam f7267c8b: Merge "Doc change: Update developer video on home page carousel." into...
Joe Fernandez [Thu, 13 Mar 2014 22:15:11 +0000 (22:15 +0000)]
am f7267c8b: Merge "Doc change: Update developer video on home page carousel." into klp-docs

* commit 'f7267c8bdc5431d486e8bb34722d492be82e44f3':
  Doc change: Update developer video on home page carousel.

10 years agoam 6d9b034c: Fix typo in public logcat page.
John Spurlock [Thu, 13 Mar 2014 22:15:09 +0000 (22:15 +0000)]
am 6d9b034c: Fix typo in public logcat page.

* commit '6d9b034ce169eeaa7e49574f4694ec96651c7f4e':
  Fix typo in public logcat page.

10 years agoam ef6c9470: Merge "docs: Added step to get JDK to the Android Studio install instruc...
Ricardo Cervera [Thu, 13 Mar 2014 22:15:06 +0000 (22:15 +0000)]
am ef6c9470: Merge "docs: Added step to get JDK to the Android Studio install instructions." into klp-docs

* commit 'ef6c94700589958789039749248895a2631ebe55':
  docs: Added step to get JDK to the Android Studio install instructions.

10 years agoam 07c0ad97: Merge "Doc update: new doc studio layout editor" into klp-docs
Katie McCormick [Thu, 13 Mar 2014 22:15:01 +0000 (22:15 +0000)]
am 07c0ad97: Merge "Doc update: new doc studio layout editor" into klp-docs

* commit '07c0ad973a2fdd8a35b3627e69f1134673c8b8e0':
  Doc update: new doc studio layout editor

10 years agoam f6228d95: Merge "Fix doc typos in AppOpsManager.java" into klp-docs
John Spurlock [Thu, 13 Mar 2014 22:14:57 +0000 (22:14 +0000)]
am f6228d95: Merge "Fix doc typos in AppOpsManager.java" into klp-docs

* commit 'f6228d95eae7b05dd0015b3062e72c89148e65a2':
  Fix doc typos in AppOpsManager.java

10 years agoAdd leanback device features.
Tim Kilbourn [Fri, 7 Mar 2014 23:13:48 +0000 (15:13 -0800)]
Add leanback device features.

android.software.leanback - the device supports leanback UIs.
android.software.leanback_only - the device ONLY supports leanback UIs.

leanback_only is a hidden feature for now.

Change-Id: I497bd96464125ad81212c804e150f210f3e95af2

10 years agodocs: Updated Building your First App tutorial. Bug: 13429905
Ricardo Cervera [Wed, 12 Mar 2014 23:02:51 +0000 (16:02 -0700)]
docs: Updated Building your First App tutorial. Bug: 13429905

-Updated default code in activities from ADT
-Updated screenshots for ADT wizards when changed
-Updated activity_ with fragment_ where required
-Other minor changes

Stage: http://quixote.mtv:8004/training/basics/firstapp/creating-project.html

Patch: Removed border from the new ADT screenshots.
Patch: Replaced device screenshots using an Android 4.4 device.
Patch: Addressed Katie's comments.

Change-Id: Ic0acf714b1b5913f1f82d6eafac53666a721dfe4

10 years agoVerify certificates
Marco Nelissen [Thu, 13 Mar 2014 21:18:59 +0000 (14:18 -0700)]
Verify certificates

b/13418320

Change-Id: I39c81b1557a16c7a4666a4531a398efa91dcb00c

10 years agoam 7baa7c80: Merge "ConnectivityService: add support to set TCP initial rwnd" into...
JP Abgrall [Thu, 13 Mar 2014 20:36:51 +0000 (20:36 +0000)]
am 7baa7c80: Merge "ConnectivityService: add support to set TCP initial rwnd" into klp-dev

* commit '7baa7c804501b9cbcb5de281c5ddfaf03ba08f7a':
  ConnectivityService: add support to set TCP initial rwnd

10 years agoMerge "ConnectivityService: add support to set TCP initial rwnd" into klp-dev
JP Abgrall [Thu, 13 Mar 2014 20:33:43 +0000 (20:33 +0000)]
Merge "ConnectivityService: add support to set TCP initial rwnd" into klp-dev