OSDN Git Service

android-x86/frameworks-base.git
8 years agoUpdate EditText.setEllipsize JavaDoc
Siyamed Sinir [Wed, 2 Mar 2016 22:11:34 +0000 (14:11 -0800)]
Update EditText.setEllipsize JavaDoc

Update EditText.setEllipsize JavaDoc to describe that MARQUEE is not
supported by EditText.

Bug: 26219977
Change-Id: Ibe709f3470a749c0fbb672c8ec33f0835c5d90ec

8 years agoMerge "Added dump method to NetworkTimeUpdateService" into nyc-dev
Fyodor Kupolov [Wed, 2 Mar 2016 18:18:35 +0000 (18:18 +0000)]
Merge "Added dump method to NetworkTimeUpdateService" into nyc-dev

8 years agoMerge "add all those great comments from the other file" into nyc-dev
Chris Wren [Wed, 2 Mar 2016 17:51:23 +0000 (17:51 +0000)]
Merge "add all those great comments from the other file" into nyc-dev

8 years agoMerge "Fix widget icon and tap behaviour." into nyc-dev
Rubin Xu [Wed, 2 Mar 2016 17:48:04 +0000 (17:48 +0000)]
Merge "Fix widget icon and tap behaviour." into nyc-dev

8 years agoMerge "Fix crash from battery detail" into nyc-dev
Jason Monk [Wed, 2 Mar 2016 17:42:26 +0000 (17:42 +0000)]
Merge "Fix crash from battery detail" into nyc-dev

8 years agoFix crash from battery detail
Jason Monk [Wed, 2 Mar 2016 17:40:43 +0000 (12:40 -0500)]
Fix crash from battery detail

Bug: 27417780
Change-Id: Ia63dd78a4b7b75470b57c8262bbc836180274bf5

8 years agoMerge "SensorEventListener: Clarify documentation." into nyc-dev
Greg Kaiser [Wed, 2 Mar 2016 17:27:46 +0000 (17:27 +0000)]
Merge "SensorEventListener: Clarify documentation." into nyc-dev

8 years agoMerge "doc: Fix syntax error in code example." into nyc-dev
Greg Kaiser [Wed, 2 Mar 2016 17:26:44 +0000 (17:26 +0000)]
Merge "doc: Fix syntax error in code example." into nyc-dev

8 years agoMerge "docs: Mild fix to a sensors_overview code example" into nyc-dev
Greg Kaiser [Wed, 2 Mar 2016 17:15:51 +0000 (17:15 +0000)]
Merge "docs: Mild fix to a sensors_overview code example" into nyc-dev

8 years agoMerge "Revert "Revert "make isUiModeLocked, isNightModeLocked test api""" into nyc-dev
Keun-young Park [Wed, 2 Mar 2016 17:12:40 +0000 (17:12 +0000)]
Merge "Revert "Revert "make isUiModeLocked, isNightModeLocked test api""" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Wed, 2 Mar 2016 16:38:49 +0000 (16:38 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Simplify the error logs for profiles we can't open." into nyc-dev
Calin Juravle [Wed, 2 Mar 2016 16:17:33 +0000 (16:17 +0000)]
Merge "Simplify the error logs for profiles we can't open." into nyc-dev

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 2 Mar 2016 15:30:42 +0000 (07:30 -0800)]
Import translations. DO NOT MERGE

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

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Wed, 2 Mar 2016 15:26:06 +0000 (15:26 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 2 Mar 2016 15:25:28 +0000 (07:25 -0800)]
Import translations. DO NOT MERGE

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

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Wed, 2 Mar 2016 15:22:26 +0000 (15:22 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 2 Mar 2016 15:20:37 +0000 (07:20 -0800)]
Import translations. DO NOT MERGE

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

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Wed, 2 Mar 2016 15:20:12 +0000 (15:20 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 2 Mar 2016 15:14:03 +0000 (07:14 -0800)]
Import translations. DO NOT MERGE

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

