OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge changes Ie43bcbcd,Ia9901a83 into nyc-mr1-dev
Android Build Merger (Role) [Wed, 27 Jul 2016 23:57:30 +0000 (23:57 +0000)]
Merge changes Ie43bcbcd,Ia9901a83 into nyc-mr1-dev

* changes:
  Merge \"docs: Removing N Preview AfW doc, and setting up redirect\" into nyc-dev am: 15e72ce64b
  docs: Removing N Preview AfW doc, and setting up redirect am: 09f5a77754

7 years agoMerge changes Ibed11e8a,Ic6bf0c4b into nyc-mr1-dev
Android Build Merger (Role) [Wed, 27 Jul 2016 23:57:14 +0000 (23:57 +0000)]
Merge changes Ibed11e8a,Ic6bf0c4b into nyc-mr1-dev

* changes:
  Merge \"docs: Added Android N (API level 24) to the \"API levels\" table\" into nyc-dev am: ffe63a4ad8
  docs: Added Android N (API level 24) to the \"API levels\" table am: 563c4f1adb

7 years agoMerge \"docs: Removing N Preview AfW doc, and setting up redirect\" into nyc-dev
Andrew Solovay [Wed, 27 Jul 2016 23:55:57 +0000 (23:55 +0000)]
Merge \"docs: Removing N Preview AfW doc, and setting up redirect\" into nyc-dev
am: 15e72ce64b

Change-Id: Ie43bcbcd113dfd3b515ca3868bd238a0913da33e

7 years agodocs: Removing N Preview AfW doc, and setting up redirect
Andrew Solovay [Wed, 27 Jul 2016 23:55:55 +0000 (23:55 +0000)]
docs: Removing N Preview AfW doc, and setting up redirect
am: 09f5a77754

Change-Id: Ia9901a83f100c182334897cd3848e14d983d9e70

7 years agoMerge \"docs: Added Android N (API level 24) to the \"API levels\" table\" into nyc-dev
Andrew Solovay [Wed, 27 Jul 2016 23:55:50 +0000 (23:55 +0000)]
Merge \"docs: Added Android N (API level 24) to the \"API levels\" table\" into nyc-dev
am: ffe63a4ad8

Change-Id: Ibed11e8aca31d9556149f5b4d0ff793d8810888e

7 years agoMerge "Turn off simplePath optimization then Path object is used as out param" into...
Sergei Vasilinetc [Wed, 27 Jul 2016 23:55:46 +0000 (23:55 +0000)]
Merge "Turn off simplePath optimization then Path object is used as out param" into nyc-mr1-dev

7 years agodocs: Added Android N (API level 24) to the \"API levels\" table
Andrew Solovay [Wed, 27 Jul 2016 23:55:46 +0000 (23:55 +0000)]
docs: Added Android N (API level 24) to the \"API levels\" table
am: 563c4f1adb

Change-Id: Ic6bf0c4b0da08f5cce19afc27a2e729d71f2e990

7 years agoMerge "Keyguard: Reapply insets when fitsSystemWindow changes" into nyc-mr1-dev
TreeHugger Robot [Wed, 27 Jul 2016 23:42:58 +0000 (23:42 +0000)]
Merge "Keyguard: Reapply insets when fitsSystemWindow changes" into nyc-mr1-dev

7 years agoMerge "Polish around locked user communication." into nyc-mr1-dev
TreeHugger Robot [Wed, 27 Jul 2016 23:34:31 +0000 (23:34 +0000)]
Merge "Polish around locked user communication." into nyc-mr1-dev

7 years agoMerge "Allow restarting foreground services once" into nyc-mr1-dev
TreeHugger Robot [Wed, 27 Jul 2016 23:08:21 +0000 (23:08 +0000)]
Merge "Allow restarting foreground services once" into nyc-mr1-dev

7 years agoMerge "Docs: Migrating platform docs to /guide/platform/ with new landing page am...
Android Build Merger (Role) [Wed, 27 Jul 2016 23:00:31 +0000 (23:00 +0000)]
Merge "Docs: Migrating platform docs to /guide/platform/ with new landing page am: cf150dd245" into nyc-mr1-dev

7 years agoDocs: Migrating platform docs to /guide/platform/ with new landing page
Adarsh Fernando [Wed, 27 Jul 2016 23:00:10 +0000 (23:00 +0000)]
Docs: Migrating platform docs to /guide/platform/ with new landing page
am: cf150dd245

Change-Id: Id17f0ad8a35a76f44dde3bd99cbfa5587d53367d

7 years agoMerge "Register isolated UIDs before reporting process state" into nyc-mr1-dev
Adam Lesinski [Wed, 27 Jul 2016 22:59:55 +0000 (22:59 +0000)]
Merge "Register isolated UIDs before reporting process state" into nyc-mr1-dev

