OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Make Recents activity invisible when it is behind a translucent activity"...
TreeHugger Robot [Tue, 17 May 2016 23:46:55 +0000 (23:46 +0000)]
Merge "Make Recents activity invisible when it is behind a translucent activity" into nyc-dev

8 years agoMove LocaleList to avoid layering violation.
Yohei Yukawa [Tue, 17 May 2016 23:42:58 +0000 (16:42 -0700)]
Move LocaleList to avoid layering violation.

Since LocaleList needs to depend on android.os.Parcelable, we cannot let
that class belong to "android.util" package, which causes layering
violation.

Bug: 28819696
Change-Id: Ia8de2ee9df3dd0a42b1fe84574439519b680fe18

8 years agoMerge "Fix wallpaper cropped too soon when unminimizing dock" into nyc-dev
Chong Zhang [Tue, 17 May 2016 23:35:26 +0000 (23:35 +0000)]
Merge "Fix wallpaper cropped too soon when unminimizing dock" into nyc-dev

8 years agoMerge "Dismiss immersive mode overlay while in VR mode." into nyc-dev
Ruben Brunk [Tue, 17 May 2016 23:29:51 +0000 (23:29 +0000)]
Merge "Dismiss immersive mode overlay while in VR mode." into nyc-dev

8 years agoMerge "Use focused app's stack for IME adjustment" into nyc-dev
Chong Zhang [Tue, 17 May 2016 23:27:18 +0000 (23:27 +0000)]
Merge "Use focused app's stack for IME adjustment" into nyc-dev

8 years agodocs: work - Update devhub url
Billy Lamberta [Tue, 17 May 2016 17:17:00 +0000 (10:17 -0700)]
docs: work - Update devhub url

Update to new DevHub URL in resource card and
referenced in /work pages.

Change-Id: Ia3bfda3af8a9c83bcad37697fa5019ce59bfabbe

8 years agoDocument that SurfaceView is synchronous in N
Chris Craik [Tue, 17 May 2016 21:29:10 +0000 (14:29 -0700)]
Document that SurfaceView is synchronous in N

bug:28821062

Change-Id: I1c17949d93de3d1f89c504fc061f7d20dd451a4d

8 years agoMerge "docs: Wear 2 Preview - improve visibility and look of pages" into mnc-io-docs
Joe Fernandez [Tue, 17 May 2016 23:10:49 +0000 (23:10 +0000)]
Merge "docs: Wear 2 Preview - improve visibility and look of pages" into mnc-io-docs

8 years agoMerge "Updated documentation for Input Method Framework Wear 2.0" into mnc-io-docs
Sreevani Sreejith [Tue, 17 May 2016 23:09:26 +0000 (23:09 +0000)]
Merge "Updated documentation for Input Method Framework Wear 2.0" into mnc-io-docs

8 years agoresolve merge conflicts of 33d83db to mnc-ub-dev
Andrew Solovay [Tue, 17 May 2016 23:09:03 +0000 (16:09 -0700)]
resolve merge conflicts of 33d83db to mnc-ub-dev

Change-Id: I8c148af6eec071ac076882a53c5ba2929cf0c9d2

8 years agoMerge "Adjust wifi idle times to fit in system time period" into nyc-dev
TreeHugger Robot [Tue, 17 May 2016 23:07:57 +0000 (23:07 +0000)]
Merge "Adjust wifi idle times to fit in system time period" into nyc-dev

8 years agoFix threading problems with drawables
Jorim Jaggi [Tue, 17 May 2016 21:35:42 +0000 (14:35 -0700)]
Fix threading problems with drawables

We can't use the same instance on both the main and the background
thread, as this will lead to problems.

Change-Id: Ieec525f028df2d0596667126d8f5004773461517
Fixes: 28745682

8 years agodocs: Wear 2 Preview - improve visibility and look of pages
Joe Fernandez [Sun, 15 May 2016 23:11:59 +0000 (16:11 -0700)]
docs: Wear 2 Preview - improve visibility and look of pages

- add browse path from Wear landing page to preview (new ribbon section)

Change-Id: Ifc204347c89f732adce0caae5070905277232ced

8 years agoMerge "Docs: Iterating on Wear docs - Bridger API" into mnc-io-docs
Bert McMeen [Tue, 17 May 2016 23:05:20 +0000 (23:05 +0000)]
Merge "Docs: Iterating on Wear docs - Bridger API" into mnc-io-docs

8 years agoMerge "docs: Iterating on Wear docs - Get Started, Download/Test, Program Overview...
Bert McMeen [Tue, 17 May 2016 23:04:24 +0000 (23:04 +0000)]
Merge "docs: Iterating on Wear docs - Get Started, Download/Test, Program Overview" into mnc-io-docs

8 years agoUpdated documentation for Input Method Framework Wear 2.0
sreevanis [Tue, 17 May 2016 18:33:28 +0000 (11:33 -0700)]
Updated documentation for Input Method Framework Wear 2.0

