OSDN Git Service

android-x86/frameworks-base.git
9 years agoMerge "Add ability to get device by address" into mnc-dev
Jason Monk [Tue, 2 Jun 2015 20:41:21 +0000 (20:41 +0000)]
Merge "Add ability to get device by address" into mnc-dev

9 years agoMerge "Temporarily whitelist an app for network during doze" into mnc-dev
Amith Yamasani [Tue, 2 Jun 2015 20:34:58 +0000 (20:34 +0000)]
Merge "Temporarily whitelist an app for network during doze" into mnc-dev

9 years agoMerge "Use immutable ashmem bitmaps in screenshot notifications." into mnc-dev
Winson Chung [Tue, 2 Jun 2015 20:20:06 +0000 (20:20 +0000)]
Merge "Use immutable ashmem bitmaps in screenshot notifications." into mnc-dev

9 years agoRemove obsolete symbols
Adrian Roos [Tue, 2 Jun 2015 02:20:07 +0000 (19:20 -0700)]
Remove obsolete symbols

Change-Id: I8e95e82ef4f954376c57685df80184416d579fe5

9 years agoMerge "Device policy: consistent javadoc and annotations" into mnc-dev
Robin Lee [Tue, 2 Jun 2015 19:53:40 +0000 (19:53 +0000)]
Merge "Device policy: consistent javadoc and annotations" into mnc-dev

9 years agoMerge "aapt: add option for stricter symbol generation" into mnc-dev
Adrian Roos [Tue, 2 Jun 2015 19:52:31 +0000 (19:52 +0000)]
Merge "aapt: add option for stricter symbol generation" into mnc-dev

9 years agoUse immutable ashmem bitmaps in screenshot notifications.
Winson Chung [Tue, 2 Jun 2015 19:18:05 +0000 (12:18 -0700)]
Use immutable ashmem bitmaps in screenshot notifications.

Bug 21037890
Change-Id: Ib5ed32bb475e1e8f7b3407ac72f53a6d640ffad1

9 years agoMerge "Fix the NPE when checking mRebootReason" into mnc-dev
Tao Bao [Tue, 2 Jun 2015 19:17:52 +0000 (19:17 +0000)]
Merge "Fix the NPE when checking mRebootReason" into mnc-dev

9 years agoMerge "Fix calls to Rect.intersect(Rect) in package com.android.server.wm" into mnc-dev
Doris Liu [Tue, 2 Jun 2015 19:13:34 +0000 (19:13 +0000)]
Merge "Fix calls to Rect.intersect(Rect) in package com.android.server.wm" into mnc-dev

9 years agoFix the NPE when checking mRebootReason
Tao Bao [Tue, 2 Jun 2015 19:12:53 +0000 (12:12 -0700)]
Fix the NPE when checking mRebootReason

Bug: 21584198
Change-Id: Ie11092dbc771b54bd049d258dc705835a3eda494

9 years agoMerge "Handle network info updates while scanning is paused" into mnc-dev
Jason Monk [Tue, 2 Jun 2015 18:59:44 +0000 (18:59 +0000)]
Merge "Handle network info updates while scanning is paused" into mnc-dev

9 years agoMerge "Make CameraService proxy retry behavior more lenient." into mnc-dev
Ruben Brunk [Tue, 2 Jun 2015 18:55:26 +0000 (18:55 +0000)]
Merge "Make CameraService proxy retry behavior more lenient." into mnc-dev

9 years agoDevice policy: consistent javadoc and annotations
Robin Lee [Tue, 2 Jun 2015 16:56:29 +0000 (09:56 -0700)]
Device policy: consistent javadoc and annotations

Annotated all uses of the ComponentName parameter to methods in
DevicePolicyManager to indicate whether null is acceptable.

Deleted/fixed some inconsistent or poorly-worded documentation.

Bug: 21422939
Change-Id: Iadfa78c5170bf4899a9daaf93c3d4e9d8b170a45

9 years agoMerge "Enabled WMS.DEBUG_STARTING_WINDOW" into mnc-dev
Wale Ogunwale [Tue, 2 Jun 2015 18:55:09 +0000 (18:55 +0000)]
Merge "Enabled WMS.DEBUG_STARTING_WINDOW" into mnc-dev

9 years agoMerge "@hide TYPE_APPLICATION_ABOVE_SUB_PANEL window type." into mnc-dev
Wale Ogunwale [Tue, 2 Jun 2015 18:54:54 +0000 (18:54 +0000)]
Merge "@hide TYPE_APPLICATION_ABOVE_SUB_PANEL window type." into mnc-dev