7 years agoMerge "docs: Removing N Preview AfW doc, and setting up redirect" into nyc-dev
Andrew Solovay [Wed, 27 Jul 2016 22:50:35 +0000 (22:50 +0000)]
Merge "docs: Removing N Preview AfW doc, and setting up redirect" into nyc-dev

7 years agoMerge "docs: Added Android N (API level 24) to the "API levels" table" into nyc-dev
Andrew Solovay [Wed, 27 Jul 2016 22:47:58 +0000 (22:47 +0000)]
Merge "docs: Added Android N (API level 24) to the "API levels" table" into nyc-dev

7 years agodocs: Migrating multilingual-support to permanent home.
Eric Schmidt [Wed, 27 Jul 2016 22:44:26 +0000 (22:44 +0000)]
docs: Migrating multilingual-support to permanent home.
am: 32e428e78e

Change-Id: I2c370a03e9c5ff8e345a6dabb01c17ccbef8f148

7 years agoDocs: Migrating platform docs to /guide/platform/ with new landing page
Adarsh Fernando [Wed, 29 Jun 2016 02:32:43 +0000 (19:32 -0700)]
Docs: Migrating platform docs to /guide/platform/ with new landing page

Bug:29575457
Change-Id: I6d576e9dd28132fcf7e6e017187f30702066c2af

7 years agoMerge "Increase UI and RenderThread priority when not using FIFO." into nyc-mr1-dev
Tim Murray [Wed, 27 Jul 2016 22:30:45 +0000 (22:30 +0000)]
Merge "Increase UI and RenderThread priority when not using FIFO." into nyc-mr1-dev

7 years agodocs: Migrating icu4j-framework to permanent home
Eric Schmidt [Wed, 27 Jul 2016 22:29:16 +0000 (22:29 +0000)]
docs: Migrating icu4j-framework to permanent home
am: 10da34380a

Change-Id: Icb91967c5e26e71fd7093f3ec0144fc95483588a

7 years agoKeyguard: Reapply insets when fitsSystemWindow changes
Adrian Roos [Wed, 27 Jul 2016 22:12:40 +0000 (15:12 -0700)]
Keyguard: Reapply insets when fitsSystemWindow changes

Fixes a race in setting up the bouncer. Previously, if the bouncer was
set up before fitting system windows changed to keyguard mode, the bouncer
would not get the insets because they were eaten by the status bar view.

Change-Id: I326081604c59d0a7d57257f4c16bba54edd8d6c0
Fixes: 30401184

7 years agodocs: Migrating multilingual-support to permanent home.
Eric Schmidt [Fri, 22 Jul 2016 17:34:54 +0000 (10:34 -0700)]
docs: Migrating multilingual-support to permanent home.

Bug: 30224032
Change-Id: I14ddb924bdf6c17719520b7883ab601281c548c2

7 years agoIncrease UI and RenderThread priority when not using FIFO.
Tim Murray [Wed, 27 Jul 2016 22:07:00 +0000 (15:07 -0700)]
Increase UI and RenderThread priority when not using FIFO.

bug 30441279

Change-Id: I5714179236af59ce79dbe118c7870d5f1771168a

7 years agoPolish around locked user communication.
Jeff Sharkey [Wed, 27 Jul 2016 21:51:31 +0000 (15:51 -0600)]
Polish around locked user communication.

Based on user feedback, using a notification to communicate that a
user was locked was confusing.  Instead, this CL moves to showing a
message in the keyguard indicator slot at the bottom of the screen,
which is where we communicate other information such as charging
status.

Since a locked user is a very limiting experience, this new message
takes precedence over any other indicator message.

Bug: 28942360
Change-Id: I708d2b4b41079d09d46c17365c750488204e3090

7 years agodocs: Migrate notification-update to notifications docs
Eric Schmidt [Wed, 27 Jul 2016 21:45:57 +0000 (21:45 +0000)]
docs: Migrate notification-update to notifications docs
am: bcce78731d

Change-Id: I06e2f79711578e799581c8a71522f7b62766061e

7 years agodocs: Migrating icu4j-framework to permanent home
Eric Schmidt [Wed, 20 Jul 2016 18:47:33 +0000 (11:47 -0700)]
docs: Migrating icu4j-framework to permanent home

Bug: 30224272
Change-Id: I2d52a686f813d7299918abeb66be0a479ed49b70

7 years agoMerge "Ignore padding for drawing round scrollbars." into nyc-mr1-dev
Agnieszka Madurska [Wed, 27 Jul 2016 21:36:53 +0000 (21:36 +0000)]
Merge "Ignore padding for drawing round scrollbars." into nyc-mr1-dev

