OSDN Git Service

android-x86/frameworks-base.git
9 years agoMerge "Legacy: Only set user surface dimensions on output surfaces" into lmp-mr1-dev
Eino-Ville Talvala [Thu, 12 Feb 2015 05:33:27 +0000 (05:33 +0000)]
Merge "Legacy: Only set user surface dimensions on output surfaces" into lmp-mr1-dev

9 years agoMerge "Make reportInetCondition revalidate if the report differs from our state"...
Lorenzo Colitti [Thu, 12 Feb 2015 02:30:55 +0000 (02:30 +0000)]
Merge "Make reportInetCondition revalidate if the report differs from our state" into lmp-mr1-dev

9 years agoMerge "Add DENSITY_280" into lmp-mr1-dev
Adam Powell [Thu, 12 Feb 2015 02:08:03 +0000 (02:08 +0000)]
Merge "Add DENSITY_280" into lmp-mr1-dev

9 years agoLegacy: Only set user surface dimensions on output surfaces
Eino-Ville Talvala [Wed, 11 Feb 2015 23:41:12 +0000 (15:41 -0800)]
Legacy: Only set user surface dimensions on output surfaces

The GL layer gets exclusive use of the direct producer dimensions;
we should only set the user dimensions.

Bug: 16404608
Change-Id: Ie5b720104bdbee6b096b62520baa1c6b518c6c1c

9 years agoAdd DENSITY_280
Adam Powell [Wed, 11 Feb 2015 21:34:43 +0000 (13:34 -0800)]
Add DENSITY_280

Bug 19350604

Change-Id: I94f5162c31f9c8853908d7c4699974c236cc7fe7

9 years agoMerge "Stop active media projections on user switch." into lmp-mr1-dev
Michael Wright [Wed, 11 Feb 2015 18:23:54 +0000 (18:23 +0000)]
Merge "Stop active media projections on user switch." into lmp-mr1-dev

9 years agoMerge "Do not enforce CONTROL_VPN for calls from lockdown VPN." into lmp-mr1-dev
Jeff Davidson [Wed, 11 Feb 2015 08:25:26 +0000 (08:25 +0000)]
Merge "Do not enforce CONTROL_VPN for calls from lockdown VPN." into lmp-mr1-dev

9 years agoDo not enforce CONTROL_VPN for calls from lockdown VPN.
Jeff Davidson [Tue, 10 Feb 2015 18:02:11 +0000 (10:02 -0800)]
Do not enforce CONTROL_VPN for calls from lockdown VPN.

Clearly document which methods in Vpn.java are designed to be used to
service a Binder call, and which must therefore check permissions and
clear the calling identity, and which methods are designed for
internal use only and which therefore need not check permission.

Add a new startLegacyVpnPrivileged method which bypasses the
permission checks, to be used by lockdown VPN which is a trusted
system service. Ensure that the existing startLegacyVpn method checks
permissions as this is used whenever we respond to a binder call.

Bug: 19311172
Change-Id: I34f13258ee7481f1356bc523124cf5db068b4972

9 years agoMerge "Make getNetworkInfo() take into account VPN underlying networks." into lmp...
Lorenzo Colitti [Wed, 11 Feb 2015 07:18:16 +0000 (07:18 +0000)]
Merge "Make getNetworkInfo() take into account VPN underlying networks." into lmp-mr1-dev

9 years agoGpsLocationProvider: Read data enabled status from TelephonyManager.
Shishir Agrawal [Wed, 11 Feb 2015 03:02:38 +0000 (19:02 -0800)]
GpsLocationProvider: Read data enabled status from TelephonyManager.

Bug: 18814559
Change-Id: I0333050d2a5b8d484466e1b1914dcfb9965398c9

9 years agoMake reportInetCondition revalidate if the report differs from our state
Lorenzo Colitti [Tue, 10 Feb 2015 22:39:20 +0000 (07:39 +0900)]
Make reportInetCondition revalidate if the report differs from our state

1. If reportInetCondition says the network is not working, and
   the network is already marked not validated, don't revalidate
   it. This was superfluous and should save battery.
2. If reportInetCondition says the network is working, and the
   network is not marked as validated, revalidated. This will
   allow us to get out of a validated state quickly based on app
   input (e.g., allowing GCM's exponential backoff timer to drive
   revalidation instead of our 10-minute timer).

Bug: 19258761
Bug: 19209043
Change-Id: Iaa4bac82d117ed1f4088dab106e6f6ce46b34bc3

9 years agoMake getNetworkInfo() take into account VPN underlying networks.
Lorenzo Colitti [Thu, 5 Feb 2015 04:57:17 +0000 (13:57 +0900)]
Make getNetworkInfo() take into account VPN underlying networks.

If a user is subject to a VPN, getActiveNetworkInfo() will return
the VPN's underlying network (e.g., TYPE_WIFI), so that apps that
call getActiveNetworkInfo to answer questions like "is the device
connected to wifi?" will continue to work. Make getNetworkInfo
do this as well: if the query is for a network type that is
underlying the current user's VPN, then return that network.