8 years agoMerge "Track libcore change 2729b8c4d26170." into nyc-dev
Narayan Kamath [Wed, 2 Mar 2016 14:25:37 +0000 (14:25 +0000)]
Merge "Track libcore change 2729b8c4d26170." into nyc-dev

8 years agoTrack libcore change 2729b8c4d26170.
Narayan Kamath [Wed, 2 Mar 2016 13:35:23 +0000 (13:35 +0000)]
Track libcore change 2729b8c4d26170.

test-current.txt was regenerated on nyc-dev.

bug: 27423298

(cherry picked from commit b16a96538aa735c6926a95250fde2eca4b8e38ad)

Change-Id: Ieba7afaff407a421d3c2430f243151857cb42f97

8 years agoMerge "Don't clear widget providers from stopped profiles." into nyc-dev
Kenny Guy [Wed, 2 Mar 2016 14:16:17 +0000 (14:16 +0000)]
Merge "Don't clear widget providers from stopped profiles." into nyc-dev

8 years agoMerge "Add StubMethodAdapterTest" into nyc-dev
Deepanshu Gupta [Wed, 2 Mar 2016 13:32:17 +0000 (13:32 +0000)]
Merge "Add StubMethodAdapterTest" into nyc-dev

8 years agoAdd StubMethodAdapterTest
Deepanshu Gupta [Wed, 2 Mar 2016 08:39:24 +0000 (00:39 -0800)]
Add StubMethodAdapterTest

This tests the bugfix in StubMethodAdapter made in the change with id
I098996e43e330e995d33f12df1c16355bbc02f0f (commit 491523d)

Change-Id: I1ac897a49071dd9558bdc6b8abec29df913a6047

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Wed, 2 Mar 2016 13:28:43 +0000 (13:28 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoLayoutLib: Reference android's junit in intellij project.
Deepanshu Gupta [Wed, 7 Oct 2015 00:53:51 +0000 (17:53 -0700)]
LayoutLib: Reference android's junit in intellij project.

Prevents errors due to mismatch in junit version.

Change-Id: I2adf32efb16472aa5f5e51025b6bb75afc76a8b4

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 2 Mar 2016 13:25:51 +0000 (08:25 -0500)]
Import translations. DO NOT MERGE

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

8 years agoMerge "Close InputStream in BatteryStatsHelper" into nyc-dev
Nimrod Gileadi [Wed, 2 Mar 2016 09:17:20 +0000 (09:17 +0000)]
Merge "Close InputStream in BatteryStatsHelper" into nyc-dev

8 years agoMerge "Fix DocumentUI's perf tests compile failure." into nyc-dev
Tomasz Mikolajewski [Wed, 2 Mar 2016 09:00:46 +0000 (09:00 +0000)]
Merge "Fix DocumentUI's perf tests compile failure." into nyc-dev

8 years agoFix DocumentUI's perf tests compile failure.
Tomasz Mikolajewski [Wed, 2 Mar 2016 08:57:46 +0000 (17:57 +0900)]
Fix DocumentUI's perf tests compile failure.

It compiled locally, but not on the APCT.

Bug: 27370274
Change-Id: I7f10f3bf5b370d8e92311febfdcae133148e1312

8 years agoMerge "Fix layoutlib expand unit test" into nyc-dev
Diego Perez [Wed, 2 Mar 2016 08:57:25 +0000 (08:57 +0000)]
Merge "Fix layoutlib expand unit test" into nyc-dev

8 years agoAdd 464xlat notification callback
Erik Kline [Wed, 2 Mar 2016 08:37:06 +0000 (08:37 +0000)]
Add 464xlat notification callback
am: 8d6edc3270

* commit '8d6edc3270616b119645fbdf8752c0ea37de0731':
  Add 464xlat notification callback

8 years agoMerge changes Id78aab9c,I51096b18 into nyc-dev
Lorenzo Colitti [Wed, 2 Mar 2016 08:32:50 +0000 (08:32 +0000)]
Merge changes Id78aab9c,I51096b18 into nyc-dev