Bug:28472831
Change-Id: I7fbcc0e6f044079b4c63c9c99f9442cdd6192215

8 years agoMerge "Updated app pattern documentation." into mnc-io-docs
Sreevani Sreejith [Tue, 17 May 2016 23:00:58 +0000 (23:00 +0000)]
Merge "Updated app pattern documentation." into mnc-io-docs

8 years agoMerge "Notification changes for Wear 2.0 and Release notes." into mnc-io-docs
Sreevani Sreejith [Tue, 17 May 2016 23:00:41 +0000 (23:00 +0000)]
Merge "Notification changes for Wear 2.0 and Release notes." into mnc-io-docs

8 years agoAdd clarifying documentation to Context.BIND_EXTERNAL_SERVICE.
Robert Sesek [Tue, 17 May 2016 22:53:13 +0000 (18:53 -0400)]
Add clarifying documentation to Context.BIND_EXTERNAL_SERVICE.

Bug: 28775488
Change-Id: Ic0473d3664671f0ac5df8412f61ca8c1d029887f

8 years agodocs: Iterating on Wear docs - Get Started, Download/Test, Program Overview
Bert McMeen [Sat, 14 May 2016 01:34:14 +0000 (18:34 -0700)]
docs: Iterating on Wear docs - Get Started, Download/Test, Program Overview

Bug: 28317997
Change-Id: I1be68881c2ce94b4728072a2cfa6b4ae6b55f5ca

8 years agoMerge "API Overview page for Wear 2.0 preview." into mnc-io-docs
Sreevani Sreejith [Tue, 17 May 2016 22:47:31 +0000 (22:47 +0000)]
Merge "API Overview page for Wear 2.0 preview." into mnc-io-docs

8 years agoinvert the quotes for links in the JSON to avoid breakage from devsite\'s URL parser...
smain@google.com [Tue, 17 May 2016 22:40:42 +0000 (22:40 +0000)]
invert the quotes for links in the JSON to avoid breakage from devsite\'s URL parser (or whatever). bug: 28801246 am: 28445c4d7d am: bf4296e500
am: 7c919ef804

* commit '7c919ef8042c1864fb4ea39a663e6ff684bd0156':
  invert the quotes for links in the JSON to avoid breakage from devsite's URL parser (or whatever). bug: 28801246

Change-Id: I64afc374bb3261b0f5f69a8f4a7677369dfec353

8 years agoAdjust Notification APIs per API council
Adrian Roos [Tue, 17 May 2016 20:50:38 +0000 (13:50 -0700)]
Adjust Notification APIs per API council

Also fixes a slight bug where a CharSequence extra
was retrieved as a string.

Change-Id: I8a40ab1934b8a20355c3cd4afd66a4a7b91fb517
Fixes: 28775580
Fixes: 28775582

8 years agoUpdated app pattern documentation.
sreevanis [Tue, 17 May 2016 19:13:16 +0000 (12:13 -0700)]
Updated app pattern documentation.

Bug:28473253
Change-Id: Iba5aff299d2e5fc1b90c7cb5beaeeb65f52c5932

8 years agoinvert the quotes for links in the JSON to avoid breakage from devsite\'s URL parser...
smain@google.com [Tue, 17 May 2016 22:32:26 +0000 (22:32 +0000)]
invert the quotes for links in the JSON to avoid breakage from devsite\'s URL parser (or whatever). bug: 28801246 am: 28445c4d7d
am: bf4296e500

* commit 'bf4296e500af87a83ff64642cb15d25e81df01c5':
  invert the quotes for links in the JSON to avoid breakage from devsite's URL parser (or whatever). bug: 28801246

Change-Id: I9504b2b124e00e0d0bbeea56b7611c57f6bfd9fc

8 years agoDemote the log in ProcessState.ensureNotDead from a wtf to a warning.
Joe Onorato [Tue, 17 May 2016 22:31:38 +0000 (15:31 -0700)]
Demote the log in ProcessState.ensureNotDead from a wtf to a warning.

It's raising alarm bells but there isn't much we can do without a lot
of rewriting inside the ActivityManager.  The only consequence is stats
that are off by a little bit.

Bug: 28581070
Change-Id: If51568c3a708a907ceef6452e7d45599a57454f7

8 years ago@hide SystemHealthManager.from
Joe Onorato [Tue, 17 May 2016 22:29:51 +0000 (15:29 -0700)]
@hide SystemHealthManager.from

Bug: 28820055
Change-Id: Idd434c196428178e2c66facea36a7e010246611c

8 years agoMerge "docs: Creating new support library revision history page" into mnc-mr-docs
Andrew Solovay [Tue, 17 May 2016 22:21:23 +0000 (22:21 +0000)]
Merge "docs: Creating new support library revision history page" into mnc-mr-docs
am: e780c62462

