OSDN Git Service

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

* commit 'd3c2089f8812063a1964087233b694780d3769fe':
  Add ability to get device by address

9 years agoam ff3b76d0: Merge "Temporarily whitelist an app for network during doze" into mnc-dev
Amith Yamasani [Tue, 2 Jun 2015 20:49:57 +0000 (20:49 +0000)]
am ff3b76d0: Merge "Temporarily whitelist an app for network during doze" into mnc-dev

* commit 'ff3b76d04672d09214cd0ceb29ec548c8abb2330':
  Temporarily whitelist an app for network during doze

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 agoam 42fde939: Merge "Use immutable ashmem bitmaps in screenshot notifications." into...
Winson Chung [Tue, 2 Jun 2015 20:28:23 +0000 (20:28 +0000)]
am 42fde939: Merge "Use immutable ashmem bitmaps in screenshot notifications." into mnc-dev

* commit '42fde939ea31e061a93a01b0d2f27032bfb2f3f6':
  Use immutable ashmem bitmaps in screenshot notifications.

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 agoam 3546c61b: Remove obsolete symbols
Adrian Roos [Tue, 2 Jun 2015 20:08:43 +0000 (20:08 +0000)]
am 3546c61b: Remove obsolete symbols

* commit '3546c61b27eee218fc37581a3e0229b8646eb119':
  Remove obsolete symbols

9 years agoam 02a400ca: Merge "Device policy: consistent javadoc and annotations" into mnc-dev
Robin Lee [Tue, 2 Jun 2015 20:02:07 +0000 (20:02 +0000)]
am 02a400ca: Merge "Device policy: consistent javadoc and annotations" into mnc-dev

* commit '02a400ca6e5a185906b743c379716f9315e03bb2':
  Device policy: consistent javadoc and annotations

9 years agoam 1ea14d66: Merge "aapt: add option for stricter symbol generation" into mnc-dev
Adrian Roos [Tue, 2 Jun 2015 20:02:03 +0000 (20:02 +0000)]
am 1ea14d66: Merge "aapt: add option for stricter symbol generation" into mnc-dev

* commit '1ea14d6696dafce9b7487eb850346a124a9c977c':
  aapt: add option for stricter symbol generation

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 agoam da3f63ff: Merge "Fix the NPE when checking mRebootReason" into mnc-dev
Tao Bao [Tue, 2 Jun 2015 19:42:53 +0000 (19:42 +0000)]
am da3f63ff: Merge "Fix the NPE when checking mRebootReason" into mnc-dev

* commit 'da3f63ffb87397943546a7c5c893ce98f2489df2':
  Fix the NPE when checking mRebootReason

9 years agoam 7c3185e0: Merge "Fix calls to Rect.intersect(Rect) in package com.android.server...
Doris Liu [Tue, 2 Jun 2015 19:42:48 +0000 (19:42 +0000)]
am 7c3185e0: Merge "Fix calls to Rect.intersect(Rect) in package com.android.server.wm" into mnc-dev

* commit '7c3185e0b45c6fe6e61b9d9da85cc12f8d7f68df':
  Fix calls to Rect.intersect(Rect) in package com.android.server.wm

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 agoam f3edbb55: Merge "Handle network info updates while scanning is paused" into mnc-dev
Jason Monk [Tue, 2 Jun 2015 19:10:50 +0000 (19:10 +0000)]
am f3edbb55: Merge "Handle network info updates while scanning is paused" into mnc-dev

* commit 'f3edbb55ddf45ba2b37c18dea9e2e80594b81523':
  Handle network info updates while scanning is paused

9 years agoam a90c453d: Merge "Make CameraService proxy retry behavior more lenient." into mnc-dev
Ruben Brunk [Tue, 2 Jun 2015 19:10:45 +0000 (19:10 +0000)]
am a90c453d: Merge "Make CameraService proxy retry behavior more lenient." into mnc-dev

* commit 'a90c453d177d2437a64ae5a8a4b9097668f2c4ff':
  Make CameraService proxy retry behavior more lenient.