* changes:
  Speed up ConnectivityServiceTest.
  Make it easier to test code that uses WakeupMessage.

8 years agoMerge "Add a missing include in DocumentsUI Android.mk." into nyc-dev
Tomasz Mikolajewski [Wed, 2 Mar 2016 08:06:02 +0000 (08:06 +0000)]
Merge "Add a missing include in DocumentsUI Android.mk." into nyc-dev

8 years agoAdd a missing include in DocumentsUI Android.mk.
Tomasz Mikolajewski [Wed, 2 Mar 2016 07:58:55 +0000 (16:58 +0900)]
Add a missing include in DocumentsUI Android.mk.

Without it, perf tests were not built on APCT.

Bug: 27370274
Change-Id: Ie154526d240bb9d1b4cce6fc089d502bf808c366

8 years agoSpeed up ConnectivityServiceTest.
Lorenzo Colitti [Sat, 20 Feb 2016 16:09:26 +0000 (01:09 +0900)]
Speed up ConnectivityServiceTest.

1. Override WakeupMessage with an implementation that uses
   sendEmptyMessageDelayed. This allows us to replace a
   6-second sleep with a 150ms wait.
2. Change waitFor()'s polling interval from 100ms to 50ms.

With these changes ConnectivityServiceTest goes from ~9s to ~3s.

Change-Id: Id78aab9cded90a5b17f09d7f437904e179808dd2

8 years agoAdd 464xlat notification callback
Erik Kline [Mon, 29 Feb 2016 07:00:01 +0000 (16:00 +0900)]
Add 464xlat notification callback

Bug: 26238390
Bug: 26991160
Change-Id: I556e779c642d19cd8d26637dd98055157d005f77

8 years agoMerge "Fix broken tests due to uninitialized roots." into nyc-dev
Tomasz Mikolajewski [Wed, 2 Mar 2016 06:12:28 +0000 (06:12 +0000)]
Merge "Fix broken tests due to uninitialized roots." into nyc-dev

8 years agoFix broken tests due to uninitialized roots.
Tomasz Mikolajewski [Wed, 2 Mar 2016 05:38:23 +0000 (14:38 +0900)]
Fix broken tests due to uninitialized roots.

Change-Id: I014657cab86ffa17290ab8990f0adaa6f6451e15

8 years agoMerge "MediaBrowserService: Make SubscriptionCallback.onError be called" into nyc-dev
Sungsoo Lim [Wed, 2 Mar 2016 05:40:00 +0000 (05:40 +0000)]
Merge "MediaBrowserService: Make SubscriptionCallback.onError be called" into nyc-dev

8 years agoMerge "Add scaffolds for performance tests of DocumentsUI" into nyc-dev
Tomasz Mikolajewski [Wed, 2 Mar 2016 05:35:02 +0000 (05:35 +0000)]
Merge "Add scaffolds for performance tests of DocumentsUI" into nyc-dev

8 years agoMake it easier to test code that uses WakeupMessage.
Lorenzo Colitti [Sat, 20 Feb 2016 16:04:13 +0000 (01:04 +0900)]
Make it easier to test code that uses WakeupMessage.

Code that uses WakeupMessage uses the AlarmManager. Testing such
code is slow because AlarmManager.MIN_FUTURITY ensures that
alarms must wait at least 5 seconds before firing.

This change makes WakeupMessage's fields protected so that test
code can subclass from it and override schedule() and cancel()
with implementations that do not use AlarmManager, for example
by making schedule() call sendEmptyMessageDelayed and making
cancel() call removeMessages.

Change-Id: I51096b182d9eb87cc7bd46c3c91906f18356b354

8 years agoMediaBrowserService: Make SubscriptionCallback.onError be called
Sungsoo Lim [Tue, 23 Feb 2016 08:30:33 +0000 (17:30 +0900)]
MediaBrowserService: Make SubscriptionCallback.onError be called