Bug: 19196545
Change-Id: Ic5a651735b927c758594a26d26a03fbd704b52e6

9 years agoMerge "Check that bitmap's size does not exceed 32 bits. DO NOT MERGE" into lmp-mr1-dev
Leon Scroggins III [Tue, 10 Feb 2015 22:03:43 +0000 (22:03 +0000)]
Merge "Check that bitmap's size does not exceed 32 bits. DO NOT MERGE" into lmp-mr1-dev

9 years agoCheck that bitmap's size does not exceed 32 bits. DO NOT MERGE
Leon Scroggins III [Mon, 9 Feb 2015 20:42:19 +0000 (15:42 -0500)]
Check that bitmap's size does not exceed 32 bits. DO NOT MERGE

BUG:19270126
Change-Id: I075d1cefcd3208305a72b4fa629a262e92eb60ea

9 years agoam 24513bc5: am 31622894: am c86ac21f: Merge "Adding videos for 5.0 changes and watch...
Shanea King-Roberson [Tue, 10 Feb 2015 20:17:53 +0000 (20:17 +0000)]
am 24513bc5: am 31622894: am c86ac21f: Merge "Adding videos for 5.0 changes and watch face development." into lmp-docs

* commit '24513bc580024a8a90c1ceab6746c0abb452d678':
  Adding videos for 5.0 changes and watch face development.

9 years agoam 31622894: am c86ac21f: Merge "Adding videos for 5.0 changes and watch face develop...
Shanea King-Roberson [Tue, 10 Feb 2015 20:10:38 +0000 (20:10 +0000)]
am 31622894: am c86ac21f: Merge "Adding videos for 5.0 changes and watch face development." into lmp-docs

* commit '3162289445ebade804c422162578d328c4762372':
  Adding videos for 5.0 changes and watch face development.

9 years agoam c86ac21f: Merge "Adding videos for 5.0 changes and watch face development." into...
Shanea King-Roberson [Tue, 10 Feb 2015 20:04:17 +0000 (20:04 +0000)]
am c86ac21f: Merge "Adding videos for 5.0 changes and watch face development." into lmp-docs

* commit 'c86ac21f7393e579ad1585396ce3c212bf7d3bfb':
  Adding videos for 5.0 changes and watch face development.

9 years agoMerge "Adding videos for 5.0 changes and watch face development." into lmp-docs
Shanea King-Roberson [Tue, 10 Feb 2015 19:57:29 +0000 (19:57 +0000)]
Merge "Adding videos for 5.0 changes and watch face development." into lmp-docs

9 years agoMerge "Fix AAPT daemon mode with paths containg spaces." into lmp-mr1-dev
Chris Warrington [Tue, 10 Feb 2015 19:56:31 +0000 (19:56 +0000)]
Merge "Fix AAPT daemon mode with paths containg spaces." into lmp-mr1-dev

9 years agoam ba795593: am 9b432bbe: am e49fbfa2: Merge "docs: Fix various issues with incorrect...
Luan Nguyen [Tue, 10 Feb 2015 18:56:32 +0000 (18:56 +0000)]
am ba795593: am 9b432bbe: am e49fbfa2: Merge "docs: Fix various issues with incorrect code samples." into lmp-docs

* commit 'ba795593e5941d89a861bb848c3f98800a0be3d6':
  docs: Fix various issues with incorrect code samples.

9 years agoam 9b432bbe: am e49fbfa2: Merge "docs: Fix various issues with incorrect code samples...
Luan Nguyen [Tue, 10 Feb 2015 18:47:38 +0000 (18:47 +0000)]
am 9b432bbe: am e49fbfa2: Merge "docs: Fix various issues with incorrect code samples." into lmp-docs

* commit '9b432bbece3cca6316b2638a947983e21c65917f':
  docs: Fix various issues with incorrect code samples.

9 years agoam e49fbfa2: Merge "docs: Fix various issues with incorrect code samples." into lmp...
Luan Nguyen [Tue, 10 Feb 2015 18:40:34 +0000 (18:40 +0000)]
am e49fbfa2: Merge "docs: Fix various issues with incorrect code samples." into lmp-docs

* commit 'e49fbfa21ccdeba56001b48604524794acea119e':
  docs: Fix various issues with incorrect code samples.

9 years agoMerge "docs: Fix various issues with incorrect code samples." into lmp-docs
Luan Nguyen [Tue, 10 Feb 2015 18:31:29 +0000 (18:31 +0000)]
Merge "docs: Fix various issues with incorrect code samples." into lmp-docs

9 years agoAdding videos for 5.0 changes and watch face development.
Eric Gilmore [Tue, 10 Feb 2015 18:29:36 +0000 (10:29 -0800)]
Adding videos for 5.0 changes and watch face development.

 On branch pilot-videos
 Changes to be committed:
