OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Remove unnecessary strings and labels." into nyc-dev
Philip P. Moltmann [Wed, 23 Mar 2016 20:45:33 +0000 (20:45 +0000)]
Merge "Remove unnecessary strings and labels." into nyc-dev

8 years agoMerge "handle wifi interface changes with interfaceRemoved" into nyc-dev
Rebecca Silberstein [Wed, 23 Mar 2016 20:41:05 +0000 (20:41 +0000)]
Merge "handle wifi interface changes with interfaceRemoved" into nyc-dev

8 years agoRemove unnecessary strings and labels.
Philip P. Moltmann [Wed, 23 Mar 2016 20:30:58 +0000 (13:30 -0700)]
Remove unnecessary strings and labels.

Bug: 27815807
Change-Id: I6388055938afbbadc954c913ce0554f9a4a313e8

8 years agoMerge "Precache/early kick off of op work for non-shadow ops." into nyc-dev
Chris Craik [Wed, 23 Mar 2016 20:24:24 +0000 (20:24 +0000)]
Merge "Precache/early kick off of op work for non-shadow ops." into nyc-dev

8 years agoPrecache/early kick off of op work for non-shadow ops.
Chris Craik [Tue, 22 Mar 2016 22:03:08 +0000 (15:03 -0700)]
Precache/early kick off of op work for non-shadow ops.

bug:26562703
bug:27052145

Change-Id: Ic452bfe75da849ffdd47fecdd6eb1472fd0c806e

8 years agoMerge "FloatingToolbar: Make it more obvious that there are more items in the overflo...
Abodunrinwa Toki [Wed, 23 Mar 2016 19:03:50 +0000 (19:03 +0000)]
Merge "FloatingToolbar: Make it more obvious that there are more items in the overflow." into nyc-dev

8 years agoFloatingToolbar: Make it more obvious that there are more items in the overflow.
Abodunrinwa Toki [Wed, 23 Mar 2016 15:56:43 +0000 (15:56 +0000)]
FloatingToolbar: Make it more obvious that there are more items in the overflow.

1. Make the overflow show part of the items hidden behind the scroll view
2. Increase the time the scrollbar is on screen so users are less likely to miss it

Bug: 27427333
Change-Id: Ia0bff5fa29cba3103263bc7d063176b0ba7ff7b9

8 years agoMerge "Add fill type support to vector drawable" into nyc-dev
Diego Perez [Wed, 23 Mar 2016 18:45:28 +0000 (18:45 +0000)]
Merge "Add fill type support to vector drawable" into nyc-dev

8 years agoMerge "Follow-up to "Close notification panel when user button is tapped"" into nyc-dev
Adrian Roos [Wed, 23 Mar 2016 18:27:09 +0000 (18:27 +0000)]
Merge "Follow-up to "Close notification panel when user button is tapped"" into nyc-dev

8 years agoFollow-up to "Close notification panel when user button is tapped"
Adrian Roos [Wed, 23 Mar 2016 18:23:51 +0000 (11:23 -0700)]
Follow-up to "Close notification panel when user button is tapped"

The original CL just collapsed the panel. Instead, we're using the
dedicated startActivityDismissingKeyguard to make sure the Keyguard
gets properly dismissed first.

Follow-Up-To: I66ebcb66c898dfebe1d09b798f750f696c360da8
Bug: 27790403
Change-Id: I41c02221de951df885ecfb4f2869820b38410f18

8 years agoMerge "Fix generate layout params to preserve margins" into nyc-dev
Yigit Boyar [Wed, 23 Mar 2016 18:22:56 +0000 (18:22 +0000)]
Merge "Fix generate layout params to preserve margins" into nyc-dev

8 years agoMerge "Fix missing first frame" into nyc-dev
John Reck [Wed, 23 Mar 2016 18:22:35 +0000 (18:22 +0000)]
Merge "Fix missing first frame" into nyc-dev

8 years agoMerge "Ensure notification color contrast" into nyc-dev
Adrian Roos [Wed, 23 Mar 2016 18:14:53 +0000 (18:14 +0000)]
Merge "Ensure notification color contrast" into nyc-dev

