OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Only change picker modes when used in dialog" into nyc-dev
Alan Viverette [Fri, 29 Apr 2016 16:31:15 +0000 (16:31 +0000)]
Merge "Only change picker modes when used in dialog" into nyc-dev

8 years agoMerge "media: document MediaFormat.KEY_FRAME_RATE better" into nyc-dev
TreeHugger Robot [Fri, 29 Apr 2016 16:04:14 +0000 (16:04 +0000)]
Merge "media: document MediaFormat.KEY_FRAME_RATE better" into nyc-dev

8 years agoMerge "A11y: Show title if ticker is not available" into nyc-dev
Adrian Roos [Fri, 29 Apr 2016 15:59:42 +0000 (15:59 +0000)]
Merge "A11y: Show title if ticker is not available" into nyc-dev

8 years agoMerge "Maintain internal consistency for TimePickerClockDelegate hour" into nyc-dev
Alan Viverette [Fri, 29 Apr 2016 15:22:06 +0000 (15:22 +0000)]
Merge "Maintain internal consistency for TimePickerClockDelegate hour" into nyc-dev

8 years agoMerge "The legacy DHCP client is gone. Delete the settings." into nyc-dev
TreeHugger Robot [Fri, 29 Apr 2016 15:17:39 +0000 (15:17 +0000)]
Merge "The legacy DHCP client is gone. Delete the settings." into nyc-dev

8 years agoMerge "Support transform'd GraphicBuffers" into nyc-dev
John Reck [Fri, 29 Apr 2016 14:49:19 +0000 (14:49 +0000)]
Merge "Support transform'd GraphicBuffers" into nyc-dev

8 years agoMerge "Video source test & bugfix" into nyc-dev
John Reck [Fri, 29 Apr 2016 14:49:11 +0000 (14:49 +0000)]
Merge "Video source test & bugfix" into nyc-dev

8 years agoMerge "Check permission on clearPassword and other CryptKeeper APIs" into nyc-dev
Paul Lawrence [Fri, 29 Apr 2016 14:43:12 +0000 (14:43 +0000)]
Merge "Check permission on clearPassword and other CryptKeeper APIs" into nyc-dev

8 years agoMerge "[WebView] Add documentation regarding geolocation api on secure origins."...
TreeHugger Robot [Fri, 29 Apr 2016 14:34:18 +0000 (14:34 +0000)]
Merge "[WebView] Add documentation regarding geolocation api on secure origins." into nyc-dev

8 years agoCheck permission on clearPassword and other CryptKeeper APIs
Paul Lawrence [Tue, 26 Apr 2016 22:21:02 +0000 (15:21 -0700)]
Check permission on clearPassword and other CryptKeeper APIs

Note - this should only ever be called from LockScreen after getting
the password to avoid the double prompt

Bug: 28376346
Change-Id: Ic44df4fdcc23408c56b1b9375deed1c6ad2af544

8 years agoMerge "Ensure FloatingToolbar is not rendered at negative x, y coordinates." into...
Abodunrinwa Toki [Fri, 29 Apr 2016 14:04:04 +0000 (14:04 +0000)]
Merge "Ensure FloatingToolbar is not rendered at negative x, y coordinates." into nyc-dev

8 years agoAdd metric for managed profile setting
Tony Mak [Fri, 29 Apr 2016 09:27:48 +0000 (10:27 +0100)]
Add metric for managed profile setting

Bug: 28281560
Change-Id: I6ec0a8dbfea179476335b9d624020b80e51e97a8

8 years agoThe legacy DHCP client is gone. Delete the settings.
Lorenzo Colitti [Fri, 29 Apr 2016 13:17:48 +0000 (22:17 +0900)]
The legacy DHCP client is gone. Delete the settings.

Bug: 27192644
Change-Id: I5bc23f3e269e17d50fa2531a57fb0e2049ae18bf

8 years ago[WebView] Add documentation regarding geolocation api on secure origins.
Tim Volodine [Wed, 27 Apr 2016 13:14:09 +0000 (14:14 +0100)]
[WebView] Add documentation regarding geolocation api on secure origins.

Update to javadoc comments saying that for apps targeting N and up
the geolocation api is only supported on secure origins.
On non-secure origins requests to geolocation api are automatically
denied without calling the corresponding
WebChromeClient#onGeolocationPermissionsShowPrompt method.

BUG: 28080869
Change-Id: I57726f7f3b3d38db0535f742b1f74c40c1f1ce8b

8 years agoMerge "Frameworks/base: Use holder in FileUtils" into nyc-dev
TreeHugger Robot [Fri, 29 Apr 2016 07:09:27 +0000 (07:09 +0000)]
Merge "Frameworks/base: Use holder in FileUtils" into nyc-dev

8 years agoMerge "PIP: Prevent PIP icons in Recents from blinking when PIP is closed" into nyc-dev
Jaewan Kim [Fri, 29 Apr 2016 05:57:40 +0000 (05:57 +0000)]
Merge "PIP: Prevent PIP icons in Recents from blinking when PIP is closed" into nyc-dev