modified:   docs/html/about/versions/android-5.0-changes.jd
modified:   docs/html/training/wearables/watch-faces/index.jd

Change-Id: I2dd852f3af8ae39f91ec08aadd5c03ff9996b46b

9 years agoam 99b91b2f: am c9dbaf04: Merge "Doc change: refactor GCM docs to be platform-agnosti...
Eric Gilmore [Tue, 10 Feb 2015 18:05:23 +0000 (18:05 +0000)]
am 99b91b2f: am c9dbaf04: Merge "Doc change: refactor GCM docs to be platform-agnostic." into lmp-docs
automerge: 2b36779

* commit '2b36779f30a511cc4439a519c95963280a779fdc':
  Doc change: refactor GCM docs to be platform-agnostic.

9 years agoam 99b91b2f: am c9dbaf04: Merge "Doc change: refactor GCM docs to be platform-agnosti...
Eric Gilmore [Tue, 10 Feb 2015 17:56:51 +0000 (17:56 +0000)]
am 99b91b2f: am c9dbaf04: Merge "Doc change: refactor GCM docs to be platform-agnostic." into lmp-docs

* commit '99b91b2fd28888b20511316cb6f81b510b05cdf5':
  Doc change: refactor GCM docs to be platform-agnostic.

9 years agoam c9dbaf04: Merge "Doc change: refactor GCM docs to be platform-agnostic." into...
Eric Gilmore [Tue, 10 Feb 2015 17:45:47 +0000 (17:45 +0000)]
am c9dbaf04: Merge "Doc change: refactor GCM docs to be platform-agnostic." into lmp-docs

* commit 'c9dbaf0483b0274879164806297180d260689f1f':
  Doc change: refactor GCM docs to be platform-agnostic.

9 years agodocs: Fix various issues with incorrect code samples.
Luan Nguyen [Wed, 28 Jan 2015 17:30:28 +0000 (09:30 -0800)]
docs: Fix various issues with incorrect code samples.

bug: 15671968
Change-Id: I3219f9c5e492ee95257439d9f284120dadd277ac

9 years agoDoze: pulse less often.
John Spurlock [Tue, 10 Feb 2015 14:10:21 +0000 (09:10 -0500)]
Doze: pulse less often.

Remove the trailing pulse @ 2 minutes, and only allow 2 schedule resets.

Bug: 19330195
Change-Id: I492581c081fafd2a1e5e09f7cce08d7a14da6d6b

9 years agoFix AAPT daemon mode with paths containg spaces.
Chris Warrington [Tue, 10 Feb 2015 05:04:46 +0000 (21:04 -0800)]
Fix AAPT daemon mode with paths containg spaces.

Use new line as a delimiter rather than space.
Fixes: https://code.google.com/p/android/issues/detail?id=135757
Gradle CL: https://android-review.googlesource.com/130423

Change-Id: I7c73e680b0417b0e7cff9e0110822675c53ae20f

9 years agoAccessibiltiy: missed update to the previous patch.
Svetoslav [Tue, 10 Feb 2015 01:14:28 +0000 (17:14 -0800)]
Accessibiltiy: missed update to the previous patch.

Change-Id: I4c47d38f5e137dcc1c6db0561b3824a26572027d

9 years agoMerge "Doc change: refactor GCM docs to be platform-agnostic." into lmp-docs
Eric Gilmore [Tue, 10 Feb 2015 01:13:01 +0000 (01:13 +0000)]
Merge "Doc change: refactor GCM docs to be platform-agnostic." into lmp-docs

9 years agoMerge "Accessibility: Handle a missed case when clicking focused views." into lmp...
Baligh Uddin [Tue, 10 Feb 2015 00:57:19 +0000 (00:57 +0000)]
Merge "Accessibility: Handle a missed case when clicking focused views." into lmp-mr1-dev

9 years agoDoc change: refactor GCM docs to be platform-agnostic.
kmccormick [Fri, 12 Dec 2014 23:00:37 +0000 (15:00 -0800)]
Doc change: refactor GCM docs to be platform-agnostic.

Fix for:

b/17733410

Change-Id: I6dabe6d0985dac7cf280c780140339c6250ac6e2

9 years agoMerge "Add API to check if a Bluetooth connection is encrypted (1/2)" into lmp-mr1-dev
Andre Eisenbach [Tue, 10 Feb 2015 00:21:35 +0000 (00:21 +0000)]
Merge "Add API to check if a Bluetooth connection is encrypted (1/2)" into lmp-mr1-dev

9 years agoMerge "Separate the protection of mProxyServiceStateCallbacks from that of mService...
Matthew Xie [Mon, 9 Feb 2015 21:50:56 +0000 (21:50 +0000)]
Merge "Separate the protection of mProxyServiceStateCallbacks from that of mService" into lmp-mr1-dev