Bug: 26733259
Change-Id: I8324e1c56e87071e781550ac0701e632a4122e73

8 years agoMerge "Enable add/remove window manager log points" into nyc-dev
Wale Ogunwale [Wed, 2 Mar 2016 04:46:52 +0000 (04:46 +0000)]
Merge "Enable add/remove window manager log points" into nyc-dev

8 years agoEnable add/remove window manager log points
Wale Ogunwale [Wed, 2 Mar 2016 04:42:53 +0000 (20:42 -0800)]
Enable add/remove window manager log points

To debug 27286867.

Bug: 27286867
Change-Id: Iab5e608f8437ee0e315bfa3d091980f4a9e3a3b5

8 years agoMerge "Update wallpaper asset for N dev preview Bug: 27434845" into nyc-dev
Hyunyoung Song [Wed, 2 Mar 2016 04:40:45 +0000 (04:40 +0000)]
Merge "Update wallpaper asset for N dev preview Bug: 27434845" into nyc-dev

8 years agoUpdate wallpaper asset for N dev preview
Hyunyoung Song [Wed, 2 Mar 2016 04:39:03 +0000 (20:39 -0800)]
Update wallpaper asset for N dev preview
Bug: 27434845

Change-Id: I0f9ff168beab12d630ab824ab632f98051564570

8 years agoMerge changes Ic366b532,I0179b45b into nyc-dev
Lorenzo Colitti [Wed, 2 Mar 2016 04:18:02 +0000 (04:18 +0000)]
Merge changes Ic366b532,I0179b45b into nyc-dev

* changes:
  Move PinningNetworkCallback out to a new NetworkPinner class.
  Use MessageUtils in ConnectivityManager.

8 years agoAdd scaffolds for performance tests of DocumentsUI
Tomasz Mikolajewski [Wed, 24 Feb 2016 03:53:44 +0000 (12:53 +0900)]
Add scaffolds for performance tests of DocumentsUI

Bug: 27370274
Change-Id: I14dea1b85cd84c8bb3c0eee27b2954108bfa4f8b

8 years agoMove PinningNetworkCallback out to a new NetworkPinner class.
Lorenzo Colitti [Tue, 1 Mar 2016 03:55:58 +0000 (12:55 +0900)]
Move PinningNetworkCallback out to a new NetworkPinner class.

Also add tests.

Bug: 19159232
Change-Id: Ic366b53259ee5944a8e864876425a6558c0a7216

8 years agoDO NOT MERGE ANYWHERE Add way to query for supported Bluetooth profiles. am: 7c2539e2...
Bryce Lee [Wed, 2 Mar 2016 03:21:35 +0000 (03:21 +0000)]
DO NOT MERGE ANYWHERE Add way to query for supported Bluetooth profiles. am: 7c2539e2a5  -s ours
am: 21c47d1b22  -s ours

* commit '21c47d1b22cfa317d7925b01de1c13cc2a39b3d6':
  DO NOT MERGE ANYWHERE Add way to query for supported Bluetooth profiles.

8 years agoMerge "When system server goes down, crash admins." into nyc-dev
Jeff Sharkey [Wed, 2 Mar 2016 03:17:41 +0000 (03:17 +0000)]
Merge "When system server goes down, crash admins." into nyc-dev

8 years agoWhen system server goes down, crash admins.
Jeff Sharkey [Wed, 2 Mar 2016 02:46:25 +0000 (19:46 -0700)]
When system server goes down, crash admins.

Apps making calls into the system server may end up persisting
internal state or making security decisions based on the perceived
success or failure of a call, or the default values returned.

The reality is that if the system process just died, init will be
along shortly to kill all running apps, so we should have no problem
rethrowing the RemoteException as a RuntimeException.

Bug: 27364859
Change-Id: I866a8c3c9682da1de2a31fe8b4ffcc9d7f4d8ba0