8 years agoMerge "Allow Scoped Directory Access on whole volume." into nyc-dev
Felipe Leme [Wed, 23 Mar 2016 17:58:46 +0000 (17:58 +0000)]
Merge "Allow Scoped Directory Access on whole volume." into nyc-dev

8 years ago[Sensor] Add a constant to match native header
Peng Xu [Fri, 4 Mar 2016 19:09:24 +0000 (11:09 -0800)]
[Sensor] Add a constant to match native header

This CL add private sensor type base constant to java file to match
C header file.

It is defined that all vendor sensor types have to be >= 0x10000.
There is a constant in sensor.h for reference. However, there is
no such constant defined in Sensor.java before. This CL adds it.

Change-Id: Ia8f8c06583c62879e51779815051c346f1a9cd14
(cherry picked from commit 1795e14dab0367fdd77f2c1eee6b4fd39d1c5902)

8 years agoEnsure notification color contrast
Adrian Roos [Mon, 1 Feb 2016 20:26:13 +0000 (12:26 -0800)]
Ensure notification color contrast

Ensure we have at least 3:1 contrast for the
action buttons. Also ensures that the inline
reply box background has 4.5:1 contrast to white.

Further modifies the color of the inline reply
background to satisfy a 4.5:1 contrast ratio for
the entered text.

Bug: 26831312
Change-Id: If42b1c99d1adee547d0a583c1a69c48ef7287c23

8 years agoMerge "Move device idle logic into a job StateController" into nyc-dev
Amith Yamasani [Wed, 23 Mar 2016 17:32:05 +0000 (17:32 +0000)]
Merge "Move device idle logic into a job StateController" into nyc-dev

8 years agoMerge "Document that re-inserting the same blocked number is permitted." into nyc-dev
Abhijith Shastry [Wed, 23 Mar 2016 17:29:07 +0000 (17:29 +0000)]
Merge "Document that re-inserting the same blocked number is permitted." into nyc-dev

8 years agoMerge "Deal with print-preview renderings that do not match the correct number of...
Philip P. Moltmann [Wed, 23 Mar 2016 17:17:39 +0000 (17:17 +0000)]
Merge "Deal with print-preview renderings that do not match the correct number of pages." into nyc-dev

8 years agoMerge "Remove legacy DeviceLogging methods from DPM" into nyc-dev
Michal Karpinski [Wed, 23 Mar 2016 16:51:54 +0000 (16:51 +0000)]
Merge "Remove legacy DeviceLogging methods from DPM" into nyc-dev

8 years agoMerge "Java bindings for SurfaceControl::setFinalCrop" into nyc-dev
Pablo Ceballos [Wed, 23 Mar 2016 16:30:52 +0000 (16:30 +0000)]
Merge "Java bindings for SurfaceControl::setFinalCrop" into nyc-dev

8 years agoMerge "Allow AlertDialog to be used in a DialogFragment" into nyc-dev
Chris Banes [Wed, 23 Mar 2016 16:25:52 +0000 (16:25 +0000)]
Merge "Allow AlertDialog to be used in a DialogFragment" into nyc-dev

8 years agoAllow AlertDialog to be used in a DialogFragment
Chris Banes [Wed, 23 Mar 2016 16:20:00 +0000 (16:20 +0000)]
Allow AlertDialog to be used in a DialogFragment

AlertController calls requestWindowFeature() too
later for DialogFragment. Fixed by moving it to the
constructor.

BUG: 27809055
Change-Id: Icef01316b4e857b41ccc29cc56bbcecd7f629342

8 years agoMerge "Replace Settings.ACTION_KEYBOARD_LAYOUT_SETTINGS with Settings.ACTION_HARD_KEY...
Abodunrinwa Toki [Wed, 23 Mar 2016 16:02:35 +0000 (16:02 +0000)]
Merge "Replace Settings.ACTION_KEYBOARD_LAYOUT_SETTINGS with Settings.ACTION_HARD_KEYBOARD_SETTINGS" into nyc-dev