9 years agoMerge "Added TEXT_CHANGED event to PasswordTextView" into lmp-mr1-dev
Daniel Sandler [Mon, 9 Feb 2015 20:43:37 +0000 (20:43 +0000)]
Merge "Added TEXT_CHANGED event to PasswordTextView" into lmp-mr1-dev

9 years agoMerge "Limit cache update to packages that have changed" into lmp-mr1-dev
Amith Yamasani [Mon, 9 Feb 2015 19:59:26 +0000 (19:59 +0000)]
Merge "Limit cache update to packages that have changed" into lmp-mr1-dev

9 years agoAdd API to check if a Bluetooth connection is encrypted (1/2)
Andre Eisenbach [Fri, 6 Feb 2015 04:06:33 +0000 (20:06 -0800)]
Add API to check if a Bluetooth connection is encrypted (1/2)

Bug: 19186961
Change-Id: I24656a07ee23ebfe067a9dfb9c1bc4041c782d8c

9 years agoMerge "Perform post installation operations directly if backup manager is disabled...
Rubin Xu [Mon, 9 Feb 2015 19:25:18 +0000 (19:25 +0000)]
Merge "Perform post installation operations directly if backup manager is disabled" into lmp-mr1-dev

9 years agoLimit cache update to packages that have changed
Amith Yamasani [Fri, 6 Feb 2015 22:41:40 +0000 (14:41 -0800)]
Limit cache update to packages that have changed

When updating the RegisteredServicesCache, don't remove any packages
that are not in the list of modified packages.

Bug: 19228972
Change-Id: Id4f264403b7ceca9005854dfbbc25abfd7b54889

9 years agoAdded TEXT_CHANGED event to PasswordTextView
Adrian Roos [Thu, 15 Jan 2015 18:57:51 +0000 (19:57 +0100)]
Added TEXT_CHANGED event to PasswordTextView

Also creates a TextView-like accessibility node
and populates accessibility events with text if
required.

Bug: 18528774
Change-Id: I4a918a092b1e97879c31f54604cf957e01f4bc86

9 years agoPerform post installation operations directly if backup manager is disabled
Rubin Xu [Mon, 9 Feb 2015 11:29:37 +0000 (11:29 +0000)]
Perform post installation operations directly if backup manager is disabled

bug: 19312753

Change-Id: I4acdd1e3af6a6be0c51affc42de167993c736b2f

9 years agoOnly request IME if password view is showing
Adrian Roos [Fri, 6 Feb 2015 13:30:46 +0000 (14:30 +0100)]
Only request IME if password view is showing

Bug: 19250277
Change-Id: I881b08ebc6900ba43289b772ed0d039dbb62149c

9 years agoMerge "camera-metadata: clarify the AE precapture trigger spec" into lmp-mr1-dev
Zhijun He [Sun, 8 Feb 2015 17:38:02 +0000 (17:38 +0000)]
Merge "camera-metadata: clarify the AE precapture trigger spec" into lmp-mr1-dev

9 years agoAccessibility: Handle a missed case when clicking focused views.
Svet Ganov [Sat, 7 Feb 2015 03:23:31 +0000 (19:23 -0800)]
Accessibility: Handle a missed case when clicking focused views.

The special logic for clicking on views in accessibility mode should not
prevent event interception and if a view interceptes the gesture we must
clear the special flag and do normal event dispatch. Also once we have a
view handling the touch gesture we do not need the special flag as we
know what will handle the event. This tightly follows standard event
dispatching.

bug:19252492

Change-Id: I0c9764c5050ec73f5f7980f3f0340dd9509a725a

9 years agocamera-metadata: clarify the AE precapture trigger spec
Zhijun He [Fri, 6 Feb 2015 21:49:51 +0000 (13:49 -0800)]
camera-metadata: clarify the AE precapture trigger spec

Doc only change.

Bug: 19301706
Change-Id: I8f94ee5ace6dd3040ee2f350d589e24e53694f1b

9 years agoam 66c06cf9: am d224fb8a: am ba20f98c: Merge "docs: remove + annotations in version...
Joe Fernandez [Sat, 7 Feb 2015 01:13:52 +0000 (01:13 +0000)]
am 66c06cf9: am d224fb8a: am ba20f98c: Merge "docs: remove + annotations in version references" into lmp-docs

* commit '66c06cf9bb4fa3ba1477e120843e8fdb8a360e4e':
  docs: remove + annotations in version references

9 years agoam d224fb8a: am ba20f98c: Merge "docs: remove + annotations in version references...
Joe Fernandez [Sat, 7 Feb 2015 01:08:46 +0000 (01:08 +0000)]
am d224fb8a: am ba20f98c: Merge "docs: remove + annotations in version references" into lmp-docs

* commit 'd224fb8a6c86b0c26c5db570cead5f19ff7133bd':
  docs: remove + annotations in version references