8 years agoDO NOT MERGE ANYWHERE Add way to query for supported Bluetooth profiles.
Bryce Lee [Wed, 2 Mar 2016 03:12:09 +0000 (03:12 +0000)]
DO NOT MERGE ANYWHERE Add way to query for supported Bluetooth profiles.
am: 7c2539e2a5  -s ours

* commit '7c2539e2a50ec3dcdb1c9420f9215bba438b21b6':
  DO NOT MERGE ANYWHERE Add way to query for supported Bluetooth profiles.

8 years agoMerge "When system server goes down, crash apps more." into nyc-dev
Jeff Sharkey [Wed, 2 Mar 2016 02:42:14 +0000 (02:42 +0000)]
Merge "When system server goes down, crash apps more." into nyc-dev

8 years agoMerge "Restored switchTo method" into nyc-dev
Fyodor Kupolov [Wed, 2 Mar 2016 02:41:51 +0000 (02:41 +0000)]
Merge "Restored switchTo method" into nyc-dev

8 years agoRestored switchTo method
Fyodor Kupolov [Wed, 2 Mar 2016 02:39:27 +0000 (18:39 -0800)]
Restored switchTo method

It is current used in another branch. Restored to fix a breakage.

Change-Id: Iec98bf525b88b6b5b45bffb97a1f3e9b57c492dd

8 years agoWhen system server goes down, crash apps more.
Jeff Sharkey [Wed, 2 Mar 2016 02:27:23 +0000 (19:27 -0700)]
When system server goes down, crash apps more.

Apps making calls into the system server may end up persisting
internal state or making security decisions based on the perceived
success or failure of a call, or the default values returned.

The reality is that if the system process just died, init will be
along shortly to kill all running apps, so we should have no problem
rethrowing the RemoteException as a RuntimeException.

Bug: 27364859
Change-Id: Ife0bcb079636c88d54c44d17eb580409fd79028b

8 years agoRevert "Revert "make isUiModeLocked, isNightModeLocked test api""
Keun-young Park [Wed, 2 Mar 2016 02:18:19 +0000 (02:18 +0000)]
Revert "Revert "make isUiModeLocked, isNightModeLocked test api""

This reverts commit 92373d23ee13a3d017ee8570229eed164935cd35.

Change-Id: Idf0c3f1d3bed522142f8af3526effe813664d89f

8 years agoMerge "Start unaware persistent apps after user unlocked." into nyc-dev
Jeff Sharkey [Wed, 2 Mar 2016 01:54:11 +0000 (01:54 +0000)]
Merge "Start unaware persistent apps after user unlocked." into nyc-dev

8 years agoMerge "Revert "Adding getManagedUserBadgedDrawableForDensity() to PackageManager...
Vadim Tryshev [Wed, 2 Mar 2016 01:52:18 +0000 (01:52 +0000)]
Merge "Revert "Adding getManagedUserBadgedDrawableForDensity() to PackageManager."" into nyc-dev

8 years agoRevert "Adding getManagedUserBadgedDrawableForDensity() to PackageManager."
Vadim Tryshev [Wed, 2 Mar 2016 01:51:42 +0000 (01:51 +0000)]
Revert "Adding getManagedUserBadgedDrawableForDensity() to PackageManager."

This reverts commit 9f68f41a5866e1feb810b16c769705c10e850d5d.

Caused breakage.

Change-Id: I441737f61f6f38ed9f440211b52bbac0f74982e3

8 years agoStart unaware persistent apps after user unlocked.
Jeff Sharkey [Wed, 2 Mar 2016 01:38:49 +0000 (18:38 -0700)]
Start unaware persistent apps after user unlocked.

Otherwise we'll never start them.  In particular, this fixes NFC.

Bug: 27360562
Change-Id: I9d430b1e377e63b35060b234f585ac180a369ad2

8 years agoMerge "Annotate Media section of framework/base" into nyc-dev
Insun Kang [Wed, 2 Mar 2016 01:36:09 +0000 (01:36 +0000)]
Merge "Annotate Media section of framework/base" into nyc-dev