8 years agoFix missing first frame
John Reck [Tue, 22 Mar 2016 23:01:08 +0000 (16:01 -0700)]
Fix missing first frame

Bug: 26776366
Change-Id: I46258c0ff35fdefe5c9f2ee610c904b2dbe8c5d9

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Wed, 23 Mar 2016 14:39:30 +0000 (14:39 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 23 Mar 2016 14:36:44 +0000 (07:36 -0700)]
Import translations. DO NOT MERGE

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

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Wed, 23 Mar 2016 14:25:57 +0000 (14:25 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Wed, 23 Mar 2016 14:25:39 +0000 (14:25 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Wed, 23 Mar 2016 14:25:24 +0000 (14:25 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 23 Mar 2016 14:23:38 +0000 (07:23 -0700)]
Import translations. DO NOT MERGE

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

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 23 Mar 2016 14:23:18 +0000 (07:23 -0700)]
Import translations. DO NOT MERGE

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

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 23 Mar 2016 14:17:21 +0000 (07:17 -0700)]
Import translations. DO NOT MERGE

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

8 years agoRemove legacy DeviceLogging methods from DPM
Michal Karpinski [Wed, 23 Mar 2016 13:14:33 +0000 (13:14 +0000)]
Remove legacy DeviceLogging methods from DPM

Those methods were replaced with SecurityLogging ones.

Bug: 27532425
Change-Id: I6952251d9c15f932517e7cb39a7056f35c3a194f

8 years agoMerge "Clarify docs around weak references to animator targets" into nyc-dev
Chet Haase [Wed, 23 Mar 2016 12:46:28 +0000 (12:46 +0000)]
Merge "Clarify docs around weak references to animator targets" into nyc-dev

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 23 Mar 2016 12:30:50 +0000 (08:30 -0400)]
Import translations. DO NOT MERGE

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

8 years agoMerge "Revert "Make the accent color darker in DocumentsUI for better accessibility...
Tomasz Mikolajewski [Wed, 23 Mar 2016 09:46:19 +0000 (09:46 +0000)]
Merge "Revert "Make the accent color darker in DocumentsUI for better accessibility."" into nyc-dev

8 years agoAdd fill type support to vector drawable
Diego Perez [Tue, 22 Mar 2016 11:29:47 +0000 (11:29 +0000)]
Add fill type support to vector drawable

The platform has added fill type to vector drawables. This CL implements
the native replacement.
Also remove a couple of delegates for classes that have been removed
from the platform.

Change-Id: Ie6ba344db9c9c2c45cd0ef4b99f11f9d8bcfd7de

8 years agoMerge "Revert "Make status bar translucent. Make drawer appera below status bar....
Daichi Hirono [Wed, 23 Mar 2016 08:32:00 +0000 (08:32 +0000)]
Merge "Revert "Make status bar translucent. Make drawer appera below status bar."" into nyc-dev

8 years agoRevert "Make status bar translucent. Make drawer appera below status bar."
Daichi Hirono [Wed, 23 Mar 2016 08:19:30 +0000 (17:19 +0900)]
Revert "Make status bar translucent. Make drawer appera below status bar."

This reverts commit 4639136c3b4bc22064323a193f06d6585e1a171a.
The commit breaks the following CTS tests.

 * android.appsecurity.cts.DocumentsTest#testCreateExisting FAIL
 * android.appsecurity.cts.DocumentsTest#testCreateNew FAIL

BUG=27805363,27570567

Change-Id: Ic9f1d98714a78afe548eb5ae9afa118ddc83cccc

8 years agoFix the directory item height in grid view.
Daichi Hirono [Wed, 23 Mar 2016 07:35:32 +0000 (16:35 +0900)]
Fix the directory item height in grid view.

BUG=27565668

Change-Id: I3d5615b46542dcd0f22f5e9968d3ee5bfe1af19a

8 years agoMerge "Remove redundant IMM#mServedInputConnection." into nyc-dev
Yohei Yukawa [Wed, 23 Mar 2016 05:41:07 +0000 (05:41 +0000)]
Merge "Remove redundant IMM#mServedInputConnection." into nyc-dev