9 years agoam ba20f98c: Merge "docs: remove + annotations in version references" into lmp-docs
Joe Fernandez [Sat, 7 Feb 2015 01:00:53 +0000 (01:00 +0000)]
am ba20f98c: Merge "docs: remove + annotations in version references" into lmp-docs

* commit 'ba20f98c88b754b3a69d55963275e20ab2fba6bf':
  docs: remove + annotations in version references

9 years agoMerge "docs: remove + annotations in version references" into lmp-docs
Joe Fernandez [Sat, 7 Feb 2015 00:55:16 +0000 (00:55 +0000)]
Merge "docs: remove + annotations in version references" into lmp-docs

9 years agoSeparate the protection of mProxyServiceStateCallbacks from that of mService
Matthew Xie [Fri, 6 Feb 2015 22:09:54 +0000 (14:09 -0800)]
Separate the protection of mProxyServiceStateCallbacks from that of mService

The overuse of mManagerCallback caused a deaklock.
Bug: 19264190

Change-Id: Iff20019ff0c99bb5f36435feb15e43e280a8e102

9 years agoStop active media projections on user switch.
Michael Wright [Fri, 6 Feb 2015 22:08:13 +0000 (14:08 -0800)]
Stop active media projections on user switch.

Bug: 19278080
Change-Id: I63cc8aa12954d4de257b793967d3845a6f86dc3f

9 years agoMerge "Accessibility: ignore children of a view with node provider." into lmp-mr1-dev
Svet Ganov [Fri, 6 Feb 2015 21:48:05 +0000 (21:48 +0000)]
Merge "Accessibility: ignore children of a view with node provider." into lmp-mr1-dev

9 years agoMerge "Accessibility: Handle a missed case when clicking focused views." into lmp...
Svet Ganov [Fri, 6 Feb 2015 21:46:24 +0000 (21:46 +0000)]
Merge "Accessibility: Handle a missed case when clicking focused views." into lmp-mr1-dev

9 years agoAccessibility: ignore children of a view with node provider.
Svet Ganov [Fri, 6 Feb 2015 20:41:17 +0000 (12:41 -0800)]
Accessibility: ignore children of a view with node provider.

A view that has an accessibility node provider should not have real children
since the provider is responsible to generate the node infos for the subtree
rooted at its hosting view. This is how the APIs are designed to work. However,
it is a common mistake and if this occurs the accessibility services
introspecting the screen get into an infinite loop.

The framework now does not add the real children of a view with a node provider
to the list of accessibility children. If the developer wants them exposed they
have to do that via the provider APIs as per contract.

bug:19297093

Change-Id: I1b01b1e4a85e1c397886fcd2506b434beb063687

9 years agoAccessibility: Handle a missed case when clicking focused views.
Svet Ganov [Fri, 6 Feb 2015 18:12:32 +0000 (10:12 -0800)]
Accessibility: Handle a missed case when clicking focused views.

The clicking logic was missing the case where a child of the accessibility
focused view reacts to the injected down up events for clicking. This
results of a whole class of views being non-interactive. Now if an event
is targeting accessibility focus and the dispatching view group has this
focus, we clear the flag before dispatching to children, so they can
handle the event rather ignoring it becuase they are not accessibility
focused.

bug:19252492

Change-Id: I6ac25bb7a50b35bb638ca4bfb9fc4198d08c2d4d

9 years agoMerge "Avoid static initialization of Layout from TextUtils" into lmp-mr1-dev
Neil Fuller [Fri, 6 Feb 2015 17:30:45 +0000 (17:30 +0000)]
Merge "Avoid static initialization of Layout from TextUtils" into lmp-mr1-dev

9 years agoMerge "Fix mangled javadoc for setPermittedInputMethods." into lmp-mr1-dev
Kenny Guy [Fri, 6 Feb 2015 15:22:22 +0000 (15:22 +0000)]
Merge "Fix mangled javadoc for setPermittedInputMethods." into lmp-mr1-dev

9 years agoAvoid static initialization of Layout from TextUtils
Neil Fuller [Fri, 6 Feb 2015 10:03:08 +0000 (10:03 +0000)]
Avoid static initialization of Layout from TextUtils

This works around a bug in standalone (e.g. non-Zygote)
runtimes when a device is attached to a host that is running
DDM.

There is a race condition:

When the runtime receives a HELLO from DDM it calls
TextUtils.isEmpty().

Calling any TextUtils methods statically initializes
Layout. Layout has dependencies on other classes, which in
turn have dependencies on native methods that are not always
registered when the call takes place. Registration and DDM
handling are done in separate threads.

This is not a fix, merely a workaround until the race can
be resolved.

Bug: 18081539
Change-Id: If1bd3de6597bc93da381c8f86dacf40156449561

9 years agoMerge "reset col position to 1 on row PAC" into lmp-mr1-dev
Chong Zhang [Fri, 6 Feb 2015 02:06:23 +0000 (02:06 +0000)]
Merge "reset col position to 1 on row PAC" into lmp-mr1-dev