9 years agoHandle network info updates while scanning is paused
Jason Monk [Tue, 2 Jun 2015 18:52:22 +0000 (14:52 -0400)]
Handle network info updates while scanning is paused

Bug: 21581533
Change-Id: I4216c3e9b64cb758e32dd93c39061f9d7a642ee0

9 years agoEnabled WMS.DEBUG_STARTING_WINDOW
Wale Ogunwale [Tue, 2 Jun 2015 18:32:52 +0000 (11:32 -0700)]
Enabled WMS.DEBUG_STARTING_WINDOW

To debug starting window issue reported in comment #38
of b/21384482

Bug 21384482

Change-Id: I2fbafda5fa79448057cf27a65d1be9b96894770e

9 years agoMerge "Show Carrier Network Change icon SysUI even while connected" into mnc-dev
Andrew Flynn [Tue, 2 Jun 2015 18:28:22 +0000 (18:28 +0000)]
Merge "Show Carrier Network Change icon SysUI even while connected" into mnc-dev

9 years agoMerge "Revert "Consistent documentation and annotations for DPMS"" into mnc-dev
Robin Lee [Tue, 2 Jun 2015 18:25:42 +0000 (18:25 +0000)]
Merge "Revert "Consistent documentation and annotations for DPMS"" into mnc-dev

9 years agoRevert "Consistent documentation and annotations for DPMS"
Robin Lee [Tue, 2 Jun 2015 18:25:28 +0000 (18:25 +0000)]
Revert "Consistent documentation and annotations for DPMS"

This reverts commit 695142a17a657d2c254ec4e1bfad9920f4c54832.

Change-Id: Iaa2abe7e8bcecc5177a395b0dab8f66cc7100d3d

9 years agoMerge "Consistent documentation and annotations for DPMS" into mnc-dev
Robin Lee [Tue, 2 Jun 2015 18:16:25 +0000 (18:16 +0000)]
Merge "Consistent documentation and annotations for DPMS" into mnc-dev

9 years agoConsistent documentation and annotations for DPMS
Robin Lee [Tue, 2 Jun 2015 16:56:29 +0000 (09:56 -0700)]
Consistent documentation and annotations for DPMS

Annotated all uses of the ComponentName parameter to methods in
DevicePolicyManager to indicate whether null is acceptable.

Deleted or fixed some inconsistent or poorly-worded documentation.

Bug: 21422939
Change-Id: I8d86d0968c2af3595f268828ea1625f1ed256d50

9 years ago@hide TYPE_APPLICATION_ABOVE_SUB_PANEL window type.
Wale Ogunwale [Tue, 2 Jun 2015 18:07:07 +0000 (11:07 -0700)]
@hide TYPE_APPLICATION_ABOVE_SUB_PANEL window type.

Bug: 21572285
Change-Id: Iff56a8ee5b91e02bd20afb7891bd94a0ec1abba9

9 years agoAdd ability to get device by address
Jason Monk [Tue, 2 Jun 2015 18:05:18 +0000 (14:05 -0400)]
Add ability to get device by address

Bug: 21444336
Change-Id: I003092a12e93e2eccab736e7da20a6a23df30bbf

9 years agoTemporarily whitelist an app for network during doze
Amith Yamasani [Fri, 29 May 2015 22:35:26 +0000 (15:35 -0700)]
Temporarily whitelist an app for network during doze

API to allow an app to be whitelisted for network and wakelock
access for a short period. So even if the device is in idle
mode, such apps can be given a chance to download the payload
related to a high priority cloud-to-device message.

This API is meant for system apps only.

A new permission CHANGE_DEVICE_IDLE_TEMP_WHITELIST is required
to make this call.

Bug: 21525864
Change-Id: Id7a761a664f21af5d7ff55aa56e8df98d15511ca

9 years agoMerge "Should reset mDismissKeyguard on keyguard secure change" into mnc-dev
Olawale Ogunwale [Tue, 2 Jun 2015 17:51:15 +0000 (17:51 +0000)]
Merge "Should reset mDismissKeyguard on keyguard secure change" into mnc-dev

9 years agoMerge "Fix null pointer dereference when security exception occurs" into mnc-dev
Olawale Ogunwale [Tue, 2 Jun 2015 17:51:00 +0000 (17:51 +0000)]
Merge "Fix null pointer dereference when security exception occurs" into mnc-dev