8 years agoRemove redundant IMM#mServedInputConnection.
Yohei Yukawa [Wed, 23 Mar 2016 03:49:26 +0000 (20:49 -0700)]
Remove redundant IMM#mServedInputConnection.

Following two fields have basically the same lifetime.
 - InputMethodManager#mServedInputConnection
 - InputMethodManager#mServedInputConnectionWrapper
Hence we do not need to maintain both of them.

This is a preparation CL for Bug 25332806 and does not change any
user-visible behavior.

Bug: 25332806
Change-Id: I1181e067aa5bedbdf0c7ec1bcec479257aea511c

8 years agoMerge "Fix ACCESSIBILITY_ENABLED settings." into nyc-dev
Phil Weaver [Wed, 23 Mar 2016 02:36:33 +0000 (02:36 +0000)]
Merge "Fix ACCESSIBILITY_ENABLED settings." into nyc-dev

8 years agoMerge "ExifInterface: close the resource after reading EXIF data explicitly" into...
Jaesung Chung [Wed, 23 Mar 2016 02:30:40 +0000 (02:30 +0000)]
Merge "ExifInterface: close the resource after reading EXIF data explicitly" into nyc-dev

8 years agoMerge "ExifInterface: fix regression of re-writing JPEG" into nyc-dev
Jaesung Chung [Wed, 23 Mar 2016 02:30:27 +0000 (02:30 +0000)]
Merge "ExifInterface: fix regression of re-writing JPEG" into nyc-dev

8 years agoExifInterface: close the resource after reading EXIF data explicitly
Jaesung Chung [Tue, 15 Mar 2016 08:25:31 +0000 (17:25 +0900)]
ExifInterface: close the resource after reading EXIF data explicitly

- In case of giving an argument of the image file name or descriptor,
 we created a InputStream at the inside of ExifInterface, close them
 properly.
- Developers should take care of closing input streams when they use
 input streams since they made those input streams.

Bug: 27636804
Change-Id: I9a3a75b1b55dcb2718a60e14814a04cad939d22c

8 years agoExifInterface: fix regression of re-writing JPEG
Jaesung Chung [Tue, 22 Mar 2016 18:43:11 +0000 (11:43 -0700)]
ExifInterface: fix regression of re-writing JPEG

Bug: 27583378
Change-Id: I052dfedbb1393705eba378de5eaf3636ed0e65ea

8 years agoUpdate an icon for MtpDocumentsProvider.
Daichi Hirono [Wed, 23 Mar 2016 02:07:29 +0000 (11:07 +0900)]
Update an icon for MtpDocumentsProvider.

BUG=27135431

Change-Id: Ic8619a533bdf2426fdf0d3691a883606fa027fb1

8 years agoDocument that re-inserting the same blocked number is permitted.
Abhijith Shastry [Wed, 23 Mar 2016 01:24:21 +0000 (18:24 -0700)]
Document that re-inserting the same blocked number is permitted.

BUG: 27779600
Change-Id: I2cb5cbf5f50ed3bf2183858eb332ea5e6df2a0c6

8 years agoMerge "Fix APF programs to not generate a failing compare of size 0" into nyc-dev
Lorenzo Colitti [Wed, 23 Mar 2016 01:17:56 +0000 (01:17 +0000)]
Merge "Fix APF programs to not generate a failing compare of size 0" into nyc-dev

8 years agoMerge "Hide underlying toolbars from TalkBack when covered by ActionMode." into nyc-dev
Tomasz Mikolajewski [Wed, 23 Mar 2016 01:16:08 +0000 (01:16 +0000)]
Merge "Hide underlying toolbars from TalkBack when covered by ActionMode." into nyc-dev

8 years agoMerge "Bring the change 'Open drawer when showing copy/move destination screen' back...
Aga Wronska [Wed, 23 Mar 2016 01:15:10 +0000 (01:15 +0000)]
Merge "Bring the change 'Open drawer when showing copy/move destination screen' back after fixing problem with tests." into nyc-dev