9 years agoreset col position to 1 on row PAC
Chong Zhang [Fri, 6 Feb 2015 00:46:06 +0000 (16:46 -0800)]
reset col position to 1 on row PAC

bug: 19284568
Change-Id: I7d439027ab6411bcd5c149580babee80dc5f9478

9 years agoMerge "Mutate scroll bar drawables" into lmp-mr1-dev
Alan Viverette [Fri, 6 Feb 2015 00:19:43 +0000 (00:19 +0000)]
Merge "Mutate scroll bar drawables" into lmp-mr1-dev

9 years agoMutate scroll bar drawables
Alan Viverette [Thu, 5 Feb 2015 23:58:56 +0000 (15:58 -0800)]
Mutate scroll bar drawables

Bug: 19285726
Change-Id: I4bb596433c1fa1cc4e2fa53d0cdae992f9add858

9 years agoMerge "Update preference dialog padding to Material" into lmp-mr1-dev
Alan Viverette [Thu, 5 Feb 2015 22:06:35 +0000 (22:06 +0000)]
Merge "Update preference dialog padding to Material" into lmp-mr1-dev

9 years agoMerge "Suppress phone number from logcat." into lmp-mr1-dev
Sanket Padawe [Thu, 5 Feb 2015 20:51:09 +0000 (20:51 +0000)]
Merge "Suppress phone number from logcat." into lmp-mr1-dev

9 years agoam ac7b9dd3: am 42d3b66f: am e0852368: Fix a few typos in Parcel.java.
John Spurlock [Thu, 5 Feb 2015 20:39:36 +0000 (20:39 +0000)]
am ac7b9dd3: am 42d3b66f: am e0852368: Fix a few typos in Parcel.java.

* commit 'ac7b9dd39f64118a2129c17cdc7b6c93e53e1c42':
  Fix a few typos in Parcel.java.

9 years agoUpdate preference dialog padding to Material
Alan Viverette [Thu, 5 Feb 2015 20:35:07 +0000 (12:35 -0800)]
Update preference dialog padding to Material

Mostly copy/paste of the Holo with some padding fiddling to make the
EditText, which has baked-in padding, and TextView line up.

Bug: 19280124
Change-Id: I4a8ad7dcc1f1bd519f4d1c506984871a25a1db31

9 years agoam 42d3b66f: am e0852368: Fix a few typos in Parcel.java.
John Spurlock [Thu, 5 Feb 2015 20:27:59 +0000 (20:27 +0000)]
am 42d3b66f: am e0852368: Fix a few typos in Parcel.java.

* commit '42d3b66f48906e35244ffc9a45daae87021fc1a5':
  Fix a few typos in Parcel.java.

9 years agoam e0852368: Fix a few typos in Parcel.java.
John Spurlock [Thu, 5 Feb 2015 20:18:03 +0000 (20:18 +0000)]
am e0852368: Fix a few typos in Parcel.java.

* commit 'e08523684d5414117f81debd4eb14bc8eb494c29':
  Fix a few typos in Parcel.java.

9 years agoMerge "camera2: Make legacy error handling more robust." into lmp-mr1-dev
Ruben Brunk [Thu, 5 Feb 2015 19:54:36 +0000 (19:54 +0000)]
Merge "camera2: Make legacy error handling more robust." into lmp-mr1-dev

9 years agoFix mangled javadoc for setPermittedInputMethods.
Kenny Guy [Thu, 5 Feb 2015 19:48:38 +0000 (19:48 +0000)]
Fix mangled javadoc for setPermittedInputMethods.

Fix java doc for setPermittedInputMethods.

Bug: 19276777
Change-Id: Iecd670b35cd675ff9dd4654c9876697801eb20ac

9 years agoSuppress phone number from logcat.
Sanket Padawe [Thu, 5 Feb 2015 19:45:27 +0000 (11:45 -0800)]
Suppress phone number from logcat.

Bug: 19251204
Change-Id: I042bc3c0a89967eeae547b059f06cf05de005b25

9 years agoMerge "Make ArrayMap.EMPTY immutable" into lmp-mr1-dev
Adam Lesinski [Thu, 5 Feb 2015 19:26:58 +0000 (19:26 +0000)]
Merge "Make ArrayMap.EMPTY immutable" into lmp-mr1-dev

9 years agoMerge "Always re-establish kernel alarms when considering new alarm set" into lmp...
Dianne Hackborn [Thu, 5 Feb 2015 19:24:15 +0000 (19:24 +0000)]
Merge "Always re-establish kernel alarms when considering new alarm set" into lmp-mr1-dev

9 years agoMerge "Ellipsize QS detail items when needed" into lmp-mr1-dev
Jason Monk [Thu, 5 Feb 2015 19:19:42 +0000 (19:19 +0000)]
Merge "Ellipsize QS detail items when needed" into lmp-mr1-dev