8 years agoMerge "Fix roots filtering for move operations." into nyc-dev
Steve McKay [Wed, 2 Mar 2016 01:33:31 +0000 (01:33 +0000)]
Merge "Fix roots filtering for move operations." into nyc-dev

8 years agoFix roots filtering for move operations.
Steve McKay [Tue, 1 Mar 2016 23:11:56 +0000 (15:11 -0800)]
Fix roots filtering for move operations.

Add test coverage for the Downloads case.
This was a regression to my recent cleanup of RootInfo.
Fixed logic to not exclude basically *everything* when a
    directory is in the set of files to be copied.

Bug: 27303346
Change-Id: I4d5608e0d8d95448b027b20107a11a7a5e46d45e

8 years agoFixed a bug where the notification texts wouldn't animate
Selim Cinek [Tue, 1 Mar 2016 20:06:57 +0000 (12:06 -0800)]
Fixed a bug where the notification texts wouldn't animate

If the texts were the same but one had an ellipsis and the
other didn't, things were not animating nicely.

Bug: 27419215
Change-Id: Iaa9611e1cf60b6fe71113b76f36ab5c24e461961

8 years agoMerge "Don't evict SharedPreferences when migrate no-op." into nyc-dev
Jeff Sharkey [Wed, 2 Mar 2016 00:53:11 +0000 (00:53 +0000)]
Merge "Don't evict SharedPreferences when migrate no-op." into nyc-dev

8 years agoMerge "Make preferred activities encryption aware." into nyc-dev
Jeff Sharkey [Wed, 2 Mar 2016 00:52:34 +0000 (00:52 +0000)]
Merge "Make preferred activities encryption aware." into nyc-dev

8 years agoMerge "Utility to detect lock inversions in system." into nyc-dev
Jeff Sharkey [Wed, 2 Mar 2016 00:52:20 +0000 (00:52 +0000)]
Merge "Utility to detect lock inversions in system." into nyc-dev

8 years agoMerge "Adding getManagedUserBadgedDrawableForDensity() to PackageManager." into nyc-dev
Vadim Tryshev [Wed, 2 Mar 2016 00:49:28 +0000 (00:49 +0000)]
Merge "Adding getManagedUserBadgedDrawableForDensity() to PackageManager." into nyc-dev

8 years agoMerge "Relaunch activity resumed if it got resumed before relaunching." into nyc-dev
Wale Ogunwale [Wed, 2 Mar 2016 00:45:02 +0000 (00:45 +0000)]
Merge "Relaunch activity resumed if it got resumed before relaunching." into nyc-dev

8 years agoAdding getManagedUserBadgedDrawableForDensity() to PackageManager.
Vadim Tryshev [Thu, 18 Feb 2016 23:41:21 +0000 (15:41 -0800)]
Adding getManagedUserBadgedDrawableForDensity() to PackageManager.

It allows badging an image regardless of of the user (no
user id parameter). The styling for managed users is applied.

This is useful for new cases where the existing functions
wouldn't badge the icon, but we need it.

Bug: 25192539
Change-Id: I20ca2d7265cbc3a47c050a72ec1843cc0a481c74

8 years agoMerge "Sometimes to step forward, we need to go back. [2/2]" into nyc-dev
Jeff Sharkey [Wed, 2 Mar 2016 00:38:39 +0000 (00:38 +0000)]
Merge "Sometimes to step forward, we need to go back. [2/2]" into nyc-dev

8 years agoMerge "Sometimes to step forward, we need to go back. [1/2]" into nyc-dev
Jeff Sharkey [Wed, 2 Mar 2016 00:38:31 +0000 (00:38 +0000)]
Merge "Sometimes to step forward, we need to go back. [1/2]" into nyc-dev

8 years agoMerge "Check if item is selectable before calling on click" into nyc-dev
Yigit Boyar [Wed, 2 Mar 2016 00:36:48 +0000 (00:36 +0000)]
Merge "Check if item is selectable before calling on click" into nyc-dev