8 years agoMerge "Improve NetworkCapabilities command chaining." into nyc-dev
Pierre Imai [Wed, 23 Mar 2016 01:11:14 +0000 (01:11 +0000)]
Merge "Improve NetworkCapabilities command chaining." into nyc-dev

8 years agoMerge "Temporarily disable emoji availability check" into nyc-dev
Siyamed Sinir [Wed, 23 Mar 2016 00:58:39 +0000 (00:58 +0000)]
Merge "Temporarily disable emoji availability check" into nyc-dev

8 years agoRevert "Make the accent color darker in DocumentsUI for better accessibility."
Tomasz Mikolajewski [Wed, 23 Mar 2016 00:58:05 +0000 (00:58 +0000)]
Revert "Make the accent color darker in DocumentsUI for better accessibility."

We have to change the color only in a specific place,
not the accent color everywhere.

This reverts commit 8e22d69df21e638452d07f5dd12f323fb40059a5.

Change-Id: I6d712fc1d0275f91b20ff90f91450e849cbb1622

8 years agoFix ACCESSIBILITY_ENABLED settings.
Phil Weaver [Wed, 23 Mar 2016 00:54:37 +0000 (17:54 -0700)]
Fix ACCESSIBILITY_ENABLED settings.

A typo meant that the setting reflected the exact opposite of what was
intended.

Bug: 27781201
Change-Id: Icb0d4d585399f147b319093be57d708af4c6dfdc

8 years agoTemporarily disable emoji availability check
Siyamed Sinir [Wed, 23 Mar 2016 00:02:54 +0000 (17:02 -0700)]
Temporarily disable emoji availability check

On builds where SMALLER_FONT_FOOTPRINT environment variable is set, some
of the fonts are not included in the build which causes emoji checks to
fail. This CL temporarily disables emoji checks.

Bug: 27785690
Change-Id: Ie32f0aa630c84347588fc87630467c14e985940a

8 years agoMerge "Fix to snap notification view back when not clearable while updating" into...
Mady Mellor [Wed, 23 Mar 2016 00:37:19 +0000 (00:37 +0000)]
Merge "Fix to snap notification view back when not clearable while updating" into nyc-dev

8 years agoBring the change 'Open drawer when showing copy/move destination screen'
Aga Wronska [Wed, 23 Mar 2016 00:15:18 +0000 (17:15 -0700)]
Bring the change 'Open drawer when showing copy/move destination screen'
back after fixing problem with tests.

Revert "Revert "Open drawer when showing copy/move destination screen""

This reverts commit 82ae18c87784b5989c1529b97214d63e5d9d3742.
Fixed: 27479369

Change-Id: I70f98cf543de889a9a728d8d7233f8e7b077f871

8 years agoMerge "Explicitly handle null rather than relying on NPE." into nyc-dev
Yohei Yukawa [Wed, 23 Mar 2016 00:31:31 +0000 (00:31 +0000)]
Merge "Explicitly handle null rather than relying on NPE." into nyc-dev

8 years agoMerge "Update colors for list/grid view." into nyc-dev
Tomasz Mikolajewski [Wed, 23 Mar 2016 00:20:26 +0000 (00:20 +0000)]
Merge "Update colors for list/grid view." into nyc-dev

8 years agoMerge "Make the accent color darker in DocumentsUI for better accessibility." into...
Tomasz Mikolajewski [Wed, 23 Mar 2016 00:20:03 +0000 (00:20 +0000)]
Merge "Make the accent color darker in DocumentsUI for better accessibility." into nyc-dev

8 years agoFix generate layout params to preserve margins
Yigit Boyar [Tue, 22 Mar 2016 23:53:42 +0000 (16:53 -0700)]
Fix generate layout params to preserve margins

This CL fixes a common bug in framework's widgets where they
were not converting a child's margin layout params properly.

The CL fixes, FrameLayout, RelativeLayout, GridLayout and
LinearLayout.

Bug: 27785449
Change-Id: Icecd9181ff82107e412174fe152f35d32d36b2e6