7 years agoMerge "Correctly finish activity in non-focused stack" into nyc-mr1-dev
Andrii Kulian [Wed, 27 Jul 2016 21:30:48 +0000 (21:30 +0000)]
Merge "Correctly finish activity in non-focused stack" into nyc-mr1-dev

7 years agoMerge "Don't delay child pressed state in freeform mode" into nyc-mr1-dev
Andrii Kulian [Wed, 27 Jul 2016 21:29:45 +0000 (21:29 +0000)]
Merge "Don't delay child pressed state in freeform mode" into nyc-mr1-dev

7 years agoIgnore padding for drawing round scrollbars.
Aga Madurska [Wed, 27 Jul 2016 12:40:23 +0000 (13:40 +0100)]
Ignore padding for drawing round scrollbars.

This change is needed to correctly cope eg. with list views
which introduce header and footer view through additional
list view padding.

See ag/1221005 for details.

Bug:30420573
Change-Id: I7c9c0ce2b5ba85429b7921c42e4f97e139814e17

7 years agodocs: Migrate notification-update to notifications docs
Eric Schmidt [Sun, 24 Jul 2016 19:24:23 +0000 (12:24 -0700)]
docs: Migrate notification-update to notifications docs

Bug: 30224465
Change-Id: I43ded785db6c69d493965f50f798262595b2d026

7 years agoMerge "Cleanup mAnimatingExit flag before maybeUpdateTransitToWallpaper()" into nyc...
Chong Zhang [Wed, 27 Jul 2016 21:18:08 +0000 (21:18 +0000)]
Merge "Cleanup mAnimatingExit flag before maybeUpdateTransitToWallpaper()" into nyc-mr1-dev

7 years agoMerge "Avoid potential re-entry as a result of child mutation" into nyc-mr1-dev
TreeHugger Robot [Wed, 27 Jul 2016 21:17:53 +0000 (21:17 +0000)]
Merge "Avoid potential re-entry as a result of child mutation" into nyc-mr1-dev

7 years agoMerge "HIC: Base on elapsed time instead of RTC" into nyc-mr1-dev
Adrian Roos [Wed, 27 Jul 2016 21:16:11 +0000 (21:16 +0000)]
Merge "HIC: Base on elapsed time instead of RTC" into nyc-mr1-dev

7 years agoMerge "Run animation *after* property sync" into nyc-mr1-dev
Doris Liu [Wed, 27 Jul 2016 21:14:11 +0000 (21:14 +0000)]
Merge "Run animation *after* property sync" into nyc-mr1-dev

7 years agoTurn off simplePath optimization then Path object is used as out param
sergeyv [Wed, 27 Jul 2016 21:13:34 +0000 (14:13 -0700)]
Turn off simplePath optimization then Path object is used as out param

Change-Id: I4d9ae5c756b2ed1ba30483e8685ce1ad6c1f0c03
fixes:30349106

7 years agoMerge "Allow system home app to show when filtering app list." into nyc-mr1-dev
TreeHugger Robot [Wed, 27 Jul 2016 21:07:02 +0000 (21:07 +0000)]
Merge "Allow system home app to show when filtering app list." into nyc-mr1-dev

7 years agoMerge "Only restore saved surfaces in the last visible rotation." into nyc-mr1-dev
Rob Carr [Wed, 27 Jul 2016 20:56:21 +0000 (20:56 +0000)]
Merge "Only restore saved surfaces in the last visible rotation." into nyc-mr1-dev

7 years agoMerge "Prevent shortcut access when user is locked" into nyc-mr1-dev
TreeHugger Robot [Wed, 27 Jul 2016 20:55:15 +0000 (20:55 +0000)]
Merge "Prevent shortcut access when user is locked" into nyc-mr1-dev

7 years agoMerge "framework: SystemUI: add tracing to Keyguard" into nyc-mr1-dev
Nick Desaulniers [Wed, 27 Jul 2016 20:26:56 +0000 (20:26 +0000)]
Merge "framework: SystemUI: add tracing to Keyguard" into nyc-mr1-dev

7 years agodocs: Migrating Scoped Dir Access preview docs into DAC
Daniel Yu [Wed, 27 Jul 2016 20:20:04 +0000 (20:20 +0000)]
docs: Migrating Scoped Dir Access preview docs into DAC
am: 8a481eaf20

Change-Id: I96791216ffd27ca33d817f6f25e19cb9bde18549

7 years agodocs: Migrating Direct Boot preview docs into DAC
Daniel Yu [Wed, 27 Jul 2016 20:19:59 +0000 (20:19 +0000)]
docs: Migrating Direct Boot preview docs into DAC
am: bb0f35306e