8 years agoSometimes to step forward, we need to go back. [2/2]
Jeff Sharkey [Wed, 2 Mar 2016 00:36:23 +0000 (17:36 -0700)]
Sometimes to step forward, we need to go back. [2/2]

Change-Id: Iccabb95530a6e3c3950cb9a8dfe84e75354d2f5f

8 years agoMerge "Don't pass calling contexts into static services." into nyc-dev
Lorenzo Colitti [Wed, 2 Mar 2016 00:33:41 +0000 (00:33 +0000)]
Merge "Don't pass calling contexts into static services." into nyc-dev

8 years agoSometimes to step forward, we need to go back. [1/2]
Jeff Sharkey [Wed, 2 Mar 2016 00:28:36 +0000 (17:28 -0700)]
Sometimes to step forward, we need to go back. [1/2]

Change-Id: Ibff95298dc2e6c09675018ad0c45506589b6312a

8 years agoCheck if item is selectable before calling on click
Yigit Boyar [Wed, 2 Mar 2016 00:09:58 +0000 (16:09 -0800)]
Check if item is selectable before calling on click

This CL fixes a bug in ListView where it might call onClick on an
un-clickable if a new touch arrives before up timeout.

We could actually consider making child position non-changable
but that will change behavior. This seems safer approach.

Bug: 27198796
Change-Id: I7b15d04efa19d1d760a294bd027f3da3aaa3a445

8 years agoMerge "Revert "Temporarily disable AVD on RT"" into nyc-dev
Doris Liu [Wed, 2 Mar 2016 00:08:28 +0000 (00:08 +0000)]
Merge "Revert "Temporarily disable AVD on RT"" into nyc-dev

8 years agoRevert "Temporarily disable AVD on RT"
John Reck [Tue, 1 Mar 2016 23:58:12 +0000 (23:58 +0000)]
Revert "Temporarily disable AVD on RT"

This reverts commit 128a36526c14d03d9585c12e808c5fb7ffd3bc3c.

Change-Id: Ibd687a9272d63feb842fba765b8b1d5165841527

8 years agoMerge "Temporarily disable AVD on RT" into nyc-dev
John Reck [Tue, 1 Mar 2016 23:58:04 +0000 (23:58 +0000)]
Merge "Temporarily disable AVD on RT" into nyc-dev

8 years agoTemporarily disable AVD on RT
John Reck [Tue, 1 Mar 2016 23:43:34 +0000 (15:43 -0800)]
Temporarily disable AVD on RT

Bug: 27396097
Change-Id: I44324bca96e4a3a659d7222970c7e5d635a36383

8 years agoMerge "API for safe label to present in the UI" into nyc-dev
Svetoslav Ganov [Tue, 1 Mar 2016 23:42:18 +0000 (23:42 +0000)]
Merge "API for safe label to present in the UI" into nyc-dev

8 years agoMerge "Throw exception from SoftKeyboardController if connection is dead and declare...
Anna Galusza [Tue, 1 Mar 2016 23:39:07 +0000 (23:39 +0000)]
Merge "Throw exception from SoftKeyboardController if connection is dead and declare SHOW_MODE_AUTO and SHOW_MODE_HIDDEN in AccessibilityService class. Bug: 27364143" into nyc-dev

8 years agoMerge "Disable switching users if the user is in a call" into nyc-dev
Fyodor Kupolov [Tue, 1 Mar 2016 23:21:26 +0000 (23:21 +0000)]
Merge "Disable switching users if the user is in a call" into nyc-dev

8 years agoMerge "Use Holo date/time picker layouts on very small screens" into nyc-dev
Alan Viverette [Tue, 1 Mar 2016 23:13:41 +0000 (23:13 +0000)]
Merge "Use Holo date/time picker layouts on very small screens" into nyc-dev

8 years agoMerge "Hide overlay windows in VR mode" into nyc-dev
Svetoslav Ganov [Tue, 1 Mar 2016 23:02:30 +0000 (23:02 +0000)]
Merge "Hide overlay windows in VR mode" into nyc-dev