9 years agoMerge "WindowManagerService not propagating X and Y steps" into mnc-dev
Olawale Ogunwale [Tue, 2 Jun 2015 17:50:37 +0000 (17:50 +0000)]
Merge "WindowManagerService not propagating X and Y steps" into mnc-dev

9 years agoMake CameraService proxy retry behavior more lenient.
Ruben Brunk [Tue, 2 Jun 2015 01:41:28 +0000 (18:41 -0700)]
Make CameraService proxy retry behavior more lenient.

Bug: 21527760
Change-Id: I70abea66f1d1fafffcfdd8e30b0cff244f814e59

9 years agoMerge "System Health: Support expiring tokens" into mnc-dev
Carlos Valdivia [Tue, 2 Jun 2015 17:31:27 +0000 (17:31 +0000)]
Merge "System Health: Support expiring tokens" into mnc-dev

9 years agoMerge "Print exception stacktrace on failed scanPackageLI" into mnc-dev
Dmitriy Ivanov [Tue, 2 Jun 2015 17:28:21 +0000 (17:28 +0000)]
Merge "Print exception stacktrace on failed scanPackageLI" into mnc-dev

9 years agoMerge "Expose a few system APIs for BLE scan only mode." into mnc-dev
Wei Wang [Tue, 2 Jun 2015 17:23:59 +0000 (17:23 +0000)]
Merge "Expose a few system APIs for BLE scan only mode." into mnc-dev

9 years agoExpose a few system APIs for BLE scan only mode.
Wei Wang [Mon, 1 Jun 2015 19:14:28 +0000 (12:14 -0700)]
Expose a few system APIs for BLE scan only mode.

Bug: 21562349
Change-Id: Ifc58efcf01edac5b4f9e5266adb966e7bc492209

9 years agoSystem Health: Support expiring tokens
Carlos Valdivia [Fri, 22 May 2015 21:11:35 +0000 (14:11 -0700)]
System Health: Support expiring tokens

In the past android:customTokens=true authenticators were required to handle
their own token caching. This is detrimental for battery when high traffic
authenticators are constantly spinning up processes to start services to do
file io to check their own caches.  This change allows authenticator
implementers to optionally let the framework do some of the work for them by
providing the framework with a expiration time.

The AccountManagerService will make a best effort to re-use the cached
token if possible.

Bug: 21530782

Change-Id: I16a7edba36a220e3891e55cf61c725c2be863323

9 years agoMerge "Respect accessibility importance for before/after node ordering." into mnc-dev
Svet Ganov [Tue, 2 Jun 2015 16:49:46 +0000 (16:49 +0000)]
Merge "Respect accessibility importance for before/after node ordering." into mnc-dev

9 years agoMerge "Remove strict mode violation from value to string coercion" into mnc-dev
Alan Viverette [Tue, 2 Jun 2015 16:47:52 +0000 (16:47 +0000)]
Merge "Remove strict mode violation from value to string coercion" into mnc-dev

9 years agoRespect accessibility importance for before/after node ordering.
Svet Ganov [Tue, 2 Jun 2015 16:45:16 +0000 (09:45 -0700)]
Respect accessibility importance for before/after node ordering.

One can set a view to be visited before/after another one for
accessibility but the before/after target views were always added
to the node info for the view regardless if they are included
for accessiilbity. Now the target viwes are reported only if they
should be included for accessibility.

Change-Id: Iba64e6f0ee0dc090c8c3e6a0a940df8c7ecd49d9

9 years agoShow Carrier Network Change icon SysUI even while connected
Andrew Flynn [Fri, 29 May 2015 12:33:46 +0000 (08:33 -0400)]
Show Carrier Network Change icon SysUI even while connected

Taking connect/disconnect events into accounts results in frequent jank
while trying to show the icon.

Bug: 21504588
Change-Id: If271980cc46cfc20f80083de17a4b57c42439069

9 years agoFixed a crash with HUNs
Selim Cinek [Mon, 1 Jun 2015 13:11:19 +0000 (06:11 -0700)]
Fixed a crash with HUNs

Bug: 21500600
Change-Id: Idf0a7be5d58bb5c666b930a0beada1e0ed2869aa

9 years agoBluetooth PAN: Set isPreferred to true (1/2)
Andre Eisenbach [Tue, 2 Jun 2015 08:38:03 +0000 (01:38 -0700)]
Bluetooth PAN: Set isPreferred to true (1/2)

isPreferred must always be true for PAN so that the DUT can initiate
a PANU connection with the remote device not only from the internet
access menu in the profile setting, but also from the paired device
list menu.