9 years agoam 16dbf0c7: Merge "Enabled WMS.DEBUG_STARTING_WINDOW" into mnc-dev
Wale Ogunwale [Tue, 2 Jun 2015 19:10:40 +0000 (19:10 +0000)]
am 16dbf0c7: Merge "Enabled WMS.DEBUG_STARTING_WINDOW" into mnc-dev

* commit '16dbf0c79c6e8428c34f5da8c637baf5809f1748':
  Enabled WMS.DEBUG_STARTING_WINDOW

9 years agoam c9a04522: Merge "@hide TYPE_APPLICATION_ABOVE_SUB_PANEL window type." into mnc-dev
Wale Ogunwale [Tue, 2 Jun 2015 19:10:35 +0000 (19:10 +0000)]
am c9a04522: Merge "@hide TYPE_APPLICATION_ABOVE_SUB_PANEL window type." into mnc-dev

* commit 'c9a0452244420b910ca3294f043f34ccc6a6044c':
  @hide TYPE_APPLICATION_ABOVE_SUB_PANEL window type.

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 agoam 1fad138f: Merge "Show Carrier Network Change icon SysUI even while connected"...
Andrew Flynn [Tue, 2 Jun 2015 18:44:55 +0000 (18:44 +0000)]
am 1fad138f: Merge "Show Carrier Network Change icon SysUI even while connected" into mnc-dev

* commit '1fad138f820e23de050f16f22b5ad757dc41eb10':
  Show Carrier Network Change icon SysUI even while connected

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 agoam f4d9ecc5: Merge "Revert "Consistent documentation and annotations for DPMS"" into...
Robin Lee [Tue, 2 Jun 2015 18:29:45 +0000 (18:29 +0000)]
am f4d9ecc5: Merge "Revert "Consistent documentation and annotations for DPMS"" into mnc-dev

* commit 'f4d9ecc503e7e849ff37a4674680c7213d819592':
  Revert "Consistent documentation and annotations for DPMS"

9 years agoam 5de95550: Merge "Consistent documentation and annotations for DPMS" into mnc-dev
Robin Lee [Tue, 2 Jun 2015 18:29:41 +0000 (18:29 +0000)]
am 5de95550: Merge "Consistent documentation and annotations for DPMS" into mnc-dev

* commit '5de95550b7741bfd7d4da54ea562afb8bb328397':
  Consistent documentation and annotations for DPMS

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 agoam 5b9b66c7: Merge "Should reset mDismissKeyguard on keyguard secure change" into...
Olawale Ogunwale [Tue, 2 Jun 2015 18:01:40 +0000 (18:01 +0000)]
am 5b9b66c7: Merge "Should reset mDismissKeyguard on keyguard secure change" into mnc-dev

* commit '5b9b66c73c80697c1d3694a2d4ee975e409bd89d':
  Should reset mDismissKeyguard on keyguard secure change

9 years agoam cdc7bf10: Merge "Fix null pointer dereference when security exception occurs"...
Olawale Ogunwale [Tue, 2 Jun 2015 18:01:35 +0000 (18:01 +0000)]
am cdc7bf10: Merge "Fix null pointer dereference when security exception occurs" into mnc-dev

* commit 'cdc7bf10dd19d1fa233d51ba46151310f4e0fd3f':
  Fix null pointer dereference when security exception occurs

9 years agoam cbf400b1: Merge "WindowManagerService not propagating X and Y steps" into mnc-dev
Olawale Ogunwale [Tue, 2 Jun 2015 18:01:31 +0000 (18:01 +0000)]
am cbf400b1: Merge "WindowManagerService not propagating X and Y steps" into mnc-dev

* commit 'cbf400b1642913d8640ae0ce59e910e12d7e4f5d':
  WindowManagerService not propagating X and Y steps

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 agoam 2ed6369c: Merge "System Health: Support expiring tokens" into mnc-dev
Carlos Valdivia [Tue, 2 Jun 2015 17:36:03 +0000 (17:36 +0000)]
am 2ed6369c: Merge "System Health: Support expiring tokens" into mnc-dev