8 years agoMerge "Add content description for gear behind notifications" into nyc-dev
Mady Mellor [Wed, 23 Mar 2016 00:07:15 +0000 (00:07 +0000)]
Merge "Add content description for gear behind notifications" into nyc-dev

8 years agoMerge "MediaResourceMonitor: Change argument type from string to int" into nyc-dev
Dongwon Kang [Tue, 22 Mar 2016 23:50:01 +0000 (23:50 +0000)]
Merge "MediaResourceMonitor: Change argument type from string to int" into nyc-dev

8 years agoMerge "Adding assets for dock button." into nyc-dev
Winson Chung [Tue, 22 Mar 2016 23:44:36 +0000 (23:44 +0000)]
Merge "Adding assets for dock button." into nyc-dev

8 years agoAdding assets for dock button.
Winson [Tue, 22 Mar 2016 23:03:10 +0000 (16:03 -0700)]
Adding assets for dock button.

- Allow nav bar icons to update depending on specific configuration
  changes

Bug: 26954184
Change-Id: I1e089c751d2a5785457491b2a204c936d7472145

8 years agoClarify docs around weak references to animator targets
Chet Haase [Thu, 17 Mar 2016 13:59:16 +0000 (06:59 -0700)]
Clarify docs around weak references to animator targets

Issue #26069047 Weak reference to the target in animators
can cause interrupted animations

Change-Id: I719f619006e93a94af907c4de7840c691a5aed37

8 years agoMerge "Fixed the default of AlphaOptimizedImageViews overlapping rendering" into...
Selim Cinek [Tue, 22 Mar 2016 23:12:09 +0000 (23:12 +0000)]
Merge "Fixed the default of AlphaOptimizedImageViews overlapping rendering" into nyc-dev

8 years agoFixed the default of AlphaOptimizedImageViews overlapping rendering
Selim Cinek [Tue, 22 Mar 2016 22:32:00 +0000 (15:32 -0700)]
Fixed the default of AlphaOptimizedImageViews overlapping rendering

The default was true before, which lead to quite a few bugs.
Moved done the introduced attrs to support it on AnimatedImageView

Change-Id: I68714c22ceefff6bac7cd9496c83edd69256ee1b
Fixes: 27745673

8 years agoMerge "A few changes to the measurement implementation" into nyc-dev
Lifu Tang [Tue, 22 Mar 2016 23:08:38 +0000 (23:08 +0000)]
Merge "A few changes to the measurement implementation" into nyc-dev

8 years agoMerge "switch offline docs back to standard templates that now have a condition for...
Scott Main [Tue, 22 Mar 2016 23:05:37 +0000 (23:05 +0000)]
Merge "switch offline docs back to standard templates that now have a condition for 'referenceonly' bug: 27667787" into nyc-dev

8 years agoMerge "Change copy/move destination to Downloads when home directory is hidden."...
Aga Wronska [Tue, 22 Mar 2016 23:03:01 +0000 (23:03 +0000)]
Merge "Change copy/move destination to Downloads when home directory is hidden." into nyc-dev

8 years agoA few changes to the measurement implementation
Lifu Tang [Tue, 22 Mar 2016 20:56:52 +0000 (13:56 -0700)]
A few changes to the measurement implementation

- Fixed the device crashing bug in JNI code
- Fixed a typo ('lock' => 'clock')
- Added hardware clock discontinuity count in toString()

(cherry picked from commit 3a21b02ee2dc8f2c6c879109757d89a2be5d720a)

Change-Id: I6dbda85abda20da0240ac08b22b81729eae7b6f0

8 years agoMerge changes Iddeebeb8,Idd1e37a3 into nyc-dev
Paul Stewart [Tue, 22 Mar 2016 22:23:46 +0000 (22:23 +0000)]
Merge changes Iddeebeb8,Idd1e37a3 into nyc-dev

* changes:
  WifiManager: Use ConnectivityThread
  Create ConnectivityThread

8 years agoMediaResourceMonitor: Change argument type from string to int
Dongwon Kang [Tue, 22 Mar 2016 22:20:40 +0000 (15:20 -0700)]
MediaResourceMonitor: Change argument type from string to int