Currently isPreferred is only true when PAN is in connected state
for the PANU role, so it will return false when the PAN profile is
not connected and the PANU connection will never be initiated
from the paired device list menu.

Change-Id: I120e681a113f56b74b45e01870adf96cdc2ca262

9 years agoBluetooth: Fix to avoid framework reboot during monkey testing
Nitin Shivpure [Thu, 12 Dec 2013 14:33:49 +0000 (20:03 +0530)]
Bluetooth: Fix to avoid framework reboot during monkey testing

When running monkeyrunner, sometimes the framework is disconnected due
to an unhandled Java exception while binding the PAN service (when it
is unsuccessful). Handing the Java exception while binding PAN service
solves this issue.

Change-Id: Idea710593a3f9496305f636042605303e73e7749

9 years agoMerge "Hide the software input based on its state." into mnc-dev
Seigo Nonaka [Tue, 2 Jun 2015 07:55:48 +0000 (07:55 +0000)]
Merge "Hide the software input based on its state." into mnc-dev

9 years agoMerge "Fix DHCP lease time parsing." into mnc-dev
Lorenzo Colitti [Tue, 2 Jun 2015 07:47:46 +0000 (07:47 +0000)]
Merge "Fix DHCP lease time parsing." into mnc-dev

9 years agoMerge "pass a defensive copy of DhcpResults" into mnc-dev
Erik Kline [Tue, 2 Jun 2015 07:42:53 +0000 (07:42 +0000)]
Merge "pass a defensive copy of DhcpResults" into mnc-dev

9 years agopass a defensive copy of DhcpResults
Erik Kline [Tue, 2 Jun 2015 06:51:45 +0000 (15:51 +0900)]
pass a defensive copy of DhcpResults

Also: correct state transition handling in DhcpBoundState#enter().

Bug: 20451261
Change-Id: I3be50f6b1b3fae179d6fff7ca8ae1d687caa3221

9 years agoFix DHCP lease time parsing.
Lorenzo Colitti [Tue, 2 Jun 2015 04:15:50 +0000 (13:15 +0900)]
Fix DHCP lease time parsing.

Currently we treat a lease time larger than 2**31-1 as a negative
value, which causes DhcpClient to attempt to renew its IP address
constantly. Fix this by properly handling large and infinite
lifetimes, and while we're at it, impose a minimum lease time of
60 seconds.

Bug: 21352084
Change-Id: If62c9efeffad6222e2fe0c110f77d0e4c70de96d

9 years agoam 65f6996a: (-s ours) am eb4bd19e: Terminate loop properly when cursor window is...
Jeff Brown [Tue, 2 Jun 2015 03:45:27 +0000 (03:45 +0000)]
am 65f6996a: (-s ours) am eb4bd19e: Terminate loop properly when cursor window is full. DO NOT MERGE

* commit '65f6996add7fe38000b5e28675b70064cec31837':
  Terminate loop properly when cursor window is full. DO NOT MERGE

9 years agoam eb4bd19e: Terminate loop properly when cursor window is full. DO NOT MERGE
Jeff Brown [Tue, 2 Jun 2015 03:33:31 +0000 (03:33 +0000)]
am eb4bd19e: Terminate loop properly when cursor window is full. DO NOT MERGE

* commit 'eb4bd19ef09b2c277347b08c4a050f01f686c9c2':
  Terminate loop properly when cursor window is full. DO NOT MERGE

9 years agoaapt: add option for stricter symbol generation
Adrian Roos [Tue, 2 Jun 2015 00:59:41 +0000 (17:59 -0700)]
aapt: add option for stricter symbol generation

Adds an option that prevents generating java symbols for string
resources that don't have a default localization.

Bug: 21537397
Change-Id: Ifafa942b24d5cdbed93651cde363e859be13d395

9 years agoUn-hide connectGatt() variant with selective transport
Andre Eisenbach [Thu, 14 May 2015 21:48:00 +0000 (14:48 -0700)]
Un-hide connectGatt() variant with selective transport

Change-Id: I1d3c512160de2bd68550faf243bb151d5cf7f3c9

9 years agoMerge "Track camera and flashlight usage in battery stats." into mnc-dev
Ruben Brunk [Tue, 2 Jun 2015 01:48:21 +0000 (01:48 +0000)]
Merge "Track camera and flashlight usage in battery stats." into mnc-dev

9 years agoHide the software input based on its state.
Seigo Nonaka [Tue, 26 May 2015 11:54:43 +0000 (20:54 +0900)]
Hide the software input based on its state.