8 years agoFrameworks/base: Use holder in FileUtils
Andreas Gampe [Fri, 29 Apr 2016 02:33:05 +0000 (19:33 -0700)]
Frameworks/base: Use holder in FileUtils

Use a holder for an uncommon Pattern instance in FileUtils.

Allows to compile-time initialize:
* android.os.FileUtils

Bug: 28174137
Change-Id: I4a7a388795a96678b4b26e4f2c02b1117d6a67f6

8 years agoMerge "Another intent sent by both system and apps." into nyc-dev
TreeHugger Robot [Fri, 29 Apr 2016 01:21:07 +0000 (01:21 +0000)]
Merge "Another intent sent by both system and apps." into nyc-dev

8 years agoMerge "AAPT: ProGuard config for components in main dex." into nyc-dev
Rohit Agrawal [Fri, 29 Apr 2016 01:19:06 +0000 (01:19 +0000)]
Merge "AAPT: ProGuard config for components in main dex." into nyc-dev

8 years agoMerge "Stop user faster and clear stale broadcasts" into nyc-dev
Amith Yamasani [Fri, 29 Apr 2016 00:51:30 +0000 (00:51 +0000)]
Merge "Stop user faster and clear stale broadcasts" into nyc-dev

8 years agoMerge "Add Complex XML Resources guide to docs" into nyc-dev
Adam Lesinski [Fri, 29 Apr 2016 00:13:41 +0000 (00:13 +0000)]
Merge "Add Complex XML Resources guide to docs" into nyc-dev

8 years agoMerge "ImageWallpaper: Only draw on valid surfaces" into nyc-dev
TreeHugger Robot [Fri, 29 Apr 2016 00:13:22 +0000 (00:13 +0000)]
Merge "ImageWallpaper: Only draw on valid surfaces" into nyc-dev

8 years agoMerge "Fixed wrong loop variable (AKA: I, Y U NO J?)" into nyc-dev
TreeHugger Robot [Fri, 29 Apr 2016 00:11:41 +0000 (00:11 +0000)]
Merge "Fixed wrong loop variable (AKA: I, Y U NO J?)" into nyc-dev

8 years agoMerge "Clean up fingerprint enrollment API" into nyc-dev
Jim Miller [Thu, 28 Apr 2016 23:48:41 +0000 (23:48 +0000)]
Merge "Clean up fingerprint enrollment API" into nyc-dev

8 years agoMerge "Fix restoring surface for child windows" into nyc-dev
Chong Zhang [Thu, 28 Apr 2016 23:18:27 +0000 (23:18 +0000)]
Merge "Fix restoring surface for child windows" into nyc-dev

8 years agoFix restoring surface for child windows
Chong Zhang [Thu, 28 Apr 2016 22:30:33 +0000 (15:30 -0700)]
Fix restoring surface for child windows

Use allAppWindows instead of windows, as windows doesn't contain
any child windows, it causes the child windows to be not restored
until the child window does relayout.

bug: 28296945

Change-Id: I7d272e660752002c08349128c3958aa041979c34

8 years agoFixed wrong loop variable (AKA: I, Y U NO J?)
Felipe Leme [Thu, 28 Apr 2016 22:37:20 +0000 (15:37 -0700)]
Fixed wrong loop variable (AKA: I, Y U NO J?)

BUG: 27366993
BUG: 28451218
Change-Id: I8455ada4194e7fc44ae7448e5cd763d22065fd2e

8 years agoImageWallpaper: Only draw on valid surfaces
Adrian Roos [Thu, 28 Apr 2016 22:22:29 +0000 (15:22 -0700)]
ImageWallpaper: Only draw on valid surfaces

Previously, the wallpaper would draw even when
the surface had been destroyed, leading to
crashes.

Change-Id: I6465e832abb3bfd92495bca9b60dac474b35f6d6
Fixes: 28329816

8 years agoMerge "Additional alarm sounds for N" into nyc-dev
Jean-Michel Trivi [Thu, 28 Apr 2016 22:14:01 +0000 (22:14 +0000)]
Merge "Additional alarm sounds for N" into nyc-dev

8 years agoClean up fingerprint enrollment API
Jim Miller [Thu, 28 Apr 2016 22:12:53 +0000 (15:12 -0700)]
Clean up fingerprint enrollment API

The enrollment API was using userId and groupId interchangeably.
This cleanes up the interface to consistently use userId.

Partial fix for bug 28268635

Change-Id: I678e4b17a25f82c5cf17db49cd23f862be11667b

8 years agodocs: Updated support library overview, CPd from mnc-mr-docs am: dd3b48de2f am: 04893...
Andrew Solovay [Thu, 28 Apr 2016 21:23:06 +0000 (21:23 +0000)]
docs: Updated support library overview, CPd from mnc-mr-docs am: dd3b48de2f am: 04893309eb am: f31c9f4e8c
am: 6a5ce2914a