Change-Id: Ifa70f6f364aae3aa86c4fbe11df7a9c03122d38f

7 years agodocs: Migrating TV Recording APIs preview docs into DAC
Daniel Yu [Wed, 27 Jul 2016 20:12:18 +0000 (20:12 +0000)]
docs: Migrating TV Recording APIs preview docs into DAC
am: 4900647321

Change-Id: I33c5847641de5fd628c584e2b5ef0fd6a03643f0

7 years agoMerge \"docs: Migrating PIP preview docs into regular DAC docs\" into nyc-dev
Daniel Yu [Wed, 27 Jul 2016 20:12:14 +0000 (20:12 +0000)]
Merge \"docs: Migrating PIP preview docs into regular DAC docs\" into nyc-dev
am: 020726fac7

Change-Id: If7eae1318309f76bdb4f71b63430ff6a7562269e

7 years agodocs: Migrating PIP preview docs into regular DAC docs
Daniel Yu [Wed, 27 Jul 2016 20:12:10 +0000 (20:12 +0000)]
docs: Migrating PIP preview docs into regular DAC docs
am: e0fa75cfa7

Change-Id: Ic8b9bbc6f5755b6f80f7f70d5a99b23f1a334073

7 years agodocs: Migrating Scoped Dir Access preview docs into DAC
Daniel Yu [Fri, 22 Jul 2016 22:50:58 +0000 (15:50 -0700)]
docs: Migrating Scoped Dir Access preview docs into DAC

For Android N release, migrating and updating Scoped Directory Access
docs into regular DAC docs. Updated TOC and added redirect.
Removed preview/features doc. Updated and moved images.

Bug: 30257320
Change-Id: I3440fe1b74947cbfbd1ada6f5d6bee5e49847927

7 years agodocs: Migrating Direct Boot preview docs into DAC
Daniel Yu [Fri, 22 Jul 2016 00:43:35 +0000 (17:43 -0700)]
docs: Migrating Direct Boot preview docs into DAC

For Android N release, migrating and updating Direct Boot
docs into regular DAC docs. Updated TOC and added redirect.
Removed preview/features doc.

Bug: 30256895
Change-Id: I5c6d457dc69c911199f86f0e0ed93ec7d6244779

7 years agoMerge \\"Docs: Used NotificationCompat.MediaStyle\\" into nyc-docs am: b2baf25d34
Hemal Patel [Wed, 27 Jul 2016 19:52:25 +0000 (19:52 +0000)]
Merge \\"Docs: Used NotificationCompat.MediaStyle\\" into nyc-docs am: b2baf25d34
am: b36153a8a1

Change-Id: I4cff611f1a7f10e18b94a27df5164862bb3c60ae

7 years agoDocs: Used NotificationCompat.MediaStyle am: d3c609cbc1
Hemal Patel [Wed, 27 Jul 2016 19:52:23 +0000 (19:52 +0000)]
Docs: Used NotificationCompat.MediaStyle am: d3c609cbc1
am: bae260d909

Change-Id: Icff03d57f9efe571671f77bc2ba3f47a1ebd2e75

7 years agoRegister isolated UIDs before reporting process state
Adam Lesinski [Wed, 27 Jul 2016 19:25:00 +0000 (12:25 -0700)]
Register isolated UIDs before reporting process state

Isolated UIDs should be registered with a real app UID
before any process state changes are reported for them.

Bug:25195548
Change-Id: Id0d3a5373ca57d3725315b2d99e5f8e5286022c8

7 years agodocs: Migrating TV Recording APIs preview docs into DAC
Daniel Yu [Thu, 21 Jul 2016 20:45:31 +0000 (13:45 -0700)]
docs: Migrating TV Recording APIs preview docs into DAC

For Android N release, migrating and updating TV Recording
API preview docs into regular DAC TV (TIF) docs. Updating
training TOC and adding redirect. Removing preview/features doc.

Bug: 30224466
Change-Id: Ia92f27467ccaa1d36dc69c5bd3c784509f267791

7 years agoMerge "docs: Migrating PIP preview docs into regular DAC docs" into nyc-dev
Dan Yu [Wed, 27 Jul 2016 19:29:40 +0000 (19:29 +0000)]
Merge "docs: Migrating PIP preview docs into regular DAC docs" into nyc-dev

7 years agoAllow restarting foreground services once
Adrian Roos [Wed, 27 Jul 2016 19:25:54 +0000 (12:25 -0700)]
Allow restarting foreground services once

If a process is important to the user, even if it is not
hosting an activity, we'll allow it to be restarted once

Change-Id: I3e2997d1ebe87514e8ce71f81698241234487ed8
Fixes: 30250003