This is a 2nd trial of I20ae2749a which is reverted due to a regression.
The goals of this CL are two:
- Split setImeWindowStatus method into two: keeping IMS status and
  updating system UI e.g. NavBar icon state.
- Hide software keyboard based on a realistic IMS status.

IMMS#mImeWindowVis has been used for two purpose, keeping IMS status and
updating the NavBar icons, e.g. keyboard icon.
However, to update NavBar icon, sometimes IMMS#mImeWindowVis value is
updated without any notification from IMS. As the result, the status
value becomes incosistent with the real IMS state.
This patch extracts NavBar update logic into separate method and keeps
IMMS#mImeWindowVis as notified status. Then, use it for hiding software
input correctly in IMMS#hideCurrentInputLocked.

This CL also removes refreshImeWindowVisibilityLocked method including
workaround for fixing Bug 11186297. That issue is no longer
reproducible with latest lock screen and almost no effect for existing
users and developers.  So simply remove them in this CL.

BUG: 21446788
BUG: 20764441
BUG: 18722991
Change-Id: I33dc6278fd892f26e56352722bf9449b8b102030

9 years agoam 348d0a68: am 7af35669: docs: Added Javadocs for Testing Support Library v0.3 and...
Quddus Chong [Tue, 2 Jun 2015 01:25:21 +0000 (01:25 +0000)]
am 348d0a68: am 7af35669: docs: Added Javadocs for Testing Support Library v0.3 and updated the corresponding setup instructions. bug: 21442922

* commit '348d0a68ad317877061f23da512144b0e4c2dc7c':
  docs: Added Javadocs for Testing Support Library v0.3 and updated the corresponding setup instructions. bug: 21442922

9 years agoPrint exception stacktrace on failed scanPackageLI
Dmitriy Ivanov [Tue, 2 Jun 2015 01:19:10 +0000 (18:19 -0700)]
Print exception stacktrace on failed scanPackageLI

 The current message does not provide enough
 information to figure out what is going on.

Bug: http://b/8076853
Change-Id: I741781ce6829eac44e4edddd0a545f3be743ceeb

9 years agoMerge "Fix issue related selecting of "Contact sharing" in BT Settings." into mnc-dev
Sanket Padawe [Tue, 2 Jun 2015 01:20:25 +0000 (01:20 +0000)]
Merge "Fix issue related selecting of "Contact sharing" in BT Settings." into mnc-dev

9 years agoMerge "Fix TextView ActionMode overflow finishes the ActionMode" into mnc-dev
Clara Bayarri [Tue, 2 Jun 2015 01:15:44 +0000 (01:15 +0000)]
Merge "Fix TextView ActionMode overflow finishes the ActionMode" into mnc-dev

9 years agoMerge "Make Text Selection Action Mode secondary items IF_ROOM" into mnc-dev
Clara Bayarri [Tue, 2 Jun 2015 01:15:02 +0000 (01:15 +0000)]
Merge "Make Text Selection Action Mode secondary items IF_ROOM" into mnc-dev

9 years agoam 7af35669: docs: Added Javadocs for Testing Support Library v0.3 and updated the...
Quddus Chong [Tue, 2 Jun 2015 01:07:57 +0000 (01:07 +0000)]
am 7af35669: docs: Added Javadocs for Testing Support Library v0.3 and updated the corresponding setup instructions. bug: 21442922

* commit '7af3566912b0e014cfd1704acdeb31a0a7cca0d3':
  docs: Added Javadocs for Testing Support Library v0.3 and updated the corresponding setup instructions. bug: 21442922

9 years agoMerge "Don't take the compatibility path for non-primary ActionModes" into mnc-dev
Adam Powell [Tue, 2 Jun 2015 01:00:05 +0000 (01:00 +0000)]
Merge "Don't take the compatibility path for non-primary ActionModes" into mnc-dev

9 years agoFix calls to Rect.intersect(Rect) in package com.android.server.wm
Doris Liu [Mon, 1 Jun 2015 20:18:43 +0000 (13:18 -0700)]
Fix calls to Rect.intersect(Rect) in package com.android.server.wm

This CL checks for the return value for Rect.intersect(Rect) for whether
there is actually an intersection before taking the calling rect as the
intersection. In addtion, this CL handles the cases where there is no
intersection (Rect.intersect(Rect) returns false).

bug: 7368679
Change-Id: I7d5ef7059ac432170470a108c0d6dece230ec0b3

9 years agoMerge "Don't add real children for a view with a node provider" into mnc-dev
Svetoslav [Tue, 2 Jun 2015 00:22:38 +0000 (00:22 +0000)]
Merge "Don't add real children for a view with a node provider" into mnc-dev