* commit 'e780c6246202ea42c8de159e5b473a897faeb6bb':
  docs: Creating new support library revision history page

Change-Id: I249c9a9c889cdf273fd995860f3b0129aa9e12ce

8 years agoinvert the quotes for links in the JSON to avoid breakage from devsite\'s URL parser...
smain@google.com [Tue, 17 May 2016 22:21:19 +0000 (22:21 +0000)]
invert the quotes for links in the JSON to avoid breakage from devsite\'s URL parser (or whatever). bug: 28801246
am: 28445c4d7d

* commit '28445c4d7d46a14e8cc2654c4912019327cbe471':
  invert the quotes for links in the JSON to avoid breakage from devsite's URL parser (or whatever). bug: 28801246

Change-Id: I243768d45ff5ac5eb11140ac8f8d770335be3d70

8 years agoDismiss immersive mode overlay while in VR mode.
Ruben Brunk [Tue, 17 May 2016 20:39:59 +0000 (13:39 -0700)]
Dismiss immersive mode overlay while in VR mode.

Bug: 28052143
Change-Id: I750753c72cb8d41bf91c108e8fc645750fbf9c45

8 years agoMerge "docs: Creating new support library revision history page" into mnc-mr-docs
TreeHugger Robot [Tue, 17 May 2016 22:13:06 +0000 (22:13 +0000)]
Merge "docs: Creating new support library revision history page" into mnc-mr-docs

8 years agoUse focused app's stack for IME adjustment
Chong Zhang [Tue, 17 May 2016 22:07:26 +0000 (15:07 -0700)]
Use focused app's stack for IME adjustment

Don't use mInputMethodTarget as it could be set to some system alert
window that has both FLAG_NOT_FOCUSABLE and FLAG_ALT_FOCUSABLE_IM,
and it's not actually taking inputs.

bug: 28328085
Change-Id: I38263f64fec13a5e10357499ebc97671389ba69a

8 years agoMerge "Fixed a screen flickering on tablets" into nyc-dev
Selim Cinek [Tue, 17 May 2016 22:05:52 +0000 (22:05 +0000)]
Merge "Fixed a screen flickering on tablets" into nyc-dev

8 years agoMerge "Fixed a bug with auto cancelling" into nyc-dev
Selim Cinek [Tue, 17 May 2016 22:05:38 +0000 (22:05 +0000)]
Merge "Fixed a bug with auto cancelling" into nyc-dev

8 years agoNotification changes for Wear 2.0 and Release notes.
sreevanis [Fri, 13 May 2016 05:49:30 +0000 (22:49 -0700)]
Notification changes for Wear 2.0 and Release notes.

Bug:28472076
Change-Id: Ie5231c6a4d3c243249c8345b94186af67ff21a06

8 years agoMerge "Don't always announce accessibility events when resetting password" into nyc-dev
Jim Miller [Tue, 17 May 2016 22:00:36 +0000 (22:00 +0000)]
Merge "Don't always announce accessibility events when resetting password" into nyc-dev

8 years agoMerge "Work on issue #28689719: Runtime restart" into nyc-dev
Dianne Hackborn [Tue, 17 May 2016 21:58:20 +0000 (21:58 +0000)]
Merge "Work on issue #28689719: Runtime restart" into nyc-dev

8 years agoHandle printers selected by SelectPrinter activity
Philip P. Moltmann [Tue, 17 May 2016 21:26:13 +0000 (14:26 -0700)]
Handle printers selected by SelectPrinter activity

- Declare a printers availability when changing the removed state.
- Set printJob.printerId to current printer when returning from
  SelectPrinter

Change-Id: Ie4680be04fa614a4088f2f32a527e80928c957cc
Fixes: 27643305

8 years agoAPI Overview page for Wear 2.0 preview.
sreevanis [Thu, 12 May 2016 00:47:09 +0000 (17:47 -0700)]
API Overview page for Wear 2.0 preview.

Bug:28714669
Change-Id: Icc76b610f329d6c24046bf654e2895f123af9cc6

8 years agoHide HdrCapabilities constructor.
Hangyu Kuang [Tue, 17 May 2016 21:21:01 +0000 (14:21 -0700)]
Hide HdrCapabilities constructor.

Bug:25684127
Change-Id: I1a30ab3c162d8891c8aea1447757c85942033a0d

8 years agoMerge "android_media_MediaSync: Do not pass NULL to AString ctor." into nyc-dev
Wei Jia [Tue, 17 May 2016 21:17:36 +0000 (21:17 +0000)]
Merge "android_media_MediaSync: Do not pass NULL to AString ctor." into nyc-dev

8 years agoAdjust wifi idle times to fit in system time period
Roshan Pius [Mon, 16 May 2016 20:00:25 +0000 (13:00 -0700)]
Adjust wifi idle times to fit in system time period