7 years agoMerge \"Docs: Used NotificationCompat.MediaStyle\" into nyc-docs
Hemal Patel [Wed, 27 Jul 2016 19:26:10 +0000 (19:26 +0000)]
Merge \"Docs: Used NotificationCompat.MediaStyle\" into nyc-docs
am: b2baf25d34

Change-Id: Iff64c50170add9331ad840b3a2c60170947922d6

7 years agoDocs: Used NotificationCompat.MediaStyle
Hemal Patel [Wed, 27 Jul 2016 19:26:05 +0000 (19:26 +0000)]
Docs: Used NotificationCompat.MediaStyle
am: d3c609cbc1

Change-Id: Ia297b36f995caa5b552722d475461ec1be321136

7 years agoMerge "Docs: Used NotificationCompat.MediaStyle" into nyc-docs
Hemal Patel [Wed, 27 Jul 2016 19:13:52 +0000 (19:13 +0000)]
Merge "Docs: Used NotificationCompat.MediaStyle" into nyc-docs

7 years agoCleanup mAnimatingExit flag before maybeUpdateTransitToWallpaper()
Chong Zhang [Wed, 27 Jul 2016 00:47:29 +0000 (17:47 -0700)]
Cleanup mAnimatingExit flag before maybeUpdateTransitToWallpaper()

If we get onStopped before next resume, but previous exit animation
doesn't finish by the time the entering animation is started,
notifyAppResumed() won't do a surface cleanup (since it's already
stopped). Then maybeUpdateTransitToWallpaper() will think the wallpaper
target (launcher) is invisible because of the mAnimatingExit==true,
thus fails to pick WALLPAPER_OPEN animation.

We need to clear mAnimatingExit and relevant flags before
maybeUpdateTransitToWallpaper(). Currently we do it in handleOpeningApps
but that's too late.

bug: 30255354
Change-Id: Idb049c54978824709a190c413d82d42f40226aa7

7 years agoPrevent shortcut access when user is locked
Makoto Onuki [Tue, 26 Jul 2016 22:50:50 +0000 (15:50 -0700)]
Prevent shortcut access when user is locked

Also add some test utility methods that'll be used by CTS.

Bug 30406401

Change-Id: I9396acebbdb3cbe64f6e85877ee62a2131cd6e61

7 years agoMerge "Add short string methods for capabilities and properties." into nyc-mr1-dev
Santos Cordon [Wed, 27 Jul 2016 18:40:13 +0000 (18:40 +0000)]
Merge "Add short string methods for capabilities and properties." into nyc-mr1-dev

7 years agoMerge "ViewRootImpl: Initialize sysui visibility" into nyc-mr1-dev
Adrian Roos [Wed, 27 Jul 2016 18:39:15 +0000 (18:39 +0000)]
Merge "ViewRootImpl: Initialize sysui visibility" into nyc-mr1-dev

7 years agoOnly restore saved surfaces in the last visible rotation.
Robert Carr [Tue, 26 Jul 2016 17:39:45 +0000 (10:39 -0700)]
Only restore saved surfaces in the last visible rotation.

Sometimes we see a sequence like this when transitioning
between apps causes rotation changes.

1. New app becomes visible, causing the orientation to change
2. Old app gets marked as invisible, at this point its window
   are still visible from client, so surface is marked as eligible
   to be saved.
3. Old app calls relayout to invisible, we save surface.

Now if we restore the Surface it will be in the wrong orientation. It
never had a visible layout in the new one, it was just covered up
by the screenshot. To address this we track the rotation a window was
last visibily laid out in. If it doesn't match our current
rotation we can't use the saved surface.

Bug: 30171992
Change-Id: If814131810b6d01c5112afd145072a13a30b0401

7 years agodocs: Migrating PIP preview docs into regular DAC docs
Daniel Yu [Tue, 19 Jul 2016 20:45:38 +0000 (13:45 -0700)]
docs: Migrating PIP preview docs into regular DAC docs

For Android N release, migrating and updating PIP preview docs
into regular DAC TV docs. Updating TOCs and redirects as well.

Bug: 26487936
Change-Id: I00a57cc0bfff6929cdba56ce00a6a5e9a292e345

7 years agoMerge "Add support for carrier "associated" apps." into nyc-mr1-dev
Jeff Davidson [Wed, 27 Jul 2016 17:57:38 +0000 (17:57 +0000)]
Merge "Add support for carrier "associated" apps." into nyc-mr1-dev

7 years agoMerge "Revert "Handle USB power role 'sink'"" into nyc-mr1-dev
TreeHugger Robot [Wed, 27 Jul 2016 17:51:51 +0000 (17:51 +0000)]
Merge "Revert "Handle USB power role 'sink'"" into nyc-mr1-dev