Bug: 27529962
Change-Id: I29c165ccf6b44b0ca6812f1ccae758d67b225e0d

8 years agoMerge "Fix callback issue for AVD on UI thread" into nyc-dev
Tenghui Zhu [Tue, 22 Mar 2016 22:10:23 +0000 (22:10 +0000)]
Merge "Fix callback issue for AVD on UI thread" into nyc-dev

8 years agoFix callback issue for AVD on UI thread
Teng-Hui Zhu [Tue, 22 Mar 2016 19:56:37 +0000 (12:56 -0700)]
Fix callback issue for AVD on UI thread

We have created AnimatorSet from XML, but it is assigned to the AVD only when
we start the animation due to theme-ing operations.

Given listeners can be added to AVD at any time, we have to cache them if
AnimatorSet is not setup yet.

b/26979225

Change-Id: I94315892de83f93a0205efe5e70dca0cd0f0a8e3

8 years agoMerge "Close notification panel when user button is tapped" into nyc-dev
Adrian Roos [Tue, 22 Mar 2016 21:37:52 +0000 (21:37 +0000)]
Merge "Close notification panel when user button is tapped" into nyc-dev

8 years agoMerge "Add dismiss animation for Recents TV and Enable Dismiss" into nyc-dev
Sid Soundararajan [Tue, 22 Mar 2016 21:31:47 +0000 (21:31 +0000)]
Merge "Add dismiss animation for Recents TV and Enable Dismiss" into nyc-dev

8 years agoMerge "Revert "Document restricted app private file permissions"" into nyc-dev
Jeff Sharkey [Tue, 22 Mar 2016 21:22:53 +0000 (21:22 +0000)]
Merge "Revert "Document restricted app private file permissions"" into nyc-dev

8 years agoRevert "Document restricted app private file permissions"
Jeff Sharkey [Tue, 22 Mar 2016 21:22:39 +0000 (21:22 +0000)]
Revert "Document restricted app private file permissions"

This reverts commit c83343f7ee333376d23a2bbc619d3b4e6b7a6120.

Change-Id: I08961a1cb858868e104214ce3d0aa3cfcbb054bc

8 years agoswitch offline docs back to standard templates that now have a condition for 'referen...
smain@google.com [Tue, 22 Mar 2016 21:17:55 +0000 (14:17 -0700)]
switch offline docs back to standard templates that now have a condition for 'referenceonly'
bug: 27667787

Change-Id: Iaedba58c72634dac33ef09b9a50322af664ef581

8 years agoChange copy/move destination to Downloads when home directory is hidden.
Aga Wronska [Tue, 22 Mar 2016 21:18:43 +0000 (14:18 -0700)]
Change copy/move destination to Downloads when home directory is hidden.

Bug: 27791217
Change-Id: If196441a57053ada9875c6cc29d4c7f13fcb57e8

8 years agoMerge "Revert "Refine divider behavior"" into nyc-dev
Andrii Kulian [Tue, 22 Mar 2016 21:04:46 +0000 (21:04 +0000)]
Merge "Revert "Refine divider behavior"" into nyc-dev

8 years agoMerge "Tune visuals for inline settings" into nyc-dev
Julia Reynolds [Tue, 22 Mar 2016 20:57:10 +0000 (20:57 +0000)]
Merge "Tune visuals for inline settings" into nyc-dev

8 years agoMerge "Fix Sysui crash on volume change." into nyc-dev
Julia Reynolds [Tue, 22 Mar 2016 20:56:25 +0000 (20:56 +0000)]
Merge "Fix Sysui crash on volume change." into nyc-dev

8 years agoMove device idle logic into a job StateController
Amith Yamasani [Tue, 15 Mar 2016 00:15:20 +0000 (17:15 -0700)]
Move device idle logic into a job StateController

Move most of device idle (doze) logic from JobSchedulerService
to DeviceIdleJobsController.

Allow whitelisted apps to run during device idle by adding
a new constraint DEVICE_NOT_DOZING. Using the word DOZE to
disambiguate from IDLE because the latter is used to mean
that the job wants to run in idle-maintenance period.