9 years agoDon't add real children for a view with a node provider
Svetoslav [Tue, 2 Jun 2015 00:21:59 +0000 (17:21 -0700)]
Don't add real children for a view with a node provider

Change-Id: I1dd43fa5ff93e8eb76e2c7587fb13cd1ef097678

9 years agodocs: Added Javadocs for Testing Support Library v0.3 and updated
Quddus Chong [Wed, 27 May 2015 23:07:54 +0000 (16:07 -0700)]
docs: Added Javadocs for Testing Support Library v0.3 and updated
the corresponding setup instructions.
bug: 21442922

Change-Id: I7374e8102fc95377e83db738ab7ff20510e04faa

9 years agoTerminate loop properly when cursor window is full. DO NOT MERGE
Jeff Brown [Sat, 30 May 2015 01:48:38 +0000 (18:48 -0700)]
Terminate loop properly when cursor window is full. DO NOT MERGE

The existing code exits the column-filling loop immediately but
may continue to try to fill rows.  Ordinarily this should fail
too but it's possible for the process to continue and then
blow up a little later.  Fixed this problem by exiting the row-
filling loop promptly.

Bug: 21406130
Change-Id: Ifab59188d5d1b40f3c1f5c97604dd48da71bf37b
(cherry picked from commit bb8c841e909a2fb967db2ad3b9f8b058f9b849e8)

9 years agoFix shared drawable state
Jorim Jaggi [Mon, 1 Jun 2015 23:25:39 +0000 (16:25 -0700)]
Fix shared drawable state

Not calling mutate here had a side-effect making the icon in the
status bar untintable in SysUI.

Bug: 21566007
Change-Id: Ifb78c81ba7f04d496f14031ef635a6e964e6280e

9 years agoTrack camera and flashlight usage in battery stats.
Ruben Brunk [Wed, 27 May 2015 00:32:16 +0000 (17:32 -0700)]
Track camera and flashlight usage in battery stats.

Bug: 15986092

Change-Id: Idf03981271721c44fd43327d5d90cf6f3fecfacb

9 years agoMerge "Add accidentally deleted strings." into mnc-dev
Svetoslav [Mon, 1 Jun 2015 23:53:54 +0000 (23:53 +0000)]
Merge "Add accidentally deleted strings." into mnc-dev

9 years agoMerge "Remove ViewAssistStructure and use the frameworks data structure" into mnc-dev
Selim Gurun [Mon, 1 Jun 2015 23:53:06 +0000 (23:53 +0000)]
Merge "Remove ViewAssistStructure and use the frameworks data structure" into mnc-dev

9 years agoMerge "Always send VIEW_CLICKED event from AdapterView.performItemClick()" into mnc-dev
Alan Viverette [Mon, 1 Jun 2015 23:52:35 +0000 (23:52 +0000)]
Merge "Always send VIEW_CLICKED event from AdapterView.performItemClick()" into mnc-dev

9 years agoAdd accidentally deleted strings.
Svetoslav [Mon, 1 Jun 2015 23:51:11 +0000 (16:51 -0700)]
Add accidentally deleted strings.

Change-Id: I16d7c151b46c076bfdccb1ff0b2bcb0934eedf93

9 years agoMerge "Camera2: Remove isLoggable" into mnc-dev
Eino-Ville Talvala [Mon, 1 Jun 2015 23:47:31 +0000 (23:47 +0000)]
Merge "Camera2: Remove isLoggable" into mnc-dev

9 years agoAlways send VIEW_CLICKED event from AdapterView.performItemClick()
Alan Viverette [Mon, 1 Jun 2015 23:41:42 +0000 (16:41 -0700)]
Always send VIEW_CLICKED event from AdapterView.performItemClick()

This makes it consistent with View.performClick().

Bug: 19574976
Change-Id: I00b222d56aa6fac03c2e6ead0604ee2ff3a6969d

9 years agoRemove ViewAssistStructure and use the frameworks data structure
Selim Gurun [Mon, 1 Jun 2015 23:26:10 +0000 (16:26 -0700)]
Remove ViewAssistStructure and use the frameworks data structure

As part of the API rename from ViewAssistStructure to ViewStructure,
we added a temporary workaround to prevent build breakage. Remove
the temporary workaround since the current unbundled webview package
implements the updated  onProvideVirtualStructure API.

Change-Id: I13a5b8dee3e856eb585de53a0750bd52c7a909a7