7 years agoframework: SystemUI: add tracing to Keyguard
Nick Desaulniers [Mon, 25 Jul 2016 22:05:33 +0000 (15:05 -0700)]
framework: SystemUI: add tracing to Keyguard

Helps trace the phone unlock path.

Bug: 29693568
Bug: 30279403
Change-Id: I290864f525e3d08f1efc6b9fc603172a5d139ea0

7 years agoMerge "Reject fully transparent paint-fill ops at record time" into nyc-mr1-dev
Chris Craik [Wed, 27 Jul 2016 16:37:36 +0000 (16:37 +0000)]
Merge "Reject fully transparent paint-fill ops at record time" into nyc-mr1-dev

7 years agoRevert "Handle USB power role 'sink'"
Philip P. Moltmann [Wed, 27 Jul 2016 16:32:59 +0000 (16:32 +0000)]
Revert "Handle USB power role 'sink'"

This patch treats AC wall chargers like phones supplying power. We only want to show the notification when connected to another phone, not to a AC wall charger.

Bug: 30418683
This reverts commit 01355161536787a55190ff3d2595fbf6c8056fe3.

Change-Id: I304c3f78916896ddb12129b11a0e691b3ef77819

7 years agoMerge \"Docs: Clarified certain restrictions to whitelisted apps\" into nyc-dev
Adarsh Fernando [Wed, 27 Jul 2016 16:01:58 +0000 (16:01 +0000)]
Merge \"Docs: Clarified certain restrictions to whitelisted apps\" into nyc-dev
am: ec694b4e27

Change-Id: Ice70fef4a0e91c043e404dc35924e3016699429b

7 years agoDocs: Clarified certain restrictions to whitelisted apps
Adarsh Fernando [Wed, 27 Jul 2016 16:01:55 +0000 (16:01 +0000)]
Docs: Clarified certain restrictions to whitelisted apps
am: 33aae3167d

Change-Id: I3e68b293937ad5b624cc1a67bfd940399d11b12c

7 years agoMerge "Docs: Clarified certain restrictions to whitelisted apps" into nyc-dev
Adarsh Fernando [Wed, 27 Jul 2016 15:49:50 +0000 (15:49 +0000)]
Merge "Docs: Clarified certain restrictions to whitelisted apps" into nyc-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 27 Jul 2016 15:05:29 +0000 (15:05 +0000)]
Import translations. DO NOT MERGE
am: cdd4f84e06  -s ours

Change-Id: I4270dc2513e473cef596058338c103b6e5ecaf1b

7 years agoAvoid potential re-entry as a result of child mutation
Alan Viverette [Wed, 27 Jul 2016 14:23:35 +0000 (10:23 -0400)]
Avoid potential re-entry as a result of child mutation

Don't set the callback until we're all done making changes.

Bug: 30409766
Change-Id: Ia1560692a83ecb2c50f5e77fa4d1e8155a78a204

7 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 27 Jul 2016 13:34:57 +0000 (06:34 -0700)]
Import translations. DO NOT MERGE

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

7 years agoMerge "Actually compare supported color modes." into nyc-mr1-dev
Michael Wright [Wed, 27 Jul 2016 13:14:03 +0000 (13:14 +0000)]
Merge "Actually compare supported color modes." into nyc-mr1-dev

7 years agoDon't delay child pressed state in freeform mode
Andrii Kulian [Wed, 27 Jul 2016 01:42:46 +0000 (18:42 -0700)]
Don't delay child pressed state in freeform mode

DecorCaptionView is used in app view hierarchy in freeform mode
and it inherits default ViewGroup#shouldDelayChildPressedState
implementation, which returns true by default for compatibility
reasons.
This results in touch not delivered to child views in some cases
until there is movement or up action. E.g. touch on SeekBar will
not change the position of control instantly in freeform, while
it does in other modes.
This CL disables delaying child pressed state for DecorCaptionView.

Bug: 30037893
Change-Id: I4917143610b6c0d404d2395670de9525c10f2a6c

7 years agoMerge "Pre-grant calendar permission to default email app" into nyc-mr1-dev
Svetoslav Ganov [Wed, 27 Jul 2016 01:17:41 +0000 (01:17 +0000)]
Merge "Pre-grant calendar permission to default email app" into nyc-mr1-dev

7 years agodocs: updates to Buildilng Your First App doc am: ae47d9d4fe
Mark Lu [Wed, 27 Jul 2016 01:09:27 +0000 (01:09 +0000)]
docs: updates to Buildilng Your First App doc am: ae47d9d4fe
am: 3977f8351a

Change-Id: I500638ffdf29106ddd65bff3425536ce1cdb0c50

7 years agoAdd short string methods for capabilities and properties.
Santos Cordon [Tue, 26 Jul 2016 23:08:53 +0000 (16:08 -0700)]
Add short string methods for capabilities and properties.