8 years agoHide overlay windows in VR mode
Svetoslav Ganov [Tue, 1 Mar 2016 23:01:14 +0000 (15:01 -0800)]
Hide overlay windows in VR mode

bug:26775563

Change-Id: I0e81cc64f281cd085ff642ebd93f32ceb3ad5480

8 years agoMerge "Revert "make isUiModeLocked, isNightModeLocked test api"" into nyc-dev
Keun-young Park [Tue, 1 Mar 2016 22:59:13 +0000 (22:59 +0000)]
Merge "Revert "make isUiModeLocked, isNightModeLocked test api"" into nyc-dev

8 years agoRevert "make isUiModeLocked, isNightModeLocked test api"
Keun-young Park [Tue, 1 Mar 2016 22:58:15 +0000 (22:58 +0000)]
Revert "make isUiModeLocked, isNightModeLocked test api"

This reverts commit b493a7dffe1b40fd7d5c22b8ed340c76918bc56b.

Change-Id: I651b7ee5b9ca5d7fa1cde1c625bbaa585e186544

8 years agoMerge "Created netpolicy commands to manage UIDs blacklisted for network access while...
Felipe Leme [Tue, 1 Mar 2016 22:43:10 +0000 (22:43 +0000)]
Merge "Created netpolicy commands to manage UIDs blacklisted for network access while on background." into nyc-dev

8 years agoAPI for safe label to present in the UI
Svetoslav Ganov [Tue, 1 Mar 2016 22:12:43 +0000 (14:12 -0800)]
API for safe label to present in the UI

bug:23531798

Change-Id: Ic3e0ed3db11445dbc5e562ca1a91b181ec5f2553

8 years agoMerge "Ensure directory names are aligned correctly..." into nyc-dev
Steve McKay [Tue, 1 Mar 2016 22:30:12 +0000 (22:30 +0000)]
Merge "Ensure directory names are aligned correctly..." into nyc-dev

8 years agoDon't evict SharedPreferences when migrate no-op.
Jeff Sharkey [Tue, 1 Mar 2016 22:25:03 +0000 (15:25 -0700)]
Don't evict SharedPreferences when migrate no-op.

When calling migrateSharedPreferencesFrom(), only evict the in-memory
caches when we actually moved files around.

Bug: 27387346
Change-Id: I4fb534e55c0d3df7c574f18d2a853ef824635b8e

8 years agoMake preferred activities encryption aware.
Jeff Sharkey [Tue, 1 Mar 2016 22:15:55 +0000 (15:15 -0700)]
Make preferred activities encryption aware.

Not all built-in apps are encryption aware, so match them all when
setting up preferred activities.

Bug: 27429841
Change-Id: I0fd2195714fac95d031813bab73125a5c7b6c81a

8 years agoMerge "TIF: Address API review comments" into nyc-dev
Dongwon Kang [Tue, 1 Mar 2016 22:11:43 +0000 (22:11 +0000)]
Merge "TIF: Address API review comments" into nyc-dev

8 years agoUse Holo date/time picker layouts on very small screens
Alan Viverette [Tue, 1 Mar 2016 21:48:04 +0000 (16:48 -0500)]
Use Holo date/time picker layouts on very small screens

If the screen is smaller than "small" then use the Holo picker layouts.
Unifies the SavedState between delegates so that we can seamlessly
transition between them during configuration changes. Pushes the
DatePickerSpinnerDelegate up to the same level as the calendar delegate.

Bug: 27239893
Change-Id: Ida4dc2748d38bd766ae93d12aef15e963921939c

8 years agoadd all those great comments from the other file
Chris Wren [Tue, 1 Mar 2016 21:44:32 +0000 (16:44 -0500)]
add all those great comments from the other file

also pick up some enum renaming

Bug: 27429645
Change-Id: Id26ddea46755b43e8db298b87b3a47b69be0f728