9 years agoMerge "Terminate loop properly when cursor window is full." into mnc-dev
Jeff Brown [Mon, 1 Jun 2015 23:34:24 +0000 (23:34 +0000)]
Merge "Terminate loop properly when cursor window is full." into mnc-dev

9 years agoTerminate loop properly when cursor window is full.
Jeff Brown [Sat, 30 May 2015 01:48:38 +0000 (18:48 -0700)]
Terminate loop properly when cursor window is full.

The existing code exits the column-filling loop immediately but
may continue to try to fill rows.  Ordinarily this should fail
too but it's possible for the process to continue and then
blow up a little later.  Fixed this problem by exiting the row-
filling loop promptly.

Bug: 21406130
Change-Id: Ifab59188d5d1b40f3c1f5c97604dd48da71bf37b

9 years agoMerge "Translucent bars in landscape" into mnc-dev
Adrian Roos [Mon, 1 Jun 2015 23:25:33 +0000 (23:25 +0000)]
Merge "Translucent bars in landscape" into mnc-dev

9 years agoMerge "LayoutLib: Skip classes from java package." into mnc-dev
Deepanshu Gupta [Mon, 1 Jun 2015 23:20:11 +0000 (23:20 +0000)]
Merge "LayoutLib: Skip classes from java package." into mnc-dev

9 years agoMerge "Skip warnings for some unresolved references." into mnc-dev
Deepanshu Gupta [Mon, 1 Jun 2015 23:20:03 +0000 (23:20 +0000)]
Merge "Skip warnings for some unresolved references." into mnc-dev

9 years agoam 65b7485d: am 2b95561d: docs: Fixed typo for confirm credentials section in the...
Quddus Chong [Mon, 1 Jun 2015 23:11:47 +0000 (23:11 +0000)]
am 65b7485d: am 2b95561d: docs: Fixed typo for confirm credentials section in the API Overview. bug: 21444273

* commit '65b7485d64661394b61df3df7eeccd063932886e':
  docs: Fixed typo for confirm credentials section in the API Overview. bug: 21444273

9 years agoMerge "Don't focus view for invalid task index." into mnc-dev
Winson Chung [Mon, 1 Jun 2015 23:07:36 +0000 (23:07 +0000)]
Merge "Don't focus view for invalid task index." into mnc-dev

9 years agoDon't focus view for invalid task index.
Winson Chung [Mon, 1 Jun 2015 23:02:58 +0000 (16:02 -0700)]
Don't focus view for invalid task index.

Bug: 21322861
Change-Id: I7b8397d18b488bd8f459e578b64d6e82e4f1437d

9 years agoFix issue related selecting of "Contact sharing" in BT Settings.
Sanket Padawe [Mon, 1 Jun 2015 22:55:30 +0000 (15:55 -0700)]
Fix issue related selecting of "Contact sharing" in BT Settings.

Bug: 20041014
Change-Id: I84b59fdfd82c4bf25965bcb10a15fbff2dfbe721

9 years agoTranslucent bars in landscape
Adrian Roos [Wed, 27 May 2015 01:30:37 +0000 (18:30 -0700)]
Translucent bars in landscape

Bug: 18739556
Change-Id: Ib9602a9d1f09e6bd6c1306927990676120dff012

9 years agoMerge "Fix one-action choosers with EXTRA_INITIAL_INTENTS" into mnc-dev
Adam Powell [Mon, 1 Jun 2015 22:37:37 +0000 (22:37 +0000)]
Merge "Fix one-action choosers with EXTRA_INITIAL_INTENTS" into mnc-dev

9 years agoMerge "Cleanup Video API javadoc." into mnc-dev
Tyler Gunn [Mon, 1 Jun 2015 22:35:28 +0000 (22:35 +0000)]
Merge "Cleanup Video API javadoc." into mnc-dev

9 years agoMerge "IMS: Conference fixes" into mnc-dev
Tyler Gunn [Mon, 1 Jun 2015 22:33:57 +0000 (22:33 +0000)]
Merge "IMS: Conference fixes" into mnc-dev

9 years agoMerge "Update VoiceInteractionService from API review." into mnc-dev
Dianne Hackborn [Mon, 1 Jun 2015 22:28:44 +0000 (22:28 +0000)]
Merge "Update VoiceInteractionService from API review." into mnc-dev

9 years agoRemove strict mode violation from value to string coercion
Alan Viverette [Mon, 1 Jun 2015 22:18:37 +0000 (15:18 -0700)]
Remove strict mode violation from value to string coercion