The battery stats time period calculation is done using a
different clock source compared to the wifi chip's on time calculation. So,
account for skews between the two by adjusting the idle time reported by
wifi chip to fit into the system time calculation.

BUG: 28628799
Change-Id: I3110c53317f3246e26fdc3731f7be0a3d9c8e229
TEST: Compiles & manual verification

8 years agoMerge "Fix broken MessagingStyle" into nyc-dev
Adrian Roos [Tue, 17 May 2016 21:02:24 +0000 (21:02 +0000)]
Merge "Fix broken MessagingStyle" into nyc-dev

8 years agoFix issue #28817455: [NYC] [BullHead] Fatal Exception in CNEService
Dianne Hackborn [Tue, 17 May 2016 20:55:29 +0000 (13:55 -0700)]
Fix issue #28817455: [NYC] [BullHead] Fatal Exception in CNEService

Deadlock between DeviceIdleController and NetworkPolicyManagerService
because DeviceIdleController was calling out to ConnectivityService
with its lock held.

Change-Id: I21195c2dfd5f50d0264e5e32819f8fc1f35a23a9

8 years agoDO NOT MERGE Hide decor caption APIs
Andrii Kulian [Tue, 17 May 2016 20:47:43 +0000 (13:47 -0700)]
DO NOT MERGE Hide decor caption APIs

Hiding the APIs for now since we're not releasing freeform yet and it's
better not to expose them now in case we'll decide to change them later.

Bug: 28774476
Change-Id: Ic2de33c5a611a515fc1c72535587ebf2e0a03a7f

8 years agodocs: Creating new support library revision history page
Andrew Solovay [Tue, 17 May 2016 18:52:28 +0000 (11:52 -0700)]
docs: Creating new support library revision history page