9 years agoMerge "Invalidate SubtitleView during setText()" into lmp-mr1-dev
Alan Viverette [Thu, 5 Feb 2015 19:16:57 +0000 (19:16 +0000)]
Merge "Invalidate SubtitleView during setText()" into lmp-mr1-dev

9 years agoMake ArrayMap.EMPTY immutable
Adam Lesinski [Thu, 5 Feb 2015 19:11:03 +0000 (11:11 -0800)]
Make ArrayMap.EMPTY immutable

This is a regression from KitKat.

Bug:19271657
Change-Id: I11b8e4dd50f6a8d2b15fef66b44aa2d72b1f0349

9 years agoInvalidate SubtitleView during setText()
Alan Viverette [Thu, 5 Feb 2015 17:58:49 +0000 (09:58 -0800)]
Invalidate SubtitleView during setText()

Ensures that even if layout does not change, the view is redrawn.

Bug: 19277437
Change-Id: I078ee3176c2bac6c754a0e2f378f97370ecef76a

9 years agoEllipsize QS detail items when needed
Jason Monk [Thu, 5 Feb 2015 16:54:58 +0000 (11:54 -0500)]
Ellipsize QS detail items when needed

Bug: 19262637
Change-Id: I395125a7c00e558e914aff9cf9c48a363435a9b2

9 years agoMerge "Only switch user if current user is being wiped" into lmp-mr1-dev
Kenny Guy [Thu, 5 Feb 2015 12:34:43 +0000 (12:34 +0000)]
Merge "Only switch user if current user is being wiped" into lmp-mr1-dev

9 years agocamera2: Make legacy error handling more robust.
Ruben Brunk [Thu, 5 Feb 2015 01:26:17 +0000 (17:26 -0800)]
camera2: Make legacy error handling more robust.

- Relax internal timeout for JPEG captures in LEGACY mode.
- Make RequestThreadManager.quit() idempotent to avoid queuing
  messages on a dead thread's handler.
- Catch RuntimeExceptions from other Camera1 API methods to
  allow proper cleanup + release of Camera1 API client.

Bug: 19255187
Change-Id: I6cb08bb6b832b0d0df6ee6e8983c35de2df4a408

9 years agoMove layer-list to be top-level element in seek bar progress
Alan Viverette [Thu, 5 Feb 2015 01:15:01 +0000 (17:15 -0800)]
Move layer-list to be top-level element in seek bar progress

There is a bug in <scale>, but this works around it for now. Removes
the previous fix, which broke the initial state due to the level not
propagating when the current drawable was swapped out.

Bug: 19269656
Change-Id: Ibe586ef4ea326a7ce7516ca42a369c5386c24359

9 years agoMerge "Camera2: relax the EV compensation requirements" into lmp-mr1-dev
Zhijun He [Thu, 5 Feb 2015 01:10:28 +0000 (01:10 +0000)]
Merge "Camera2: relax the EV compensation requirements" into lmp-mr1-dev

9 years agoMerge "Allow top-level drawable container in progressDrawable" into lmp-mr1-dev
Alan Viverette [Thu, 5 Feb 2015 00:47:16 +0000 (00:47 +0000)]
Merge "Allow top-level drawable container in progressDrawable" into lmp-mr1-dev

9 years agoAllow top-level drawable container in progressDrawable
Alan Viverette [Thu, 5 Feb 2015 00:44:02 +0000 (16:44 -0800)]
Allow top-level drawable container in progressDrawable

Bug: 19269656
Change-Id: I82a49d1565f5c49320872f1489ce0f630ac85bd0

9 years agoMerge "Replace ic_clear with vector icon" into lmp-mr1-dev
Alan Viverette [Thu, 5 Feb 2015 00:20:14 +0000 (00:20 +0000)]
Merge "Replace ic_clear with vector icon" into lmp-mr1-dev

9 years agoFix TODO in javadoc for FEATURE_CONTENT_TRANSITIONS.
George Mount [Wed, 4 Feb 2015 22:37:04 +0000 (14:37 -0800)]
Fix TODO in javadoc for FEATURE_CONTENT_TRANSITIONS.

Bug 19254085

Change-Id: I22d4c4e3d1d754ab96741eb0e0290d1ecfc05552

9 years agoFix a few typos in Parcel.java.
John Spurlock [Wed, 4 Feb 2015 20:47:40 +0000 (15:47 -0500)]
Fix a few typos in Parcel.java.

Change-Id: Ic1674fc72f08a0f3536b4870a5ce7d14ee6fcc16

9 years agoReplace ic_clear with vector icon
Alan Viverette [Wed, 4 Feb 2015 22:43:03 +0000 (14:43 -0800)]
Replace ic_clear with vector icon

Fixes the clear icon being really tiny.

Bug: 19248473
Change-Id: I2c87aa9e055d04d96fa6ccf458cfcc642a4d55ab