Bug: 30411195
Change-Id: I3aa81da23b75986fab8570b8b36e56a36a660045

7 years agoPre-grant calendar permission to default email app
Svetoslav Ganov [Tue, 26 Jul 2016 01:27:41 +0000 (18:27 -0700)]
Pre-grant calendar permission to default email app

bug:30277932

Change-Id: I3c80e01ce720a7e7bf54cac82dc0ca0da152998d

7 years agodocs: updates to Buildilng Your First App doc
Mark Lu [Wed, 27 Jul 2016 00:40:03 +0000 (00:40 +0000)]
docs: updates to Buildilng Your First App doc
am: ae47d9d4fe

Change-Id: I7b3665dc0f304dcae06939a56c2423d9b269420c

7 years agodocs: updates to Buildilng Your First App doc
Mark Lu [Fri, 15 Jul 2016 20:36:55 +0000 (13:36 -0700)]
docs: updates to Buildilng Your First App doc

This commit includes the following updates:
- replaces Basic activity with Empty activity
- uses default values wherever possible
- removes instructions for floating button
- removes SDK instructions. Users must use Android Studio
- updates the SDK version to API 15
- combines some instructions that were too text heavy

Bug: 29766869
Bug: 29768686
Bug: 19154557

Change-Id: Id819cb2dde74b68b5145dfefe7a8502892bb377a
(cherry picked from commit 08d1bff71f19e5567b8f545314fd84701e9b2cec)

7 years agoMerge "Check for target SDK version for out-of-order fragment creation." into nyc...
Adam Powell [Tue, 26 Jul 2016 23:24:57 +0000 (23:24 +0000)]
Merge "Check for target SDK version for out-of-order fragment creation." into nyc-mr1-dev

7 years agoReject fully transparent paint-fill ops at record time
Chris Craik [Tue, 26 Jul 2016 23:22:50 +0000 (16:22 -0700)]
Reject fully transparent paint-fill ops at record time

bug:30342762

Avoids unnecessary work for each transparent operation.

Change-Id: I80b1eeca34ae32249433fde55e9fe93d02c411db

7 years agoDocs: Used NotificationCompat.MediaStyle
Hemal Patel [Fri, 22 Jul 2016 22:50:48 +0000 (15:50 -0700)]
Docs: Used NotificationCompat.MediaStyle

In the Controlling Media section, updated the overview and sample code to
reference NotificationCompat.MediaStyle. Removed the note about the
pre-requisite to have Android 5.0 and higher.

Bug: 22505224
Change-Id: Id9a647ca8eec7f1b763227ee4fd1f18dee4bcb6f

7 years agoMerge "Fix wallpaper restore from pre-N devices" into nyc-mr1-dev
Chris Tate [Tue, 26 Jul 2016 23:05:28 +0000 (23:05 +0000)]
Merge "Fix wallpaper restore from pre-N devices" into nyc-mr1-dev

7 years agoMerge "Persist configuration for the calling or current user" into nyc-mr1-dev
Amith Yamasani [Tue, 26 Jul 2016 22:48:13 +0000 (22:48 +0000)]
Merge "Persist configuration for the calling or current user" into nyc-mr1-dev

7 years agoMerge "Never show transient navigation bar when empty" into nyc-mr1-dev
Adrian Roos [Tue, 26 Jul 2016 22:41:54 +0000 (22:41 +0000)]
Merge "Never show transient navigation bar when empty" into nyc-mr1-dev

7 years agoMerge "Change AudioRecordingConfiguration constructor parameter order" into nyc-mr1-dev
Jean-Michel Trivi [Tue, 26 Jul 2016 22:24:43 +0000 (22:24 +0000)]
Merge "Change AudioRecordingConfiguration constructor parameter order" into nyc-mr1-dev

7 years agoMerge "DO NOT MERGE: Change the order of 2 statements to remove race." into nyc-mr1-dev
TreeHugger Robot [Tue, 26 Jul 2016 22:01:43 +0000 (22:01 +0000)]
Merge "DO NOT MERGE: Change the order of 2 statements to remove race." into nyc-mr1-dev

7 years agoCheck for target SDK version for out-of-order fragment creation.
George Mount [Fri, 22 Jul 2016 22:25:27 +0000 (15:25 -0700)]
Check for target SDK version for out-of-order fragment creation.

Bug 30230667

Ensure that pre-N applications initialize in the proper order,
but allow N and above applications to be created prior to
asking for a Transition.

Change-Id: I859f22a7c5518e4b496cbd7ee58ef1d3206a5c86
(cherry picked from commit 78d38fc8390b9d648f88687efb333e054146865d)