* commit '6a5ce2914a0360cf08c6b49a9f3ef66ad9fe6a1c':
  docs: Updated support library overview, CPd from mnc-mr-docs

Change-Id: I0874460d818d6c86fa95acf5075c46402c94b935

8 years agodocs: Updated support library overview, CPd from mnc-mr-docs am: dd3b48de2f am: 04893...
Andrew Solovay [Thu, 28 Apr 2016 21:20:43 +0000 (21:20 +0000)]
docs: Updated support library overview, CPd from mnc-mr-docs am: dd3b48de2f am: 04893309eb
am: f31c9f4e8c

* commit 'f31c9f4e8c606dcabad6eb63ac7801b77d1de328':
  docs: Updated support library overview, CPd from mnc-mr-docs

Change-Id: Iff6598a73fcffdfc8d576d2722b4c434d0f0ce3f

8 years agodocs: Updated support library overview, CPd from mnc-mr-docs am: dd3b48de2f
Andrew Solovay [Thu, 28 Apr 2016 21:18:19 +0000 (21:18 +0000)]
docs: Updated support library overview, CPd from mnc-mr-docs am: dd3b48de2f
am: 04893309eb

* commit '04893309eb8abeb331fbc1fadac6d141dc2a4d63':
  docs: Updated support library overview, CPd from mnc-mr-docs

Change-Id: I3b8c7eb3dc4d4761aba349b7dbecc1039ae5eb65

8 years agoMerge "TIF: Change invalid error code to RECORDING_ERROR_UNKNOWN" into nyc-dev
Dongwon Kang [Thu, 28 Apr 2016 21:17:30 +0000 (21:17 +0000)]
Merge "TIF: Change invalid error code to RECORDING_ERROR_UNKNOWN" into nyc-dev

8 years agodocs: Updated support library overview, CPd from mnc-mr-docs
Andrew Solovay [Thu, 28 Apr 2016 21:16:02 +0000 (21:16 +0000)]
docs: Updated support library overview, CPd from mnc-mr-docs
am: dd3b48de2f

* commit 'dd3b48de2fd4c47d0e225f6fd5b81b73fafd3643':
  docs: Updated support library overview, CPd from mnc-mr-docs

Change-Id: I33fe9708e9d34bba1720f7f210d89518ad39de0c

8 years agoMerge "docs: Moving library docs out of /tools/ am: 7877f69ddd am: 6bbce8db4f am...
Android Build Merger (Role) [Thu, 28 Apr 2016 21:00:23 +0000 (21:00 +0000)]
Merge "docs: Moving library docs out of /tools/ am: 7877f69ddd am: 6bbce8db4f am: 4290ad19e2" into nyc-dev

8 years agodocs: Moving library docs out of /tools/ am: 7877f69ddd am: 6bbce8db4f
Andrew Solovay [Thu, 28 Apr 2016 20:59:50 +0000 (20:59 +0000)]
docs: Moving library docs out of /tools/ am: 7877f69ddd am: 6bbce8db4f
am: 4290ad19e2

* commit '4290ad19e2b96887b88a08e8e39629b34d4d4117':
  docs: Moving library docs out of /tools/

Change-Id: I3f42ace3cce49c0d66cc51607c6b7bf182a445c2

8 years agoMerge "Show lockscreen wallpaper on SIM screens" into nyc-dev
Adrian Roos [Thu, 28 Apr 2016 20:57:25 +0000 (20:57 +0000)]
Merge "Show lockscreen wallpaper on SIM screens" into nyc-dev

8 years agodocs: Moving library docs out of /tools/ am: 7877f69ddd
Andrew Solovay [Thu, 28 Apr 2016 20:57:26 +0000 (20:57 +0000)]
docs: Moving library docs out of /tools/ am: 7877f69ddd
am: 6bbce8db4f

* commit '6bbce8db4fd9d4fe5d56fb7eb17793f0c8ac7294':
  docs: Moving library docs out of /tools/

Change-Id: I89594b6fc16e8d14aac5825f7f05b7cf928ffb69

8 years agodocs: Moving library docs out of /tools/
Andrew Solovay [Thu, 28 Apr 2016 20:52:41 +0000 (20:52 +0000)]
docs: Moving library docs out of /tools/
am: 7877f69ddd

* commit '7877f69ddd5f195829a54df256a0f1215cf124ec':
  docs: Moving library docs out of /tools/

Change-Id: Ia8e45a30547accfcdcfe00e5ad8e9454ac13929c

8 years agoMerge "Support view transformations when positioning floating CAB" into nyc-dev
Justin Klaassen [Thu, 28 Apr 2016 20:49:36 +0000 (20:49 +0000)]
Merge "Support view transformations when positioning floating CAB" into nyc-dev

8 years agodocs: Moving library docs out of /tools/
Andrew Solovay [Tue, 26 Apr 2016 23:00:59 +0000 (16:00 -0700)]
docs: Moving library docs out of /tools/

The /tools/ top-level directory is going away when we move to devsite
(and the Android Studio docs get their own home) so I'm moving the
non-AS docs out of there. Also adding redirects (and fixing redirects
that pointed to the old locations).