* commit '2ed6369c5d856aa2e1f9972d52f0f3c2526c713a':
  System Health: Support expiring tokens

9 years agoam bb0e5391: Merge "Print exception stacktrace on failed scanPackageLI" into mnc-dev
Dmitriy Ivanov [Tue, 2 Jun 2015 17:35:59 +0000 (17:35 +0000)]
am bb0e5391: Merge "Print exception stacktrace on failed scanPackageLI" into mnc-dev

* commit 'bb0e5391b82912a620b29a0f8b2af47649e7f9ce':
  Print exception stacktrace on failed scanPackageLI

9 years agoam 6f54da32: Merge "Expose a few system APIs for BLE scan only mode." into mnc-dev
Wei Wang [Tue, 2 Jun 2015 17:35:54 +0000 (17:35 +0000)]
am 6f54da32: Merge "Expose a few system APIs for BLE scan only mode." into mnc-dev

* commit '6f54da32c9c5c766ba15a6e9cc4be0c27276fc68':
  Expose a few system APIs for BLE scan only mode.

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 agoam 8fa8b95c: Merge "Respect accessibility importance for before/after node ordering...
Svet Ganov [Tue, 2 Jun 2015 16:57:18 +0000 (16:57 +0000)]
am 8fa8b95c: Merge "Respect accessibility importance for before/after node ordering." into mnc-dev

* commit '8fa8b95c9d38183497f08efc6bdf4d2c56a4116c':
  Respect accessibility importance for before/after node ordering.

9 years agoam 54310008: Merge "Remove strict mode violation from value to string coercion" into...
Alan Viverette [Tue, 2 Jun 2015 16:57:12 +0000 (16:57 +0000)]
am 54310008: Merge "Remove strict mode violation from value to string coercion" into mnc-dev

* commit '5431000830551959db15038da8f057c2e993d01a':
  Remove strict mode violation from value to string coercion

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 agoam 233241f1: Fixed a crash with HUNs
Selim Cinek [Tue, 2 Jun 2015 13:17:10 +0000 (13:17 +0000)]
am 233241f1: Fixed a crash with HUNs

* commit '233241f13d5d7f841d3db80408429d4d0a528c78':
  Fixed a crash with HUNs

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 agoam 60598075: Bluetooth PAN: Set isPreferred to true (1/2)
Andre Eisenbach [Tue, 2 Jun 2015 09:44:49 +0000 (09:44 +0000)]
am 60598075: Bluetooth PAN: Set isPreferred to true (1/2)

* commit '60598075a0d54dcb4287d77c91b946e6c407a669':
  Bluetooth PAN: Set isPreferred to true (1/2)

9 years agoam 1f8b8448: Bluetooth: Fix to avoid framework reboot during monkey testing
Nitin Shivpure [Tue, 2 Jun 2015 09:44:45 +0000 (09:44 +0000)]
am 1f8b8448: Bluetooth: Fix to avoid framework reboot during monkey testing

* commit '1f8b844870eb9acb334b541b0b41de37e000d2f0':
  Bluetooth: Fix to avoid framework reboot during monkey testing

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 agoam ac1f0a1a: Merge "Hide the software input based on its state." into mnc-dev
Seigo Nonaka [Tue, 2 Jun 2015 08:07:53 +0000 (08:07 +0000)]
am ac1f0a1a: Merge "Hide the software input based on its state." into mnc-dev

* commit 'ac1f0a1a9169f8bbbddba68b0410d5530512da63':
  Hide the software input based on its state.

9 years agoam 8f602cdd: Merge "Fix DHCP lease time parsing." into mnc-dev
Lorenzo Colitti [Tue, 2 Jun 2015 07:55:50 +0000 (07:55 +0000)]
am 8f602cdd: Merge "Fix DHCP lease time parsing." into mnc-dev

* commit '8f602cdd38f7345eb0a8ec34ae4e51a333edce6c':
  Fix DHCP lease time parsing.

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 agoam 168bfef1: Merge "pass a defensive copy of DhcpResults" into mnc-dev
Erik Kline [Tue, 2 Jun 2015 07:55:46 +0000 (07:55 +0000)]
am 168bfef1: Merge "pass a defensive copy of DhcpResults" into mnc-dev