9 years agoCamera2: relax the EV compensation requirements
Zhijun He [Wed, 4 Feb 2015 21:55:14 +0000 (13:55 -0800)]
Camera2: relax the EV compensation requirements

FULL and LIMITED is allowed to advertise [0,0], which indicates that the
exposure compensation is not supported.

Bug: 19219128
Change-Id: I6020a771201d754351f76617f68c06363fac78e8

9 years agoAlways re-establish kernel alarms when considering new alarm set
Christopher Tate [Wed, 4 Feb 2015 21:48:29 +0000 (13:48 -0800)]
Always re-establish kernel alarms when considering new alarm set

As a backstop against missed alarm delivery / wakeups or clock slew,
make sure to always schedule a kernel alarm for the next alarm events
of interest when we've reexamined the set of deliverable alarms.

Bug 19201933

Change-Id: I3cd37a63dfb0c8258941497d4ba516ed00e2edad

9 years agoOnly switch user if current user is being wiped
Kenny Guy [Wed, 4 Feb 2015 17:55:42 +0000 (17:55 +0000)]
Only switch user if current user is being wiped

Only try and switch to owner if the current user
is being removed.

Bug: 19252449
Change-Id: I0143d87360db0834876821cbf52fec4933ecbd35

9 years agoMerge "audio: allow audio port cache update even when audio patches contain invalidat...
Wonsik Kim [Tue, 3 Feb 2015 23:39:57 +0000 (23:39 +0000)]
Merge "audio: allow audio port cache update even when audio patches contain invalidated sources/sinks" into lmp-mr1-dev

9 years agocamera2: limit flexYUV array size in DngCreator
Lajos Molnar [Tue, 3 Feb 2015 22:55:21 +0000 (14:55 -0800)]
camera2: limit flexYUV array size in DngCreator

corrected overread

Bug: 19211135
Change-Id: I373b84dd9e2dc6219a305bf2d0308119668fab2a

9 years agoMerge "Facilitate network validation on networks with a per-network PAC." into lmp...
Paul Jensen [Tue, 3 Feb 2015 21:08:58 +0000 (21:08 +0000)]
Merge "Facilitate network validation on networks with a per-network PAC." into lmp-mr1-dev

9 years agoFacilitate network validation on networks with a per-network PAC.
Paul Jensen [Mon, 2 Feb 2015 16:03:03 +0000 (11:03 -0500)]
Facilitate network validation on networks with a per-network PAC.

On networks with a per-network PAC, Network.openConnection(URL) will
fetch using NO_PROXY.  This will fail on networks where Internet
access is only permitted via the proxy.  Always failing network
validation has the potential to disable WiFi auto-join.  Instead
of performing the normal connectivity check, instead attempt to
fetch the PAC, as this is meant to succeed with NO_PROXY.

bug:19143573
Change-Id: Ia482f5c046d338c27daf42571f20851dfa36671c

9 years agoFix broken activation of the selected view in accessibility mode.
Svetoslav [Sat, 31 Jan 2015 04:28:41 +0000 (20:28 -0800)]
Fix broken activation of the selected view in accessibility mode.

We were using an approximation to determine where to send a pair of down
and up events to click on the view that has accessibility focus. We were
doing reverse computation to figuring out which portion of the view is
not covered by interactive views and get a point in this region. However,
determining whether a view is interactive is not feasible in general since
for example may override onTouchEvent. This results in views not being
activated or which is worse wrong views being activated.

This change swithes to a new approach to activate views in accessibility
mode which is guaranteed to always work except the very rare case of a
view that overrides dispatchTouchEvent (which developers shouldn't be
doing). The new approach is to flag the down and up events pair sent
by the touch explorer as targeting the accessibility focused view. Such
events are dispatched such that views predecessors of the accessibility
focus do not handle them guaranteeing that these events reach the accessibiliy
focused view. Once the accessibiliy focused view gets such an event it clears
the flag and the event is dispatched following the normal event dispatch
semantics.

The new approach is semantically equivalent to requesting the view to perform
a click accessiblitiy action but is more generic as it is not affected by
views not implementing click action support correctly.

bug:18986806
bug:18889611

Change-Id: Id4b7b886c9fd34f7eb11e606636d8e3bab122869

9 years agoam d14b6432: am eba583e3: docs: February 2015 Dashboard updates
Joe Fernandez [Mon, 2 Feb 2015 19:24:38 +0000 (19:24 +0000)]
am d14b6432: am eba583e3: docs: February 2015 Dashboard updates
automerge: c6ca860

* commit 'c6ca8600a4257b25d2ffd1ab6abe02089d06b3d7':
  docs: February 2015 Dashboard updates

9 years agoMerge "Send accessibility event when bouncer is shown" into lmp-mr1-dev
Jorim Jaggi [Mon, 2 Feb 2015 19:19:23 +0000 (19:19 +0000)]
Merge "Send accessibility event when bouncer is shown" into lmp-mr1-dev