For the time being, I'm also adding these libraries in to the
"API Guides" TOC, just so they're discoverable from somewhere; I'm
expecting this to change post-redesign.

See first comment for doc stage location.

bug: 28270787
Change-Id: I07488251384fbd22d2512a797793cf98654f54e7

8 years agoMerge "Merge "docs: Updated support library overview" into mnc-mr-docs am: a872460fd3...
Android Build Merger (Role) [Thu, 28 Apr 2016 20:33:31 +0000 (20:33 +0000)]
Merge "Merge "docs: Updated support library overview" into mnc-mr-docs am: a872460fd3 am: 1e5295a37b am: 37b8afbbc2" into nyc-dev

8 years agoMerge "Fix issues with docked stack not un-minimizing" into nyc-dev
Jorim Jaggi [Thu, 28 Apr 2016 20:33:27 +0000 (20:33 +0000)]
Merge "Fix issues with docked stack not un-minimizing" into nyc-dev

8 years agoMerge "docs: Updated support library overview" into mnc-mr-docs am: a872460fd3 am...
Andrew Solovay [Thu, 28 Apr 2016 20:33:03 +0000 (20:33 +0000)]
Merge "docs: Updated support library overview" into mnc-mr-docs am: a872460fd3 am: 1e5295a37b
am: 37b8afbbc2

* commit '37b8afbbc238ea115a2642d9826fdc6f8f3100c9':
  docs: Updated support library overview

Change-Id: I5b27d52f40069abb9a03b5eef0a64fa237efc530

8 years agoSupport transform'd GraphicBuffers
John Reck [Thu, 28 Apr 2016 20:18:51 +0000 (13:18 -0700)]
Support transform'd GraphicBuffers

Bug: 28428955
Change-Id: I23e2fc9b96a67c7cfda42d9d7319e478194a7fa7

8 years agoMerge "docs: Updated support library overview" into mnc-mr-docs am: a872460fd3
Andrew Solovay [Thu, 28 Apr 2016 20:30:18 +0000 (20:30 +0000)]
Merge "docs: Updated support library overview" into mnc-mr-docs am: a872460fd3
am: 1e5295a37b

* commit '1e5295a37bdcb8f374de6e8f2c7199042af0b503':
  docs: Updated support library overview

Change-Id: I034f8948fa95241f6fefdf608294631adffecd93

8 years agoMerge "Remove optimization to report config change" into nyc-dev
Jorim Jaggi [Thu, 28 Apr 2016 20:28:36 +0000 (20:28 +0000)]
Merge "Remove optimization to report config change" into nyc-dev

8 years agoMerge "docs: Updated support library overview" into mnc-mr-docs
Andrew Solovay [Thu, 28 Apr 2016 20:27:35 +0000 (20:27 +0000)]
Merge "docs: Updated support library overview" into mnc-mr-docs
am: a872460fd3

* commit 'a872460fd31c2cffde6ed467a43099590ad8aa7f':
  docs: Updated support library overview

Change-Id: I6d88be4d71d72d4223f9d0ec435d2e3abf8012b7

8 years agoMerge "Whitelist Downloads Manager for Data Saver." into nyc-dev
TreeHugger Robot [Thu, 28 Apr 2016 20:24:23 +0000 (20:24 +0000)]
Merge "Whitelist Downloads Manager for Data Saver." into nyc-dev

8 years agodocs: Updated support library overview, CPd from mnc-mr-docs
Andrew Solovay [Mon, 18 Apr 2016 18:56:16 +0000 (11:56 -0700)]
docs: Updated support library overview, CPd from mnc-mr-docs

Started this CL when mnc-mr-docs was the active branch, but now
the production builds come from mnc-docs.

Per feedback from the support library team, updated the support
library overview page to better explain what the libraries are
and what they're for. This is the beginning of a big overhaul of the
support library docs.

The "overview" section has been rewritten and expanded in this CL.
The "revisions" section hasn't been touched, except that the heading
was changed to "Support Library Revision History". (I'd like to
move "Revision History" to a separate page, but I'll do it in a
follow-on CL.)

See first comment for doc stage location.

bug: 27274455
Change-Id: I12ce21c948421e1bd0be5d3151845f900750e7b1
(cherry picked from commit 06ba3db93849a45df571c4730aa7a67e247c0afe)

8 years agoMerge "docs: Updated support library overview" into mnc-mr-docs
TreeHugger Robot [Thu, 28 Apr 2016 20:22:10 +0000 (20:22 +0000)]
Merge "docs: Updated support library overview" into mnc-mr-docs

8 years agoAdd Complex XML Resources guide to docs
Adam Lesinski [Tue, 26 Apr 2016 22:44:57 +0000 (15:44 -0700)]
Add Complex XML Resources guide to docs

Bug:27101564
Change-Id: I701230a242e0ec6c4cea2808556f9b1054866612