The legitimate uses of value to string coercion, including the
interaction between lax attribute formatting and AAPT type inference,
combined with the low likelihood of unintentional coercion and low cost
of most string coercions, makes the value to string coercion violation
overkill.

Bug: 21563086
Change-Id: I7892e776d3e5479fcba507749b074c2abdf1b781

9 years agoMerge "ActionBar menu text should look like Button" into mnc-dev
Alan Viverette [Mon, 1 Jun 2015 22:08:27 +0000 (22:08 +0000)]
Merge "ActionBar menu text should look like Button" into mnc-dev

9 years agoMerge "Revert "Revert "Use getRunAdvance to position cursor""" into mnc-dev
Raph Levien [Mon, 1 Jun 2015 21:41:58 +0000 (21:41 +0000)]
Merge "Revert "Revert "Use getRunAdvance to position cursor""" into mnc-dev

9 years agoMerge "Clean up AbsListView constructor" into mnc-dev
Alan Viverette [Mon, 1 Jun 2015 21:56:34 +0000 (21:56 +0000)]
Merge "Clean up AbsListView constructor" into mnc-dev

9 years agoMerge "MediaPlayer: trigger onError instead of exception on stale native notification...
Robert Shih [Mon, 1 Jun 2015 21:55:49 +0000 (21:55 +0000)]
Merge "MediaPlayer: trigger onError instead of exception on stale native notifications" into mnc-dev

9 years agoIMS: Conference fixes
Tyler Gunn [Mon, 1 Jun 2015 21:29:11 +0000 (14:29 -0700)]
IMS: Conference fixes

- Set phoneaccount to Conference
- Handle conference call in DIALING state

Change-Id: I549bf664724473f0d5d4450cbc8d96f7b534f43a
Bug: 21376607

9 years agoLayoutLib: Skip classes from java package.
Deepanshu Gupta [Mon, 1 Jun 2015 21:21:24 +0000 (14:21 -0700)]
LayoutLib: Skip classes from java package.

Classes in "java" package can't be defined at runtime anyway. No use
including them in LayoutLib.

Change-Id: I7e7c46f0d74e32c893b23093828569b4fa5e3a73

9 years agoSkip warnings for some unresolved references.
Deepanshu Gupta [Wed, 27 May 2015 19:35:56 +0000 (12:35 -0700)]
Skip warnings for some unresolved references.

Some applications rename the newer RTL attributes to the older
attributes in order to target RTL locales, but not need to include two
attributes everywhere it's needed. For example, iosched renames
paddingStart to paddingLeft (among other attributes) for API 17 and
above. This leads to hundreds of warnings about missing attributes.
This change suppresses such warnings.

Also, skip adding unresolved attributes to the typed array. This is more
in line with the actual implementation on device, and prevents
unexpected warnings/errors/crashes later.

Change-Id: Iee616fa6295aa9731ede0cf9dcd6dd2bd1fe8f20

9 years agoRevert "Revert "Use getRunAdvance to position cursor""
Raph Levien [Mon, 1 Jun 2015 21:34:47 +0000 (14:34 -0700)]
Revert "Revert "Use getRunAdvance to position cursor""

This reverts commit 5730c974800a0ffed59a041d9e249a5c42e417db.

9 years agoam 2b95561d: docs: Fixed typo for confirm credentials section in the API Overview...
Quddus Chong [Mon, 1 Jun 2015 21:31:23 +0000 (21:31 +0000)]
am 2b95561d: docs: Fixed typo for confirm credentials section in the API Overview. bug: 21444273

* commit '2b95561db50426779947ad5ab680994c24d79396':
  docs: Fixed typo for confirm credentials section in the API Overview. bug: 21444273

9 years agoMerge "Fix FloatingToolbar look and animation for RTL." into mnc-dev
Abodunrinwa Toki [Mon, 1 Jun 2015 21:31:19 +0000 (21:31 +0000)]
Merge "Fix FloatingToolbar look and animation for RTL." into mnc-dev

9 years agoMerge "Camera2: Add tangential distortion coefficients" into mnc-dev
Eino-Ville Talvala [Mon, 1 Jun 2015 21:26:01 +0000 (21:26 +0000)]
Merge "Camera2: Add tangential distortion coefficients" into mnc-dev

9 years agodocs: Fixed typo for confirm credentials section in the API Overview.
Quddus Chong [Mon, 1 Jun 2015 21:05:12 +0000 (14:05 -0700)]
docs: Fixed typo for confirm credentials section in the API Overview.
bug: 21444273

Change-Id: I01700e95227e5f7c09a5d6428877087d7ff0121a