7 years agoAdd support for carrier "associated" apps.
Jeff Davidson [Thu, 21 Jul 2016 19:35:10 +0000 (12:35 -0700)]
Add support for carrier "associated" apps.

The platform currently supports the notion of default carrier apps.
These apps are set to DISABLED_UNTIL_USED until a SIM is inserted
which grants them carrier privileges, at which point they are enabled.
Apps are not touched if they have been updated from the version on
/system or if their state has been modified externally (e.g. by the
user).

This CL extends this notion to associated apps, which may not have
carrier privileges themselves, but should be enabled/disabled
alongside a particular carrier app. This should include helper apps
that should not be visible to users who don't use the given carrier
unless the user explicitly enables the app.

As additional protection, we add a check to ensure that we never
disable apps after the first time we've run. Since we need to store
this information in secure settings, we also move the call site from
PackageManagerService#main() to PackageManagerService#systemReady(),
which enables use of secure settings but still occurs before
third-party apps can be started.

Bug: 30141427
Change-Id: Iee72ba4e70e5ca97999c9147a65af82c670a23e8

7 years agoMerge "Polish up PRE_BOOT notification." into nyc-mr1-dev
Jeff Sharkey [Tue, 26 Jul 2016 21:52:04 +0000 (21:52 +0000)]
Merge "Polish up PRE_BOOT notification." into nyc-mr1-dev

7 years agoViewRootImpl: Initialize sysui visibility
Adrian Roos [Tue, 26 Jul 2016 21:27:34 +0000 (14:27 -0700)]
ViewRootImpl: Initialize sysui visibility

Fixes a bug where the sysui visibility flags
were not dispatched when they changed if the
visibility changes the first time to a zero
value.

Change-Id: I4d6c990ca493b144f24c75e95b4ff18c4c0a029c
Fixes: 30259249

7 years agoAllow system home app to show when filtering app list.
Fan Zhang [Tue, 26 Jul 2016 20:59:03 +0000 (13:59 -0700)]
Allow system home app to show when filtering app list.

Bug: 28796031

Sometimes system app can handle CATEGORY_HOME but it doesn't have a
launcher icon in launcher itself. We should allow it to show in default
app list so user can take action on such app.

Change-Id: Ie85b8f2519be4ccb41b1bb831f4d7cf2531e466f

7 years agoChange AudioRecordingConfiguration constructor parameter order
Jean-Michel Trivi [Tue, 26 Jul 2016 18:19:18 +0000 (11:19 -0700)]
Change AudioRecordingConfiguration constructor parameter order

Switch the device and client AudioFormat parameters in the
  AudioRecordingConfiguration constructor, so it's the same
  order as the rest of the code involved in sending a callback
  when the recording configuration changes.

Bug 30282058

Change-Id: Iea417f02dcb644e3d4dacbc0e44ea4b2eac28840

7 years agoMerge "Add titles to PreferenceFragments and PreferenceScreens for watches." into...
Michael Kwan [Tue, 26 Jul 2016 20:58:46 +0000 (20:58 +0000)]
Merge "Add titles to PreferenceFragments and PreferenceScreens for watches." into nyc-mr1-dev

7 years agoMerge "Fix Switch in SwitchPreference on watch" into nyc-mr1-dev
Fei Wu [Tue, 26 Jul 2016 20:54:28 +0000 (20:54 +0000)]
Merge "Fix Switch in SwitchPreference on watch" into nyc-mr1-dev

7 years agoMerge "Update ShortcutManager javadoc" into nyc-mr1-dev
Makoto Onuki [Tue, 26 Jul 2016 20:40:03 +0000 (20:40 +0000)]
Merge "Update ShortcutManager javadoc" into nyc-mr1-dev

7 years agoMerge "Ignore stopped/deleted users when filling cache." into nyc-mr1-dev
Jeff Sharkey [Tue, 26 Jul 2016 19:36:37 +0000 (19:36 +0000)]
Merge "Ignore stopped/deleted users when filling cache." into nyc-mr1-dev

7 years agoDocs: Clarified certain restrictions to whitelisted apps
Adarsh Fernando [Tue, 26 Jul 2016 19:27:37 +0000 (12:27 -0700)]
Docs: Clarified certain restrictions to whitelisted apps

Bug:30133512
Change-Id: I4494f85090b384831bc2534cbc813f28a62a29cf

7 years agodocs: Migrated \"Network Security Configuration\" page on DAC (N OTA).
Kevin Hufnagle [Tue, 26 Jul 2016 19:04:18 +0000 (19:04 +0000)]
docs: Migrated \"Network Security Configuration\" page on DAC (N OTA).
am: 78747a1164

Change-Id: I095a1e37838e325f7b10146cde3efb271a315ed2