8 years agoMerge "ShortcutManager: When app's data is cleared, remove all shortcuts," into nyc-dev
Makoto Onuki [Thu, 28 Apr 2016 20:11:05 +0000 (20:11 +0000)]
Merge "ShortcutManager: When app's data is cleared, remove all shortcuts," into nyc-dev

8 years agoMerge "AAPT2: Accept a file with arguments when argument list is too long" into nyc-dev
Adam Lesinski [Thu, 28 Apr 2016 19:34:30 +0000 (19:34 +0000)]
Merge "AAPT2: Accept a file with arguments when argument list is too long" into nyc-dev

8 years agoMerge "Introduce "unlocking" vs "unlocked" nuance." into nyc-dev
TreeHugger Robot [Thu, 28 Apr 2016 19:06:26 +0000 (19:06 +0000)]
Merge "Introduce "unlocking" vs "unlocked" nuance." into nyc-dev

8 years agoEnsure FloatingToolbar is not rendered at negative x, y coordinates.
Abodunrinwa Toki [Thu, 28 Apr 2016 18:59:57 +0000 (19:59 +0100)]
Ensure FloatingToolbar is not rendered at negative x, y coordinates.

Bug: 28343540
Change-Id: I550a1a2389a6f90525498962709f0c82e8e310ab

8 years agoMerge "Change custom_link_attributes to path_attributes format." into mnc-mr-docs...
Elliot Waite [Thu, 28 Apr 2016 18:50:37 +0000 (18:50 +0000)]
Merge "Change custom_link_attributes to path_attributes format." into mnc-mr-docs am: 14fd7d5 am: 5b4f351
am: 26d957c

* commit '26d957c9c1903fc4f520de8b56cc57539ac33b3a':
  Change custom_link_attributes to path_attributes format.

Change-Id: I5dfd8ee64fbf6502e29d639d454d6b637ecf2e12

8 years agoMerge "Change custom_link_attributes to path_attributes format." into mnc-mr-docs...
Elliot Waite [Thu, 28 Apr 2016 18:46:52 +0000 (18:46 +0000)]
Merge "Change custom_link_attributes to path_attributes format." into mnc-mr-docs am: 14fd7d5
am: 5b4f351

* commit '5b4f351e43cc50bc263ff30099fa7733093e63c6':
  Change custom_link_attributes to path_attributes format.

Change-Id: Ica8216729362289cc7ccc14c1290d8be9f05fb01

8 years agoMerge "Change custom_link_attributes to path_attributes format." into mnc-mr-docs
Elliot Waite [Thu, 28 Apr 2016 18:42:49 +0000 (18:42 +0000)]
Merge "Change custom_link_attributes to path_attributes format." into mnc-mr-docs
am: 14fd7d5

* commit '14fd7d5df759f0ec2828bb77f9582f0473f21f19':
  Change custom_link_attributes to path_attributes format.

Change-Id: I1ed2cb82af666df5ecd846b6031210cd369bea73

8 years agoMerge "Change custom_link_attributes to path_attributes format." into mnc-mr-docs
Elliot Waite [Thu, 28 Apr 2016 18:35:32 +0000 (18:35 +0000)]
Merge "Change custom_link_attributes to path_attributes format." into mnc-mr-docs

8 years agoMerge "Delay pinned animation finish during app transition." into nyc-dev
Rob Carr [Thu, 28 Apr 2016 18:33:32 +0000 (18:33 +0000)]
Merge "Delay pinned animation finish during app transition." into nyc-dev

8 years agoMerge "media: Change VP9 ProfileLevel to start from 0x1." into nyc-dev
Hangyu Kuang [Thu, 28 Apr 2016 18:33:04 +0000 (18:33 +0000)]
Merge "media: Change VP9 ProfileLevel to start from 0x1." into nyc-dev

8 years agoA11y: Show title if ticker is not available
Adrian Roos [Thu, 28 Apr 2016 18:20:26 +0000 (11:20 -0700)]
A11y: Show title if ticker is not available

Change-Id: I028ba9fffc8ca0f0340e052c6d1f99696aba084a
Fixes: 27552350

8 years agoAAPT2: Accept a file with arguments when argument list is too long
Adam Lesinski [Thu, 28 Apr 2016 18:12:38 +0000 (11:12 -0700)]
AAPT2: Accept a file with arguments when argument list is too long

Bug:22775504
Change-Id: Ife73d4e4611016c9ee7b56264bc6a765c54beba3

8 years agoOnly change picker modes when used in dialog
Alan Viverette [Thu, 28 Apr 2016 18:01:15 +0000 (14:01 -0400)]
Only change picker modes when used in dialog

Bug: 28444160
Change-Id: Ib8ced22272141cdf5f4c271c61cc8c6a83742ee4

8 years agoShortcutManager: When app's data is cleared, remove all shortcuts,
Makoto Onuki [Tue, 26 Apr 2016 18:23:14 +0000 (11:23 -0700)]
ShortcutManager: When app's data is cleared, remove all shortcuts,

as if it's uninstalled.

Fixes 28196831