* commit '168bfef182b8e631c93404f4e9e9c0176aa66ece':
  pass a defensive copy of DhcpResults

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 417820bb: am 65f6996a: (-s ours) am eb4bd19e: Terminate loop properly when cursor...
Jeff Brown [Tue, 2 Jun 2015 03:56:32 +0000 (03:56 +0000)]
am 417820bb: am 65f6996a: (-s ours) am eb4bd19e: Terminate loop properly when cursor window is full. DO NOT MERGE

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

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 agoam 708f57f4: Un-hide connectGatt() variant with selective transport
Andre Eisenbach [Tue, 2 Jun 2015 02:38:48 +0000 (02:38 +0000)]
am 708f57f4: Un-hide connectGatt() variant with selective transport

* commit '708f57f4dc34587cd9a0b507fda20555a94c4755':
  Un-hide connectGatt() variant with selective transport

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 agoam 11df5b66: Merge "Track camera and flashlight usage in battery stats." into mnc-dev
Ruben Brunk [Tue, 2 Jun 2015 01:57:03 +0000 (01:57 +0000)]
am 11df5b66: Merge "Track camera and flashlight usage in battery stats." into mnc-dev

* commit '11df5b66ef621c4d67f5b4980e879784de43fd70':
  Track camera and flashlight usage in battery stats.

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 agoam 082138cd: am 348d0a68: am 7af35669: docs: Added Javadocs for Testing Support Libra...
Quddus Chong [Tue, 2 Jun 2015 01:37:59 +0000 (01:37 +0000)]
am 082138cd: am 348d0a68: am 7af35669: docs: Added Javadocs for Testing Support Library v0.3 and updated the corresponding setup instructions. bug: 21442922

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

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 405e895c: Merge "Fix issue related selecting of "Contact sharing" in BT Settings...
Sanket Padawe [Tue, 2 Jun 2015 01:25:52 +0000 (01:25 +0000)]
am 405e895c: Merge "Fix issue related selecting of "Contact sharing" in BT Settings." into mnc-dev

* commit '405e895c987b556f0e23b953215d770de6a43c78':
  Fix issue related selecting of "Contact sharing" in BT Settings.

9 years agoam a0b77dd5: Merge "Fix TextView ActionMode overflow finishes the ActionMode" into...
Clara Bayarri [Tue, 2 Jun 2015 01:25:47 +0000 (01:25 +0000)]
am a0b77dd5: Merge "Fix TextView ActionMode overflow finishes the ActionMode" into mnc-dev

* commit 'a0b77dd5e2a6011291810db392be0981ed73aa97':
  Fix TextView ActionMode overflow finishes the ActionMode

9 years agoam d63a1776: Merge "Make Text Selection Action Mode secondary items IF_ROOM" into...
Clara Bayarri [Tue, 2 Jun 2015 01:25:42 +0000 (01:25 +0000)]
am d63a1776: Merge "Make Text Selection Action Mode secondary items IF_ROOM" into mnc-dev

* commit 'd63a177670a5f459f3380daff32e4561b0d5d26c':
  Make Text Selection Action Mode secondary items IF_ROOM

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 fa3f17f1: Merge "Don\'t take the compatibility path for non-primary ActionModes...
Adam Powell [Tue, 2 Jun 2015 01:13:34 +0000 (01:13 +0000)]
am fa3f17f1: Merge "Don\'t take the compatibility path for non-primary ActionModes" into mnc-dev

* commit 'fa3f17f117c6ce04e60b2e38b22e2c1c6ec34072':
  Don't take the compatibility path for non-primary ActionModes

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 agoam 4982e7b4: Merge "Don\'t add real children for a view with a node provider" into...
Svetoslav [Tue, 2 Jun 2015 00:30:00 +0000 (00:30 +0000)]
am 4982e7b4: Merge "Don\'t add real children for a view with a node provider" into mnc-dev

* commit '4982e7b4dce8afe2a5490ac6a6630039946b782f':
  Don't add real children for a view with a node provider

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