Previously, the support library revision history had been on
index.html, along with the overview. Pulling the history out onto
its own page. (There doesn't seem to be a way to set up a redirect--
redirects from /foo.html#bar to /bar.html don't seem to be honored.)

bug: 28721552
Change-Id: I26b8aead4161f1555cead02a4c61cc1b45ca1dbe

8 years agoWork on issue #28689719: Runtime restart
Dianne Hackborn [Tue, 17 May 2016 20:40:44 +0000 (13:40 -0700)]
Work on issue #28689719: Runtime restart

There are few paths I can see to get a null intent down into
the framework at this point.  Add in some checks and reports
at those places to mitigate and report such problems.

Change-Id: If235bf342558321d3fabe9363fcebb2bcea18df1

8 years agoHandle PhoneStatusBarPolicy user switch callbacks on main thread
Toni Barzic [Thu, 28 Apr 2016 01:10:58 +0000 (18:10 -0700)]
Handle PhoneStatusBarPolicy user switch callbacks on main thread

Said callbacks poke around StatusBarIconController, which lives on
main thread and is not thread safe.

BUG=27047911
Bug:28613935

Change-Id: I880d79a237b03c06d72b5dff3db24bd60c7b8839
(cherry picked from commit 4f65092f5c95b89f48a48a916467b78d2a07ff89)

8 years agoUpdate RestrictedLockUtils to use UM.getUserRestrictionSource.
Sudheer Shanka [Thu, 5 May 2016 20:14:24 +0000 (13:14 -0700)]
Update RestrictedLockUtils to use UM.getUserRestrictionSource.

Bug: 28269827
Change-Id: Ib4a1441b71986ca6637a9236136b60e18dbc1643

8 years agoMerge "Title is a CharSequence." into nyc-dev
Julia Reynolds [Tue, 17 May 2016 19:48:31 +0000 (19:48 +0000)]
Merge "Title is a CharSequence." into nyc-dev

8 years agoTitle is a CharSequence.
Julia Reynolds [Tue, 17 May 2016 19:34:34 +0000 (15:34 -0400)]
Title is a CharSequence.

Change-Id: Ib464d422ca1cf6d7c0547a02847ecb7085682ae9
Fixes: 28680336

8 years agoMerge "TIF: Throw a more appropriate runtime exception when building TvInputInfo...
TreeHugger Robot [Tue, 17 May 2016 18:45:42 +0000 (18:45 +0000)]
Merge "TIF: Throw a more appropriate runtime exception when building TvInputInfo" into nyc-dev

8 years agoMerge "cherrypick from mnc-io-docs docs: Updated Billing API documentation (for Proje...
Kevin Hufnagle [Tue, 17 May 2016 18:39:02 +0000 (18:39 +0000)]
Merge "cherrypick from mnc-io-docs docs: Updated Billing API documentation (for Project Nickel)." into mnc-io-docs am: 296d84fbd9
am: 59ce20df8c

* commit '59ce20df8c6573a149461943963e98cee3b11d72':
  cherrypick from mnc-io-docs docs: Updated Billing API documentation (for Project Nickel).

Change-Id: Iad0a2bc7ed5554b65e833f8ecb2936ffe4fb4b80

8 years agoFix wallpaper cropped too soon when unminimizing dock
Chong Zhang [Sat, 14 May 2016 01:04:23 +0000 (18:04 -0700)]
Fix wallpaper cropped too soon when unminimizing dock

Set adjusted bounds on the stack that's side-by-side to the docked
stack, so that TaskStack.getDimBounds returns the adjusted bounds
during unminimizing dock animation. This way wallpaper is not cropped
too soon to the final stack bounds.

The adjusted bounds won't be used for alignment for minimizing.

bug: 28763785
Change-Id: Ifea4366dd4b1bd35f2ed720dd1819a10bdfd86fa

8 years agoRefactor how StatusBarPolicy knows if keyguard is visible.
Nicolas Prevot [Tue, 17 May 2016 11:52:54 +0000 (12:52 +0100)]
Refactor how StatusBarPolicy knows if keyguard is visible.

In the case where the keyguard has never been shown and thus
never been dismissed: StatusBarPolicy thought the keyguard was
still visible.

Instead of StatusBarPolicy keeping its own internal variable
for wether the keyguard is visible, directly use
StatusBarKeyguardViewManager.isShowing()

BUG:28755086
Change-Id: I1b30c0e6985aa7ff35eea41444ab5504c00ff130

8 years agodocs: Wear preview - update to leftnav am: ca23070a46
Bert McMeen [Tue, 17 May 2016 18:33:15 +0000 (18:33 +0000)]
docs: Wear preview - update to leftnav am: ca23070a46
am: 26599cc0e2

* commit '26599cc0e2076bc29e54e319c308f932fa9e3d48':
  docs: Wear preview - update to leftnav

Change-Id: I413265a1fd500bba0f2e84afa28b41cacee192c7

8 years agoMerge "cherrypick from mnc-io-docs docs: Updated Billing API documentation (for Proje...
Kevin Hufnagle [Tue, 17 May 2016 18:30:21 +0000 (18:30 +0000)]
Merge "cherrypick from mnc-io-docs docs: Updated Billing API documentation (for Project Nickel)." into mnc-io-docs
am: 296d84fbd9

* commit '296d84fbd9f04653edef37aede5e3c0663f8945c':
  cherrypick from mnc-io-docs docs: Updated Billing API documentation (for Project Nickel).

Change-Id: If3e7a0663a97f94d46059ed6fdd5b0cc75a0af3c

8 years agoMerge "Added a onRestrictBackgroundBlacklistChanged() callback." into nyc-dev
TreeHugger Robot [Tue, 17 May 2016 18:28:20 +0000 (18:28 +0000)]
Merge "Added a onRestrictBackgroundBlacklistChanged() callback." into nyc-dev

8 years agoMerge "cherrypick from mnc-io-docs docs: Updated Billing API documentation (for Proje...
Kevin Hufnagle [Tue, 17 May 2016 18:21:29 +0000 (18:21 +0000)]
Merge "cherrypick from mnc-io-docs docs: Updated Billing API documentation (for Project Nickel)." into mnc-io-docs

8 years agoMerge "Adddress NFC API review comments." into nyc-dev
Martijn Coenen [Tue, 17 May 2016 18:21:15 +0000 (18:21 +0000)]
Merge "Adddress NFC API review comments." into nyc-dev

8 years agoMerge "Fix issue #28641630: Service client dumps are timing out for no reason" into...
Dianne Hackborn [Tue, 17 May 2016 18:20:04 +0000 (18:20 +0000)]
Merge "Fix issue #28641630: Service client dumps are timing out for no reason" into nyc-dev

8 years agoMerge "Fix issue #27532364: Security Vulnerability in IIntentSender.send" into nyc-dev
Dianne Hackborn [Tue, 17 May 2016 18:19:34 +0000 (18:19 +0000)]
Merge "Fix issue #27532364: Security Vulnerability in IIntentSender.send" into nyc-dev

8 years agoFix issue #28641630: Service client dumps are timing out for no reason
Dianne Hackborn [Tue, 17 May 2016 00:36:15 +0000 (17:36 -0700)]
Fix issue #28641630: Service client dumps are timing out for no reason

Actually, no reason.  The reason is that to do the dump we are doing
synchronous calls out to each service, but that is with the activity
manager lock held, so they can get blocked if their main thread does
any call back in to the activity manager.

To fix this, re-organize the dumping code so that the "with client"
path is separate, and doesn't require holding a lock the entire
time.

Change-Id: Ia96861c10da81048b3d2ac93a25760b68623cf34

8 years agodocs: Wear preview - update to leftnav
Bert McMeen [Tue, 17 May 2016 18:17:11 +0000 (18:17 +0000)]
docs: Wear preview - update to leftnav
am: ca23070a46

* commit 'ca23070a460ff8cc8942b28d72de341d10102d4c':
  docs: Wear preview - update to leftnav

Change-Id: If391f05219140dbc8f9adcb337b599c48383a82c

8 years agoFix janky multi-window entry animation
Jorim Jaggi [Sat, 14 May 2016 01:21:48 +0000 (18:21 -0700)]
Fix janky multi-window entry animation

- Add tracing when drawing ImageWallpaper.
- Don't force a redraw in onSurfaceRedrawNeeded. This only adds
another unnecessary draw and doesn't do anything useful.
onSurfaceRedrawNeeded is only here so the client can block.
- Delay entrance animation by one frame so wallpaper can be drawn
before the transition is starting.
- Add some delay for animating the tasks up in recents to match that
delay (it wasn't matched before at all).
- Fix an issue where launchedFromHome was wrong while docking.

Bug: 28769940
Change-Id: I2b763ed40078541328a1e04ffecf5b0a520fe019

8 years agoMerge "Correct activity lifecycle when forcedResize activity is finished" into nyc-dev
TreeHugger Robot [Tue, 17 May 2016 18:02:17 +0000 (18:02 +0000)]
Merge "Correct activity lifecycle when forcedResize activity is finished" into nyc-dev

8 years agodocs: Wear preview - update to leftnav
Bert McMeen [Tue, 17 May 2016 17:58:06 +0000 (10:58 -0700)]
docs: Wear preview - update to leftnav

Bug: 28317997
Change-Id: Ia7b2f39dbd27106fd621acbf9e59f558ee7bdeba

8 years agoMerge "OMADM intent sent by both system and apps." into nyc-dev
Amit Mahajan [Tue, 17 May 2016 17:41:09 +0000 (17:41 +0000)]
Merge "OMADM intent sent by both system and apps." into nyc-dev

8 years agoMake Recents activity invisible when it is behind a translucent activity
Wale Ogunwale [Tue, 17 May 2016 00:04:37 +0000 (17:04 -0700)]
Make Recents activity invisible when it is behind a translucent activity

We don't want the recents activity to be visible behind a translucent
fullscreen activity. Instead we want to show the home activity behind
the translucent activity.

Bug: 28246419
Change-Id: I0364a592d7d84c88b39b359431492d0395b0f051

8 years agoMerge "Move onStart update of recents tasks to onResume" into nyc-dev
Sid Soundararajan [Tue, 17 May 2016 17:36:49 +0000 (17:36 +0000)]
Merge "Move onStart update of recents tasks to onResume" into nyc-dev

8 years agoMerge "Add an extra to HOME intent to indicate it comes form recents." into nyc-dev
Sid Soundararajan [Tue, 17 May 2016 17:36:41 +0000 (17:36 +0000)]
Merge "Add an extra to HOME intent to indicate it comes form recents." into nyc-dev

8 years agoMerge "Make some of the UID-based VPN code reusable" into nyc-dev
TreeHugger Robot [Tue, 17 May 2016 17:29:59 +0000 (17:29 +0000)]
Merge "Make some of the UID-based VPN code reusable" into nyc-dev

8 years agoMerge "Hide UiAutomation#destroy as test api." into nyc-dev
Phil Weaver [Tue, 17 May 2016 17:26:59 +0000 (17:26 +0000)]
Merge "Hide UiAutomation#destroy as test api." into nyc-dev

8 years agoMerge "Apply final crop during surface preservation" into nyc-dev
Chong Zhang [Tue, 17 May 2016 17:17:51 +0000 (17:17 +0000)]
Merge "Apply final crop during surface preservation" into nyc-dev

8 years agoMerge "Content description for FloatingToobar overflow." into nyc-dev
Phil Weaver [Tue, 17 May 2016 17:08:28 +0000 (17:08 +0000)]
Merge "Content description for FloatingToobar overflow." into nyc-dev

8 years agoTIF: Throw a more appropriate runtime exception when building TvInputInfo
Jae Seo [Tue, 17 May 2016 01:19:11 +0000 (18:19 -0700)]
TIF: Throw a more appropriate runtime exception when building TvInputInfo

Bug: 28775591
Change-Id: I934c8d7fed3dda356cdc3bafe51a79f585918ed0

8 years agoCorrect activity lifecycle when forcedResize activity is finished
Wale Ogunwale [Tue, 17 May 2016 16:40:02 +0000 (09:40 -0700)]
Correct activity lifecycle when forcedResize activity is finished

- Regerssion introduced ag/1039265. We still need to resume the
starting activity in a task with an overlay activity is the starting
activity is the overlay activity. Otherwise the activity below it
might not be moved to the paused state.
- Also, we don't want to clear starting window for activities that
aren't behind fullscreen activities as we need to display their
starting window until they are done initializing.

Bug: 28808506
Bug: 28751186
Change-Id: I9a1a5feecea2ed3592a4064fca80e240a3bce387

8 years agoUse batching to set firewall rules.
Felipe Leme [Thu, 12 May 2016 16:58:14 +0000 (09:58 -0700)]
Use batching to set firewall rules.

Netd now provides an option to flush all uids for a given firewall
chain. Using this option is particularly useful when setting the
fw_standby chain, since over time the device will have dozens of idle
apps.

For example, in a Nexus 5X with 45 idle apps, setFirewallUidRules() at
boot was taking 1044ms, and after this change it dropped to just 32ms.

BUG: 26675191
Change-Id: I7016ba646b872f80d0b27a56b867c0b6080d2516

8 years agoMerge "Introduce system API to get source of user restriction" into nyc-dev
Zoltan Szatmary-Ban [Tue, 17 May 2016 15:16:55 +0000 (15:16 +0000)]
Merge "Introduce system API to get source of user restriction" into nyc-dev

8 years agoMerge "ZygoteInit: warm up JCA providers during preload" into nyc-dev
Sergio Giro [Tue, 17 May 2016 11:02:18 +0000 (11:02 +0000)]
Merge "ZygoteInit: warm up JCA providers during preload" into nyc-dev

8 years agoZygoteInit: warm up JCA providers during preload
Sergio Giro [Fri, 13 May 2016 15:34:46 +0000 (16:34 +0100)]
ZygoteInit: warm up JCA providers during preload

This makes the time spent in the first call of an app to
SSLSocketFactory.getDefault() drop from ~240 ms to ~50 ms. In M
it was around ~6ms. This is due to the fact that, while instantiating
the default factory, all providers are initialized.

In order to obtain the timings above, I created an app calling
SSLSocketFactory.getDefault in onCreate and timed it
with System.currentTimeMillis() .

Bug: 28545496

Change-Id: I650d4b0435e67e481a41e02b0b538ce5cc993fa3

8 years agoMerge "Skip 'network may be monitored' if dying or locked" into nyc-dev
Robin Lee [Tue, 17 May 2016 09:17:19 +0000 (09:17 +0000)]
Merge "Skip 'network may be monitored' if dying or locked" into nyc-dev

8 years agoMerge "Remove "if it succeeds" wording from requestShowKeyboardShortcuts" into nyc-dev
Clara Bayarri [Tue, 17 May 2016 09:12:35 +0000 (09:12 +0000)]
Merge "Remove "if it succeeds" wording from requestShowKeyboardShortcuts" into nyc-dev

8 years agoMerge "PackageManager: Clear foreign-dex markers when the app is uninstalled." into...
Narayan Kamath [Tue, 17 May 2016 08:31:42 +0000 (08:31 +0000)]
Merge "PackageManager: Clear foreign-dex markers when the app is uninstalled." into nyc-dev

8 years agoAdddress NFC API review comments.
Martijn Coenen [Tue, 17 May 2016 07:09:15 +0000 (09:09 +0200)]
Adddress NFC API review comments.

Bug: 28775492
Change-Id: I01befba3435f0d882787fecabd3c1041fe7260d7

8 years agoMerge "Docs: CL for continuing work on tactically merged N-DP3 docs." into mnc-io...
David Friedman [Tue, 17 May 2016 03:29:11 +0000 (03:29 +0000)]
Merge "Docs: CL for continuing work on tactically merged N-DP3 docs." into mnc-io-docs am: bf56921d35
am: 86b5f72636

* commit '86b5f726368c873c8503ed7a8042cfa954f5e1a0':
  Docs: CL for continuing work on tactically merged N-DP3 docs.

Change-Id: I83923831a50a94f46d05e18cfc4d69c68b2e58ed

8 years agoMerge "Docs: CL for continuing work on tactically merged N-DP3 docs." into mnc-io...
David Friedman [Tue, 17 May 2016 03:23:46 +0000 (03:23 +0000)]
Merge "Docs: CL for continuing work on tactically merged N-DP3 docs." into mnc-io-docs
am: bf56921d35

* commit 'bf56921d3527ad0652f4224b422dd611ec1a6fee':
  Docs: CL for continuing work on tactically merged N-DP3 docs.

Change-Id: I8150c709818232cf24e4d967de45aeb1bd4c2956

8 years agoMerge "Docs: CL for continuing work on tactically merged N-DP3 docs." into mnc-io...
David Friedman [Tue, 17 May 2016 03:17:40 +0000 (03:17 +0000)]
Merge "Docs: CL for continuing work on tactically merged N-DP3 docs." into mnc-io-docs

8 years agoDocs: CL for continuing work on tactically merged N-DP3 docs.
David Friedman [Fri, 13 May 2016 17:03:52 +0000 (10:03 -0700)]
Docs: CL for continuing work on tactically merged N-DP3 docs.

This CL continues the work from ag/1036623 and ag/1036124.

Change-Id: Ic1e026ed9f53a389a0435c2b8e21edfe9ef635c4

8 years agocherrypick from mnc-io-docs docs: Updated Billing API documentation
Kevin Hufnagle [Wed, 11 May 2016 01:03:42 +0000 (18:03 -0700)]
cherrypick from mnc-io-docs docs: Updated Billing API documentation
(for Project Nickel).

This CL is a continuation of CL 1026559.

Added references to Project Nickel (rounded and "relevant" pricing
for each country where an Android app is published) within overview
and reference pages. Also added discussion of pricing templates and
the associated operations in the "administration" page.

Finally, completed minor touch-ups to billing administration section
(removed unhelpful links, updated screen captures).

Bug: 28204935
Change-Id: Id194c17b5dd23fc89b9b69cf90e601993a66d014
Original-Change-Id: I917d06876d1525f24cb26a55a39cd64ae479b8f8

8 years agoApply final crop during surface preservation
Chong Zhang [Tue, 17 May 2016 01:25:45 +0000 (18:25 -0700)]
Apply final crop during surface preservation

Apply stack crop to the preserved surface so that it doesn't stick over
the dock divider.

bug: 28567495
Change-Id: Ib7a9d8ec82a7752ecbef60a86f441e35e16ac877

8 years agoinvert the quotes for links in the JSON to avoid breakage from devsite's URL parser...
smain@google.com [Tue, 17 May 2016 01:22:06 +0000 (18:22 -0700)]
invert the quotes for links in the JSON to avoid breakage from devsite's URL parser (or whatever).
bug: 28801246

Change-Id: I1c1dbfc20ec4bdd16ede76d4cbad6474bafafb55

8 years agoDon't always announce accessibility events when resetting password
Jim Miller [Tue, 17 May 2016 01:06:50 +0000 (18:06 -0700)]
Don't always announce accessibility events when resetting password

The code use to always announce for accessibility when resetting the
password field, which results in announcing "Four characters replaced
with zero characters."

The fix is to only announce this message when the user needs to try
again.

Fixes bug 24331841

Change-Id: Icc9450d37b9338a39709f50666829d4a007b2b65

8 years agoMerge "Sysconfig define a whitelist of permitted backup transports" into nyc-dev
Chris Tate [Tue, 17 May 2016 00:56:48 +0000 (00:56 +0000)]
Merge "Sysconfig define a whitelist of permitted backup transports" into nyc-dev

8 years agoMerge "Fixed bugs with starting windows when displayng forcedResized activity" into...
TreeHugger Robot [Tue, 17 May 2016 00:51:40 +0000 (00:51 +0000)]
Merge "Fixed bugs with starting windows when displayng forcedResized activity" into nyc-dev

8 years agoandroid_media_MediaSync: Do not pass NULL to AString ctor.
Wei Jia [Tue, 17 May 2016 00:40:02 +0000 (17:40 -0700)]
android_media_MediaSync: Do not pass NULL to AString ctor.

Bug: 28643582
Change-Id: I75eaf61007adffdd7e3b07aebb37c12a8e71cf75

8 years agoMerge "Update configuration of all visible activities in a stack when resizing" into...
TreeHugger Robot [Tue, 17 May 2016 00:29:03 +0000 (00:29 +0000)]
Merge "Update configuration of all visible activities in a stack when resizing" into nyc-dev

8 years agoMerge "Allow Shell to change component enabled state" into nyc-dev
Amith Yamasani [Tue, 17 May 2016 00:27:54 +0000 (00:27 +0000)]
Merge "Allow Shell to change component enabled state" into nyc-dev

8 years agoMerge "Fix hw layer overdraw/update visualization" into nyc-dev
TreeHugger Robot [Mon, 16 May 2016 23:58:27 +0000 (23:58 +0000)]
Merge "Fix hw layer overdraw/update visualization" into nyc-dev

8 years agoFixed bugs with starting windows when displayng forcedResized activity
Wale Ogunwale [Fri, 13 May 2016 22:37:13 +0000 (15:37 -0700)]
Fixed bugs with starting windows when displayng forcedResized activity

- Added ActivityOption to mark a starting activity as a taskOverlay
activity. That is the activity will always be the top activity of the
task and doesn't cause the task to be moved to the front when it is added.
- Only set the starting window state of the ActivityRecord to shown if
window manager actually showed the starting window for the activity.
Avoids incorrectly trying to remove starting window for an activity that
didn't show any.
- When starting additional activity in a task, transfer the starting
window from the top most activity with a starting window. It is possible
the top most window does have a starting window like in the case of the
forcedResized activity.
- Only ensure visiblity of an activity we are starting in a task whose top
activity is a task overlay. They need to start in the visible-paused state
and not the resumed state which just causes extra churn in the system.
- Always add additional starting activities in a task with an overlay
activity below the overlay activity.

Bug: 28751186
Change-Id: I3624a4313ae9c406d42c67a3537f67ad685791af