Change-Id: I1a410372f9e344a10567b00057fa0770eac9fd76

8 years agodocs: N Preview 2 - new fugu system images am: 3af8dd2 am: 43ba796 am: f97306e
Joe Fernandez [Thu, 28 Apr 2016 17:32:09 +0000 (17:32 +0000)]
docs: N Preview 2 - new fugu system images am: 3af8dd2 am: 43ba796 am: f97306e
am: 8a1eb90

* commit '8a1eb90d96f3a69fea72f6599507a31d0fc356e9':
  docs: N Preview 2 - new fugu system images

Change-Id: Ifbc9a8bdf3a23a4705e28126d3c4aa23fe3ce2cf

8 years agoVideo source test & bugfix
John Reck [Wed, 27 Apr 2016 22:23:51 +0000 (15:23 -0700)]
Video source test & bugfix

Bug: 28428970

Test for video sources and fix a bug where
we should throw an IAE for surfaces that are invalid
at request time.

Change-Id: I891a2b1568f583300433c7aca6de36d2e2621c63

8 years agoStop user faster and clear stale broadcasts
Amith Yamasani [Tue, 26 Apr 2016 21:35:54 +0000 (14:35 -0700)]
Stop user faster and clear stale broadcasts

Moved several USER_STOPPING registered receivers to listen
to USER_STOPPED, since they don't need to be blocking the
shutdown of the user.

Clear all stale broadcasts when stopping a user, so that we
don't unnecessarily start up processes and deliver stale
broadcasts. This was causing code to run when the user was
already stopped and resulted in crashes when other providers
and services couldn't be started anymore. Hopefully this fixes
many of those races.

Bug: 28371487
Change-Id: Ic35a7a23fa8fe009a53f8bf7545d4dad5fa34134

8 years agoMerge "Revert "Revert the default wall paper for framework / emulator b/27451024...
Hyunyoung Song [Thu, 28 Apr 2016 16:57:24 +0000 (16:57 +0000)]
Merge "Revert "Revert the default wall paper for framework / emulator b/27451024 Change-Id: I68ed094f44f1b4c48407497790f809147ec0ad5a"" into nyc-dev

8 years agoMaintain internal consistency for TimePickerClockDelegate hour
Alan Viverette [Thu, 28 Apr 2016 16:56:09 +0000 (12:56 -0400)]
Maintain internal consistency for TimePickerClockDelegate hour

Hour was not updated correctly when a new hour was selected using the
radial picker or when AM/PM was changed, which prevented programmatic
calls from working.

Bug: 28398738
Change-Id: I0c1ffd9f9e569d980e72e74dc62568a56930afc4

8 years agoIntroduce "unlocking" vs "unlocked" nuance.
Jeff Sharkey [Wed, 27 Apr 2016 22:00:41 +0000 (16:00 -0600)]
Introduce "unlocking" vs "unlocked" nuance.

There is a narrow window of time during user unlock where we're
reconciling user storage and dispatching the "unlock" status to
various internal system services.  While in this "unlocking" state,
apps need to be told that the user still isn't actually "unlocked"
so they don't try making calls to AccountManager, etc.

The majority of internal services are interested in merging together
both the "unlocking" and "unlocked" state, so update them.

Clarify naming in AccountManagerService to make it clear that a local
list is being used, which mirrors the naming in MountService.

To match UX/PM requested behavior, move PRE_BOOT_COMPLETED dispatch
after the user is unlocked, but block BOOT_COMPLETED dispatch until
after all PRE_BOOT receivers are finished to avoid ANRs.

Bug: 2804094728164677
Change-Id: I57af2351633d9159f4483f19657ce0b62118d1ce

8 years agoRevert "Revert the default wall paper for framework / emulator b/27451024 Change...
Hyunyoung Song [Wed, 6 Apr 2016 00:43:47 +0000 (00:43 +0000)]
Revert "Revert the default wall paper for framework / emulator b/27451024 Change-Id: I68ed094f44f1b4c48407497790f809147ec0ad5a"

This reverts commit fcef23e831df0153fab7a3462973f0906ce9b8d8.
Bug: 28028331
Change-Id: I0bbcf7024749d06b7d78574afbb9625e6de8b96d

8 years agodocs: N Preview 2 - new fugu system images am: 3af8dd2 am: 43ba796
Joe Fernandez [Thu, 28 Apr 2016 15:34:19 +0000 (15:34 +0000)]
docs: N Preview 2 - new fugu system images am: 3af8dd2 am: 43ba796
am: f97306e

* commit 'f97306eb64e03656d83c228ca669c52fc1a265be':
  docs: N Preview 2 - new fugu system images

Change-Id: I65352544f1f1502295747b15a857e235e508ac2e

8 years agodocs: N Preview 2 - new fugu system images am: 3af8dd2
Joe Fernandez [Thu, 28 Apr 2016 15:30:59 +0000 (15:30 +0000)]
docs: N Preview 2 - new fugu system images am: 3af8dd2
am: 43ba796