Bug: 26851107

Change-Id: I97f5286bd4d5ca18fbc46c2037c310fd369e18bf

8 years agoMerge "Disable TextViewActivityMouseTest#testContextMenu" into nyc-dev
Jed Estep [Tue, 22 Mar 2016 20:39:08 +0000 (20:39 +0000)]
Merge "Disable TextViewActivityMouseTest#testContextMenu" into nyc-dev

8 years agoMerge changes Ia9502056,I97dc60c4 into nyc-dev
Selim Cinek [Tue, 22 Mar 2016 20:04:45 +0000 (20:04 +0000)]
Merge changes Ia9502056,I97dc60c4 into nyc-dev

* changes:
  Fixed the group expand motion to better reflect the overflow
  Introduced a number indicating more children in a group

8 years agoFix Sysui crash on volume change.
Julia Reynolds [Tue, 22 Mar 2016 20:03:32 +0000 (13:03 -0700)]
Fix Sysui crash on volume change.

Bug: 27765028
Change-Id: I812dcf19d497cacde9698fc61d1e1f8686460593

8 years agoMerge "DocsUI: Disable debug logging by default." into nyc-dev
Ben Kwa [Tue, 22 Mar 2016 20:01:49 +0000 (20:01 +0000)]
Merge "DocsUI: Disable debug logging by default." into nyc-dev

8 years agoExplicitly handle null rather than relying on NPE.
Yohei Yukawa [Tue, 22 Mar 2016 19:54:22 +0000 (12:54 -0700)]
Explicitly handle null rather than relying on NPE.

IInputMethodManager is an actual IPC interface with which application
processes can communicate with InputMethodManagerService (IMMS).
Although this has never been a public API, it is actually exposed to the
application process hence we parameters passed to that interface methods
should be considered untrusted.

In Android L-MR1 and prior, calling IInputMethodManager#startInput()
from the application process via reflection with null EditorInfo can
result in NPE in the IME process, which is not great.

In Android M, doing that causes NPE in the IMMS process but the
exception is just sent back to the application process via Binder call,
which is no longer so harmful.

In Android N, we want to make sure that such an invalid internal API
call is clearly under our control, rather than relying on NPE, by having
an explicit null check.

Bug: 26866030
Change-Id: Ica812177d9ca454dd16e3dd6854f3053c329b344

8 years agoMerge "Unbreak verifying v2 signatures of large APKs." into nyc-dev
Alex Klyubin [Tue, 22 Mar 2016 19:40:31 +0000 (19:40 +0000)]
Merge "Unbreak verifying v2 signatures of large APKs." into nyc-dev

8 years agoDisable TextViewActivityMouseTest#testContextMenu
Jed Estep [Tue, 22 Mar 2016 18:31:05 +0000 (11:31 -0700)]
Disable TextViewActivityMouseTest#testContextMenu

This test is causing failures which are blocking other test results.
Disabled until a fix can be submitted.

Bug: 27765262
Change-Id: I459f1ab1c6d2d3119fc50166e8de0d1259801e2a

8 years agoMerge "WifiManager: Defer Async Channel init" into nyc-dev
Paul Stewart [Tue, 22 Mar 2016 19:35:06 +0000 (19:35 +0000)]
Merge "WifiManager: Defer Async Channel init" into nyc-dev

8 years agoMerge "Ensure that popup width and height are correct on update" into nyc-dev
Alan Viverette [Tue, 22 Mar 2016 19:31:26 +0000 (19:31 +0000)]
Merge "Ensure that popup width and height are correct on update" into nyc-dev

8 years agoMerge "Update TrafficStats SystemApi docs." into nyc-dev
Jeff Sharkey [Tue, 22 Mar 2016 18:39:50 +0000 (18:39 +0000)]
Merge "Update TrafficStats SystemApi docs." into nyc-dev

8 years agoMerge "Throw the right exception flavor." into nyc-dev
Jeff Sharkey [Tue, 22 Mar 2016 18:39:37 +0000 (18:39 +0000)]
Merge "Throw the right exception flavor." into nyc-dev