* commit '43ba796197df91fae6875076d0daf9af7e1d2b78':
  docs: N Preview 2 - new fugu system images

Change-Id: I77167ef894499d9ad8b51e0336b381c69673a664

8 years agodocs: N Preview 2 - new fugu system images
Joe Fernandez [Thu, 28 Apr 2016 15:27:31 +0000 (15:27 +0000)]
docs: N Preview 2 - new fugu system images
am: 3af8dd2

* commit '3af8dd21279489ca10a5a8249a373bd911bfc1d8':
  docs: N Preview 2 - new fugu system images

Change-Id: Iae0965b8ec619f530609bd120d4dcd7699653aa2

8 years agoMerge "Prevent pinned stack from having extra elevation" into nyc-dev
Jaewan Kim [Thu, 28 Apr 2016 15:10:01 +0000 (15:10 +0000)]
Merge "Prevent pinned stack from having extra elevation" into nyc-dev

8 years agoZipUtils: Fix wrong timestamps when getEntryInfo
Shammi Khattar [Wed, 6 Apr 2016 22:33:03 +0000 (15:33 -0700)]
ZipUtils: Fix wrong timestamps when getEntryInfo

"tm_mon" format should align with "ZipEntry::setModWhen" in aapt.
"tm_isdst" should be initialized, or it will because random value
and cause error in function mktime().

BUG:28021145

(cherry picked from commit bb0eb3f4cb33c077b296a18555a9a1a966ff696b)

Change-Id: Ia39cf63fcd4bb39c24af080562960279106f526c

8 years agoMerge "Properly parcel HdrCapabilities." into nyc-dev
TreeHugger Robot [Thu, 28 Apr 2016 15:01:30 +0000 (15:01 +0000)]
Merge "Properly parcel HdrCapabilities." into nyc-dev

8 years agoMerge "Document behavior of object references in Animator classes" into nyc-dev
Chet Haase [Thu, 28 Apr 2016 14:33:33 +0000 (14:33 +0000)]
Merge "Document behavior of object references in Animator classes" into nyc-dev

8 years agoMerge "docs: Polish Android Monitor pages b/26279420" into mnc-mr-docs am: c89d507...
Cheryl Potter [Thu, 28 Apr 2016 14:17:51 +0000 (14:17 +0000)]
Merge "docs: Polish Android Monitor pages b/26279420" into mnc-mr-docs am: c89d507 am: 86a5d82
am: f83ba97

* commit 'f83ba97ef13333052d96d6d0ce11f84eba750762':
  docs: Polish Android Monitor pages b/26279420

Change-Id: Ib6e9d893f4310ec561143929d14f0fc41cbdb4f0

8 years agoMerge "Move allowGeneratedReplies to Action" into nyc-dev
TreeHugger Robot [Thu, 28 Apr 2016 13:41:47 +0000 (13:41 +0000)]
Merge "Move allowGeneratedReplies to Action" into nyc-dev

8 years agoPrevent pinned stack from having extra elevation
Jaewan Kim [Wed, 27 Apr 2016 01:36:35 +0000 (10:36 +0900)]
Prevent pinned stack from having extra elevation

Pinned stack doesn't have focus, so there's no need for setting extra
elevation to show shadow for focused case.

This removes extra eleavtion for pinned stack, and improves the PIP
animation quality by preventing extra surface size change
at the end of animation.

Bug: 27364161
Change-Id: Id099a78de48b2e038a69600c94454b5cbfe0628f

8 years agoMerge "Don't count vm_map_ram as used memory in vmallocinfo." into nyc-dev
Martijn Coenen [Thu, 28 Apr 2016 09:40:11 +0000 (09:40 +0000)]
Merge "Don't count vm_map_ram as used memory in vmallocinfo." into nyc-dev

8 years agoMerge "IpManager: add distinct DhcpActionTimeoutAlarm" into nyc-dev
TreeHugger Robot [Thu, 28 Apr 2016 09:30:02 +0000 (09:30 +0000)]
Merge "IpManager: add distinct DhcpActionTimeoutAlarm" into nyc-dev

8 years agoMerge "Fix ListView losing scroll position" into nyc-dev
Clara Bayarri [Thu, 28 Apr 2016 09:20:45 +0000 (09:20 +0000)]
Merge "Fix ListView losing scroll position" into nyc-dev

8 years agoPIP: Prevent PIP icons in Recents from blinking when PIP is closed
Jaewan Kim [Thu, 28 Apr 2016 08:28:52 +0000 (17:28 +0900)]
PIP: Prevent PIP icons in Recents from blinking when PIP is closed

Bug: 28426049
Change-Id: I462877376bced76aa168af4e99a9d8c1f2f1bc98

8 years agoIpManager: add distinct DhcpActionTimeoutAlarm
Erik Kline [Thu, 28 Apr 2016 05:46:39 +0000 (14:46 +0900)]
IpManager: add distinct DhcpActionTimeoutAlarm

Track provisioning timeouts separately from "DHCP action" timeouts.

Bug: 17733693
Bug: 24837343
Change-Id: I6071699692e7d375155a4c4fe61c7ec0d89396c0

8 years agoMerge "Notify success before configuring the IP address." into nyc-dev
Lorenzo Colitti [Thu, 28 Apr 2016 07:02:06 +0000 (07:02 +0000)]
Merge "Notify success before configuring the IP address." into nyc-dev

8 years agoFix IME adjustment for voice interaction windows
Jorim Jaggi [Thu, 28 Apr 2016 01:44:08 +0000 (18:44 -0700)]
Fix IME adjustment for voice interaction windows

Bug: 28344950
Change-Id: I42fa7abe28a693bc22c878c75839af4ef03e5e8a

8 years agoFix regression with docking from recents transition
Jorim Jaggi [Wed, 27 Apr 2016 02:51:20 +0000 (19:51 -0700)]
Fix regression with docking from recents transition

Because we move the task to the front in startRecentsActivity, we
always overrode the app transition type. Instead, we should remove
this logic and keep a flag whether the animation was prolonging was
finished already. If it was finished already, don't start the
prolonging when starting the transition.

Bug: 27154882
Change-Id: I1cd9e323867726ebd4b131ed5c13c3834d0f1107

8 years agoMerge "Clean up updating bounds after config/display info change" into nyc-dev
Jorim Jaggi [Thu, 28 Apr 2016 06:03:49 +0000 (06:03 +0000)]
Merge "Clean up updating bounds after config/display info change" into nyc-dev

8 years agoFix issues with docked stack not un-minimizing
Jorim Jaggi [Thu, 28 Apr 2016 05:56:56 +0000 (22:56 -0700)]
Fix issues with docked stack not un-minimizing

- Add minimize state to dump
- If the docked app goes through a configuration change while the
docked stack is minimizing, the window list becomes temporarily empty,
and thus Task.isVisibleForCurrentUserLocked == false. Since we already
check at the beginning of the animation, we need to finish the minimize
animation on the docked stack no matter what happens.
- Adjust the condition when to notify divider controller about app
visibility. It turns out that under some conditions an animation is set,
but the app is not an element of mClosingApps nor mOpeningApps, so we
missed the visibility change of the home task
- Use getTopAppToken instead of getTopVisibleAppToken. When the token is
about to hide, it's already hiddenRequested, so we skipped changing the
minimize adjustment.

Change-Id: Ib9e2e3f6a5da7b7854b49857299a236e47baa6fc
Fixes: 28184044

8 years agoMerge "Fix API review comments, add remove callback." into nyc-dev
Martijn Coenen [Thu, 28 Apr 2016 05:34:03 +0000 (05:34 +0000)]
Merge "Fix API review comments, add remove callback." into nyc-dev

8 years agoNotify success before configuring the IP address.
Lorenzo Colitti [Thu, 28 Apr 2016 04:52:56 +0000 (13:52 +0900)]
Notify success before configuring the IP address.

This ensures that IpManager has a complete copy of DHCP state
before configuring the IPv4 address. That way, when the netlink
notification of the IPv4 address arrives, we are guaranteed to
have all DHCP information (including DNS servers and routes)
available and we will never send the IPv4 address before the DNS
servers.

Bug: 27605330
Change-Id: I732424dfe2408be9e40028563e99d610b541e12d

8 years agoMerge "docs: Polish Android Monitor pages b/26279420" into mnc-mr-docs am: c89d507
Cheryl Potter [Thu, 28 Apr 2016 04:21:57 +0000 (04:21 +0000)]
Merge "docs: Polish Android Monitor pages b/26279420" into mnc-mr-docs am: c89d507
am: 86a5d82

* commit '86a5d8229794579fff375f2a2c2b9809136903a0':
  docs: Polish Android Monitor pages b/26279420

Change-Id: Ibe642578c042dae3f4d6738d6b68f63ed7f4063d

8 years agoMerge "docs: Polish Android Monitor pages b/26279420" into mnc-mr-docs
Cheryl Potter [Thu, 28 Apr 2016 04:19:00 +0000 (04:19 +0000)]
Merge "docs: Polish Android Monitor pages b/26279420" into mnc-mr-docs
am: c89d507

* commit 'c89d5078e79460d081eb09f5fe141a5ba7ad7e64':
  docs: Polish Android Monitor pages b/26279420

Change-Id: Ic47fd05fa40a6c6b2b0cba9cade8ab51ef72cd65

8 years agoMerge "docs: Polish Android Monitor pages b/26279420" into mnc-mr-docs
Cheryl Potter [Thu, 28 Apr 2016 04:12:42 +0000 (04:12 +0000)]
Merge "docs: Polish Android Monitor pages b/26279420" into mnc-mr-docs

8 years agoMerge "Make isCaptivePortal perform both HTTP and HTTPS probes." into nyc-dev
TreeHugger Robot [Thu, 28 Apr 2016 04:01:09 +0000 (04:01 +0000)]
Merge "Make isCaptivePortal perform both HTTP and HTTPS probes." into nyc-dev