OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Don't drop IPv4 broadcast packets when WiFi multicast lock is held" into nyc-dev
TreeHugger Robot [Fri, 27 May 2016 14:58:47 +0000 (14:58 +0000)]
Merge "Don't drop IPv4 broadcast packets when WiFi multicast lock is held" into nyc-dev

8 years agoDon't drop IPv4 broadcast packets when WiFi multicast lock is held
Paul Jensen [Thu, 26 May 2016 13:16:11 +0000 (09:16 -0400)]
Don't drop IPv4 broadcast packets when WiFi multicast lock is held

IPv4 broadcast packets can be very common (e.g. every 2s) so they
need to be dropped in the general case.  They also may be critical
for certain discovery protocols, so allow them through with APF
when the WiFi multicast lock is held.

Bug: 26238573
Change-Id: I03e09a2b9c779da5da775e78b95e9e0339720eaf

8 years agoMerge "Restore DHCP client logging." into nyc-dev
TreeHugger Robot [Fri, 27 May 2016 09:53:48 +0000 (09:53 +0000)]
Merge "Restore DHCP client logging." into nyc-dev

8 years agoRestore DHCP client logging.
Lorenzo Colitti [Fri, 27 May 2016 04:59:57 +0000 (13:59 +0900)]
Restore DHCP client logging.

Bug: 28955598
Change-Id: I2e2684a787061612471830e4d840ce422091bafb

8 years agoMerge "Added android:tools specification on navigation and actions page." into mnc...
Sreevani Sreejith [Fri, 27 May 2016 03:47:33 +0000 (03:47 +0000)]
Merge "Added android:tools specification on navigation and actions page." into mnc-io-docs am: 4ca0c8052c
am: fe33c063a9

* commit 'fe33c063a9542722e067331907ba42b12dc130c3':
  Added android:tools specification on navigation and actions page.

Change-Id: Iaef5dee8c0af55ec1698c831f3f1ff93739d4def

8 years agoMerge "Added android:tools specification on navigation and actions page." into mnc...
sreevanis [Fri, 27 May 2016 03:43:12 +0000 (03:43 +0000)]
Merge "Added android:tools specification on navigation and actions page." into mnc-io-docs
am: 4ca0c8052c

* commit '4ca0c8052c950f9f8a654ed5c0a112765295f1fd':
  Added android:tools specification on navigation and actions page.

Change-Id: Ied53973a54a95d2590ed394ebcba0789017687da

8 years agoMerge "Added android:tools specification on navigation and actions page." into mnc...
Sreevani Sreejith [Fri, 27 May 2016 03:38:18 +0000 (03:38 +0000)]
Merge "Added android:tools specification on navigation and actions page." into mnc-io-docs

8 years agoMerge "Prevent setting the launch task id when docking." into nyc-dev
TreeHugger Robot [Fri, 27 May 2016 03:30:46 +0000 (03:30 +0000)]
Merge "Prevent setting the launch task id when docking." into nyc-dev

8 years agoMerge "Only make Recents activity invisible if not focused on TV devices." into nyc-dev
TreeHugger Robot [Fri, 27 May 2016 03:04:42 +0000 (03:04 +0000)]
Merge "Only make Recents activity invisible if not focused on TV devices." into nyc-dev

8 years agoMerge "Fix issue where max idle time > total idle time" into nyc-dev
Adam Lesinski [Fri, 27 May 2016 01:44:31 +0000 (01:44 +0000)]
Merge "Fix issue where max idle time > total idle time" into nyc-dev

8 years agoMerge "Fix spurious crashes in StatusBarIconView" into nyc-dev
Adrian Roos [Fri, 27 May 2016 01:04:14 +0000 (01:04 +0000)]
Merge "Fix spurious crashes in StatusBarIconView" into nyc-dev

8 years agoFix spurious crashes in StatusBarIconView
Adrian Roos [Fri, 27 May 2016 00:17:02 +0000 (17:17 -0700)]
Fix spurious crashes in StatusBarIconView

Fixes a crash that happens when we cannot look up a package's
resources for reasons.

Change-Id: I4884536a3eefa8fe82bd274925241f4c798e08e3
Fixes: 28982204

8 years agoMerge "Ellipsize Preference summaries" into nyc-dev
Roozbeh Pournader [Fri, 27 May 2016 00:11:13 +0000 (00:11 +0000)]
Merge "Ellipsize Preference summaries" into nyc-dev

8 years agoMerge "Protect against NPE while to updating service connection activities." into...
TreeHugger Robot [Fri, 27 May 2016 00:08:15 +0000 (00:08 +0000)]
Merge "Protect against NPE while to updating service connection activities." into nyc-dev

8 years agoMerge "Ensure surfaces only resize during relayout." into nyc-dev
Rob Carr [Thu, 26 May 2016 23:58:31 +0000 (23:58 +0000)]
Merge "Ensure surfaces only resize during relayout." into nyc-dev

8 years agoPrevent setting the launch task id when docking.
Winson [Thu, 26 May 2016 23:42:15 +0000 (16:42 -0700)]
Prevent setting the launch task id when docking.

- In this case, recents is the last running task instead of the
  previously fullscreen app (likely due to some preparation for the
  docking), and we should not set the task to launch/cancel window
  transitions for.

Bug: 28943422
Change-Id: I3c381d3fa33a69adb7d8b606633433a898841526

8 years agoMerge "Fix an assertion to avoid crash on deletions in Recent root." into nyc-dev
Garfield Tan [Thu, 26 May 2016 23:46:40 +0000 (23:46 +0000)]
Merge "Fix an assertion to avoid crash on deletions in Recent root." into nyc-dev

8 years agoMerge "Move VPN restriction check into setup dialog" into nyc-dev
Robin Lee [Thu, 26 May 2016 23:41:27 +0000 (23:41 +0000)]
Merge "Move VPN restriction check into setup dialog" into nyc-dev

8 years agoMerge "Handle trampoline activites in different tasks" into nyc-dev
Jorim Jaggi [Thu, 26 May 2016 23:38:08 +0000 (23:38 +0000)]
Merge "Handle trampoline activites in different tasks" into nyc-dev

8 years agoHandle trampoline activites in different tasks
Jorim Jaggi [Thu, 19 May 2016 17:20:28 +0000 (10:20 -0700)]
Handle trampoline activites in different tasks

When the app uses a trampoline activity that launches in a different
task than the main task, we fail to show recents when the task is
docked and the user launches the trampoline activity from home. Add
logic to handle this case.

Bug: 28368989
Change-Id: Iea29e6cd1a9919da0e856955691fac4792e30604

8 years agoMerge "Finalize resource IDs for N." into nyc-dev
Akshay Thakker [Thu, 26 May 2016 23:16:02 +0000 (23:16 +0000)]
Merge "Finalize resource IDs for N." into nyc-dev

8 years agoMerge "Merge "docs: Refinements for testing" into mnc-io-docs am: 9da0730d66 am:...
Android Build Merger (Role) [Thu, 26 May 2016 23:10:20 +0000 (23:10 +0000)]
Merge "Merge "docs: Refinements for testing" into mnc-io-docs am: 9da0730d66 am: feb0b87230" into nyc-dev

8 years agoMerge "Updated link to material design page. am: ff05383baf am: ee44b14cd4" into...
Android Build Merger (Role) [Thu, 26 May 2016 23:10:12 +0000 (23:10 +0000)]
Merge "Updated link to material design page. am: ff05383baf am: ee44b14cd4" into nyc-dev

8 years agoMerge "docs: Refinements for testing" into mnc-io-docs am: 9da0730d66
Bert McMeen [Thu, 26 May 2016 23:09:40 +0000 (23:09 +0000)]
Merge "docs: Refinements for testing" into mnc-io-docs am: 9da0730d66
am: feb0b87230

* commit 'feb0b87230c28b2303da217c07177f00b52e87d0':
  docs: Refinements for testing

Change-Id: Ieecec450459bcb175979a3ef3ddccb6161a598e2

8 years agoUpdated link to material design page. am: ff05383baf
sreevanis [Thu, 26 May 2016 23:09:34 +0000 (23:09 +0000)]
Updated link to material design page. am: ff05383baf
am: ee44b14cd4

* commit 'ee44b14cd44bf0576859bd0c9519ab0e61e063f8':
  Updated link to material design page.

Change-Id: Iaf4bc31d8541e75d3840e6c6f5aa5f667e0baf42

8 years agoMerge "Change overdraw test to use windowbackground" into nyc-dev
John Reck [Thu, 26 May 2016 23:07:52 +0000 (23:07 +0000)]
Merge "Change overdraw test to use windowbackground" into nyc-dev

8 years agoMerge "resolve merge conflicts of 7f7eec3 to nyc-dev" into nyc-dev
Kevin Hufnagle [Thu, 26 May 2016 23:06:42 +0000 (23:06 +0000)]
Merge "resolve merge conflicts of 7f7eec3 to nyc-dev" into nyc-dev

8 years agoFix an assertion to avoid crash on deletions in Recent root.
Garfield, Tan [Thu, 26 May 2016 22:58:00 +0000 (15:58 -0700)]
Fix an assertion to avoid crash on deletions in Recent root.

Bug: 28917333
Change-Id: I758c01898a6bb45cbf4975a1e7223efddd17a448

8 years agoFix issue where max idle time > total idle time
Adam Lesinski [Thu, 26 May 2016 23:05:35 +0000 (16:05 -0700)]
Fix issue where max idle time > total idle time

If the batterystats were reset while the device was
idling (via command line most likely), then also reset the
last time the device started idling so that the max idle time
calculation is correct.

Bug:28452600
Change-Id: I8a3d5dc3081deda76356c03d891e098baa85f88a

8 years agoEllipsize Preference summaries
Roozbeh Pournader [Wed, 25 May 2016 21:35:48 +0000 (14:35 -0700)]
Ellipsize Preference summaries

Previously, if the summary ran longer than 10 lines, there was no
indication to the user that it is cut off.

Bug: 28872122
Change-Id: Ie216298a2865ee08c1049914c2b029d870481581

8 years agoMerge "docs: Refinements for testing" into mnc-io-docs
Bert McMeen [Thu, 26 May 2016 22:49:04 +0000 (22:49 +0000)]
Merge "docs: Refinements for testing" into mnc-io-docs
am: 9da0730d66

* commit '9da0730d66b36b11a93e147857f62e641ac76276':
  docs: Refinements for testing

Change-Id: I981bf909a77f680854064e5a45e9fad0aef07425

8 years agoMerge "docs: Refinements for testing" into mnc-io-docs
Bert McMeen [Thu, 26 May 2016 22:43:54 +0000 (22:43 +0000)]
Merge "docs: Refinements for testing" into mnc-io-docs

8 years agoMerge "Fixed the relative time spoken with accessibility" into nyc-dev
Selim Cinek [Thu, 26 May 2016 22:33:49 +0000 (22:33 +0000)]
Merge "Fixed the relative time spoken with accessibility" into nyc-dev

8 years agoMerge "Use backstop timeouts on asynchronous countdown during preflight" into nyc-dev
Chris Tate [Thu, 26 May 2016 22:32:44 +0000 (22:32 +0000)]
Merge "Use backstop timeouts on asynchronous countdown during preflight" into nyc-dev

8 years agodocs: Refinements for testing
Bert McMeen [Thu, 26 May 2016 17:47:23 +0000 (10:47 -0700)]
docs: Refinements for testing

Bug: 28964312
Change-Id: Ie98b74860659046199f8ee920d1cd4899a9c7ce6

8 years agoFix toast with accessibility and app pinning
Jorim Jaggi [Wed, 25 May 2016 21:14:46 +0000 (14:14 -0700)]
Fix toast with accessibility and app pinning

Bug: 28912468
Change-Id: Ica33ba691bbcb921c5d3e953890498c04bb624e3

8 years agoUpdated link to material design page.
sreevanis [Thu, 26 May 2016 22:21:29 +0000 (22:21 +0000)]
Updated link to material design page.
am: ff05383baf

* commit 'ff05383baf0027dbb04cfa588a80f5d8806bf8aa':
  Updated link to material design page.

Change-Id: Ic56e38ad1b18c324577586a979364c8e1d0edf3a

8 years agoMerge "Fix Activity Transition mess-up." into nyc-dev
George Mount [Thu, 26 May 2016 22:15:31 +0000 (22:15 +0000)]
Merge "Fix Activity Transition mess-up." into nyc-dev

8 years agoUpdated link to material design page.
sreevanis [Thu, 26 May 2016 22:06:13 +0000 (15:06 -0700)]
Updated link to material design page.

Bug:28983647
Change-Id: Ic4ca199ca71d3cbfc3ffde477b423aebbf626ac1

8 years agoMerge "Prevent use of a null sCallbackObj by Hardware FLP" into nyc-dev
Wyatt Riley [Thu, 26 May 2016 22:03:25 +0000 (22:03 +0000)]
Merge "Prevent use of a null sCallbackObj by Hardware FLP" into nyc-dev

8 years agoresolve merge conflicts of 7f7eec3 to nyc-dev
Kevin Hufnagle [Thu, 26 May 2016 21:57:15 +0000 (14:57 -0700)]
resolve merge conflicts of 7f7eec3 to nyc-dev

Change-Id: I35b5b7103b89e0e12e21e809a3d3952738c9a668

8 years agoOnly make Recents activity invisible if not focused on TV devices.
Wale Ogunwale [Thu, 26 May 2016 21:43:19 +0000 (14:43 -0700)]
Only make Recents activity invisible if not focused on TV devices.

Change was introduced in b/28246419 to fix Recents activity visibility
issues on TV, but was causing other issues on phones. So, only apply
rule on TV devices.

Bug: 28246419
Bug: 28943853
Change-Id: Icd19eae4ffa5e0a798bc9f63bc7a6c9a60422236

8 years agoChange overdraw test to use windowbackground
John Reck [Thu, 26 May 2016 21:36:42 +0000 (14:36 -0700)]
Change overdraw test to use windowbackground

Bug: 28786023

Fixes an issue where the first couple frames would
be extremely slow due to the simpleness of HWUI's
overdraw rejection optimization.

Change-Id: I1fe3d83f7e2e0eb3299124b00b9f877c2c3aebf9

8 years agoEnsure surfaces only resize during relayout.
Robert Carr [Thu, 26 May 2016 18:48:49 +0000 (11:48 -0700)]
Ensure surfaces only resize during relayout.

For clients which use an indeterminate measure spec in their
layout params (MATCH_PARENT). We could try and change their window size
due to a stack resize, before the client calls relayout. This isn't
safe as the client never had an opportunity to pause rendering, so it
could be in the middle of producing a frame for the old size to suddenly
find the buffer size change underneath it.

Bug: 28559097
Change-Id: I3982936fdf85c22def2f9c754d5508e029e4a84d

8 years agoMerge "Prevent callbacks during DrawableContainer child initialization" into nyc-dev
Alan Viverette [Thu, 26 May 2016 21:20:01 +0000 (21:20 +0000)]
Merge "Prevent callbacks during DrawableContainer child initialization" into nyc-dev

8 years agoMerge "Cherry pick: docs: Edited "Features Reference" section in "<uses-feature>...
Kevin Hufnagle [Thu, 26 May 2016 20:59:57 +0000 (20:59 +0000)]
Merge "Cherry pick: docs: Edited "Features Reference" section in "<uses-feature>" page." into mnc-io-docs
am: f23477385e

* commit 'f23477385edbf1e8ecc8c280867fb39698da4b8d':
  Cherry pick: docs: Edited "Features Reference" section in "<uses-feature>" page.

Change-Id: I59ebda20856fd90f50968f9a341b8f87ce2bd9c1

8 years agoMerge "Cherry pick: docs: Edited "Features Reference" section in "<uses-feature>...
Kevin Hufnagle [Thu, 26 May 2016 20:55:55 +0000 (20:55 +0000)]
Merge "Cherry pick: docs: Edited "Features Reference" section in "<uses-feature>" page." into mnc-io-docs

8 years agoPrevent callbacks during DrawableContainer child initialization
Alan Viverette [Thu, 26 May 2016 20:49:29 +0000 (16:49 -0400)]
Prevent callbacks during DrawableContainer child initialization

Bug: 28900939
Change-Id: I9c6c8af1665c2dc0bfa8bc8fc773c81e14f6aab1

8 years agoMerge "Fixing crash in SysUI due to invalid group." into nyc-dev
Winson Chung [Thu, 26 May 2016 20:39:27 +0000 (20:39 +0000)]
Merge "Fixing crash in SysUI due to invalid group." into nyc-dev

8 years agoMerge "Time to #NameAndroidN!" into nyc-dev
Daniel Sandler [Thu, 26 May 2016 20:07:08 +0000 (20:07 +0000)]
Merge "Time to #NameAndroidN!" into nyc-dev

8 years agoMerge "Delay PACKAGE_RESTARTED until after data cleared." into nyc-dev
Jeff Sharkey [Thu, 26 May 2016 20:04:14 +0000 (20:04 +0000)]
Merge "Delay PACKAGE_RESTARTED until after data cleared." into nyc-dev

8 years agoMerge "Careful process validation for unaware providers." into nyc-dev
Jeff Sharkey [Thu, 26 May 2016 20:03:40 +0000 (20:03 +0000)]
Merge "Careful process validation for unaware providers." into nyc-dev

8 years agoFixing crash in SysUI due to invalid group.
Winson [Thu, 26 May 2016 17:46:11 +0000 (10:46 -0700)]
Fixing crash in SysUI due to invalid group.

- Adding a null check for tasks that have already been removed, but may
  be launched.

Bug: 28890599
Change-Id: Idde322c737a5543e639e693fbe7615e720a12c1e

8 years agoDefer calling the stack task removed callbacks.
Winson [Wed, 25 May 2016 17:53:53 +0000 (10:53 -0700)]
Defer calling the stack task removed callbacks.

- When updating a TaskStack, defer calling any callbacks until the stack
  is updated.  Otherwise, the handler may incorrectly check the size of
  the stack to be empty, which triggers Recents to go home.
- This CL also removes an erroneous double call to onStackTaskRemoved()
  when updating, one explicit call and the call that is made internally
  in removeTask().

Bug: 28941269

Change-Id: I37b93bd959a625096925a16a426269a0c79de4e7

8 years agoMerge "Suppress unlock notifications on non-FBE devices." into nyc-dev
Jeff Sharkey [Thu, 26 May 2016 19:53:16 +0000 (19:53 +0000)]
Merge "Suppress unlock notifications on non-FBE devices." into nyc-dev

8 years agoMerge "Replace caribou wallpaper without the stars b/28339724" into nyc-dev
Adam Cohen [Thu, 26 May 2016 19:44:22 +0000 (19:44 +0000)]
Merge "Replace caribou wallpaper without the stars b/28339724" into nyc-dev

8 years agoMerge "docs: Removing CLI steps in getting started docs" into mnc-io-docs am: 8e08dbe8f8
Eric Schmidt [Thu, 26 May 2016 19:35:13 +0000 (19:35 +0000)]
Merge "docs: Removing CLI steps in getting started docs" into mnc-io-docs am: 8e08dbe8f8
am: 400aed3556

* commit '400aed3556d837e746252e1be03dd1ac54a383e5':
  docs: Removing CLI steps in getting started docs

Change-Id: Id585f59925373bda46a34c9bd6811603ea5ee66a

8 years agoMerge "docs: Removing CLI steps in getting started docs" into mnc-io-docs
Eric Schmidt [Thu, 26 May 2016 19:30:14 +0000 (19:30 +0000)]
Merge "docs: Removing CLI steps in getting started docs" into mnc-io-docs
am: 8e08dbe8f8

* commit '8e08dbe8f825e2de9cd79bf155a255543efb4c6c':
  docs: Removing CLI steps in getting started docs

Change-Id: If7ce2cdf3f9b27dd8f7ab36a83fe38d26a70e7ca

8 years agoMerge "docs: Removing CLI steps in getting started docs" into mnc-io-docs
Eric Schmidt [Thu, 26 May 2016 19:26:31 +0000 (19:26 +0000)]
Merge "docs: Removing CLI steps in getting started docs" into mnc-io-docs

8 years agoProtect against NPE while to updating service connection activities.
Wale Ogunwale [Thu, 26 May 2016 16:02:25 +0000 (09:02 -0700)]
Protect against NPE while to updating service connection activities.

Bug: 28972558
Change-Id: I83f6e33248bb5b5c6ed34a3590d594bf82463a96

8 years agodocs: Removing CLI steps in getting started docs
Eric Schmidt [Tue, 24 May 2016 22:50:59 +0000 (15:50 -0700)]
docs: Removing CLI steps in getting started docs

Bug: 22875456
Bug: 21026809
Change-Id: I8f4fcca73c779407aac0b96299c60f8d6adae214

8 years agoMerge "Unlocked access of mServices is bad." into nyc-dev
Julia Reynolds [Thu, 26 May 2016 18:46:38 +0000 (18:46 +0000)]
Merge "Unlocked access of mServices is bad." into nyc-dev

8 years agoMerge "Reset slider animator on density change" into nyc-dev
Julia Reynolds [Thu, 26 May 2016 18:46:09 +0000 (18:46 +0000)]
Merge "Reset slider animator on density change" into nyc-dev

8 years agoMerge "Remove ActivityManager calls with PM.mInstallLock held" into nyc-dev
Fyodor Kupolov [Thu, 26 May 2016 18:20:35 +0000 (18:20 +0000)]
Merge "Remove ActivityManager calls with PM.mInstallLock held" into nyc-dev

8 years agoadd redirect for Espresso Test Recorder doc that will soon be on TAC site. am: 8f60544180
smain@google.com [Thu, 26 May 2016 18:05:08 +0000 (18:05 +0000)]
add redirect for Espresso Test Recorder doc that will soon be on TAC site. am: 8f60544180
am: e1bd7e15c5

* commit 'e1bd7e15c5958769025ba5c8bbf0d18d8e9bfb20':
  add redirect for Espresso Test Recorder doc that will soon be on TAC site.

Change-Id: I9a5f32d1828970a96dea0a31e62e1b80f564fed4

8 years agoDelay PACKAGE_RESTARTED until after data cleared.
Jeff Sharkey [Thu, 26 May 2016 17:02:28 +0000 (11:02 -0600)]
Delay PACKAGE_RESTARTED until after data cleared.

Some system internals are using the PACKAGE_RESTARTED broadcast to
rebind to services, which would fail if the package was still frozen
due to a long-running clear data operation.  To avoid this, delay both
the PACKAGE_RESTARTED and PACKAGE_DATA_CLEARED broadcasts until after
the clear operation has finished.

Bug: 28964281
Change-Id: I18ac36c39ba90498b1eb0cc495da1f16c24614bf

8 years agoCareful process validation for unaware providers.
Jeff Sharkey [Wed, 25 May 2016 17:06:20 +0000 (11:06 -0600)]
Careful process validation for unaware providers.

When unlocking a user, install any direct boot unaware providers into
processes that were started before unlock.  Mirror the conditional
logic used in all other provider locations.

Bug: 28708253
Change-Id: I2044558456d7f8e509374659f7c89abf01869cd9

8 years agoMerge "Don\'t pass URL path and username/password to PAC scripts" into klp-dev am...
Paul Jensen [Thu, 26 May 2016 17:59:23 +0000 (17:59 +0000)]
Merge "Don\'t pass URL path and username/password to PAC scripts" into klp-dev am: af0b4466ff am: 8940d2b0ff am: bb27626141 am: 6c35cf2434 am: 42a5983364 am: 75095e6f02 am: 7c625e1938 am: 54a62d5feb am: a5a2c88fb3 am: 7ff57eaff9
am: 94c8855da6

* commit '94c8855da6c1e5800723d1eaeceb1cba841bea6b':
  Don't pass URL path and username/password to PAC scripts

Change-Id: Ic91dc5c4a0a283bcd177daac8cced12a668bf0d9

8 years agoadd redirect for Espresso Test Recorder doc that will soon be on TAC site.
smain@google.com [Thu, 26 May 2016 17:59:11 +0000 (17:59 +0000)]
add redirect for Espresso Test Recorder doc that will soon be on TAC site.
am: 8f60544180

* commit '8f60544180374beaab837bc0f3225e54d0d368a5':
  add redirect for Espresso Test Recorder doc that will soon be on TAC site.

Change-Id: I55f32372b245d136519e55e8dd79796f58a6231f

8 years agoDO NOT MERGE : backport of backup transport whitelist am: 647cb6a6d8 -s ours am...
Christopher Tate [Thu, 26 May 2016 17:56:38 +0000 (17:56 +0000)]
DO NOT MERGE : backport of backup transport whitelist am: 647cb6a6d8  -s ours am: 077534b101 am: 4c559cdade am: 24ceca96af  -s ours am: 88c9eae886 am: 1fa817c057 am: 040cf14047
am: 0905c8f398  -s ours

* commit '0905c8f3989ab607b659fdc20a1b9a56794d2b6f':
  DO NOT MERGE : backport of backup transport whitelist

Change-Id: I6d0b878ea43d98761b93865604e8cb97410cdea9

8 years agoCherry pick: docs: Edited "Features Reference" section in
Kevin Hufnagle [Fri, 29 Apr 2016 17:40:47 +0000 (10:40 -0700)]
Cherry pick: docs: Edited "Features Reference" section in
"<uses-feature>" page.

The "Features Reference" section now lists all hardware and software
features that apps can use on devices running Marshmallow, and some
existing features now have more descriptive examples.

Converted the tables listing hardware and software features to h4
elements and definition lists to make the page more reader-friendly,
particularly on handheld devices.

Bug: 27803596
Change-Id: I3490f5dcde6a838d69940c70e06d9cd2cb8a7bdc

8 years agoUnlocked access of mServices is bad.
Julia Reynolds [Thu, 26 May 2016 17:49:17 +0000 (13:49 -0400)]
Unlocked access of mServices is bad.

Change-Id: I626d2daffb3669c7bea4856f8ee66dbd13951163
Fixes: 28979051

8 years agoMerge "Update the light center when the root view's layout changed" into nyc-dev
Tenghui Zhu [Thu, 26 May 2016 17:48:48 +0000 (17:48 +0000)]
Merge "Update the light center when the root view's layout changed" into nyc-dev

8 years agoMerge "AudioAttributes docs: warn about small buffer size with FLAG_LOW_LATENCY"...
Phil Burk [Thu, 26 May 2016 17:46:07 +0000 (17:46 +0000)]
Merge "AudioAttributes docs: warn about small buffer size with FLAG_LOW_LATENCY" into nyc-dev

8 years agoReset slider animator on density change
Julia Reynolds [Thu, 26 May 2016 17:43:38 +0000 (13:43 -0400)]
Reset slider animator on density change

Change-Id: Iae7d32746c6ea2cabe7d0d58ff11a05d1722fce4
Fixes: 28626591

8 years agoAudioAttributes docs: warn about small buffer size with FLAG_LOW_LATENCY
Phil Burk [Wed, 25 May 2016 22:13:57 +0000 (15:13 -0700)]
AudioAttributes docs: warn about small buffer size with FLAG_LOW_LATENCY

Explain buffer size optimization.

This CL has no code changes, just documentation changes.

Bug: 28802853
Change-Id: I91942f00a3e9691e4fc05b24656b8bf4cb538bc2
Signed-off-by: Phil Burk <philburk@google.com>
8 years agoadd redirect for Espresso Test Recorder doc that will soon be on TAC site.
smain@google.com [Thu, 26 May 2016 17:33:07 +0000 (10:33 -0700)]
add redirect for Espresso Test Recorder doc that will soon be on TAC site.

Change-Id: Ied13eedb15940b4a52562beffc9ea7652a0c4c76

8 years agoMerge "Elaborate on requirement to support PreRebootSecurityLogs" into nyc-dev
Manoja Wijewardene [Thu, 26 May 2016 17:20:48 +0000 (17:20 +0000)]
Merge "Elaborate on requirement to support PreRebootSecurityLogs" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
TreeHugger Robot [Thu, 26 May 2016 17:07:54 +0000 (17:07 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoFix Activity Transition mess-up.
George Mount [Thu, 26 May 2016 16:52:53 +0000 (09:52 -0700)]
Fix Activity Transition mess-up.

Bug 28610520

isTopOfTask() was returns false in onResume always because
it wasn't being made visible until after onResume. The visibility
of the window is not important for this method (older versions
didn't check it at all), so that was removed.

Change-Id: I45e506e72356cc3808e2e9340739726c99da7d97

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
TreeHugger Robot [Thu, 26 May 2016 16:56:12 +0000 (16:56 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Importance slider updates." into nyc-dev
Julia Reynolds [Thu, 26 May 2016 16:50:56 +0000 (16:50 +0000)]
Merge "Importance slider updates." into nyc-dev

8 years agoMerge "Cache IMountService for isUserKeyUnlocked() calls." into nyc-dev
TreeHugger Robot [Thu, 26 May 2016 16:49:49 +0000 (16:49 +0000)]
Merge "Cache IMountService for isUserKeyUnlocked() calls." into nyc-dev

8 years agoTime to #NameAndroidN!
Dan Sandler [Thu, 26 May 2016 03:13:32 +0000 (23:13 -0400)]
Time to #NameAndroidN!

Bug: 27376882
Change-Id: I32397e634039a64b86669662908fab2effb367a7

8 years agoMerge "QS: Make hotspot go unavailable in airplane mode" into nyc-dev
Jason Monk [Thu, 26 May 2016 16:46:47 +0000 (16:46 +0000)]
Merge "QS: Make hotspot go unavailable in airplane mode" into nyc-dev

8 years agoMerge "Check if we're connected before marking a UID blocked" into nyc-dev
Robin Lee [Thu, 26 May 2016 16:42:16 +0000 (16:42 +0000)]
Merge "Check if we're connected before marking a UID blocked" into nyc-dev

8 years agoMerge "add metrics for notification and group expansion" into nyc-dev
TreeHugger Robot [Thu, 26 May 2016 16:35:28 +0000 (16:35 +0000)]
Merge "add metrics for notification and group expansion" into nyc-dev

8 years agoFinalize resource IDs for N.
Michael Wright [Thu, 19 May 2016 22:58:12 +0000 (23:58 +0100)]
Finalize resource IDs for N.

Bug: 28810934
Change-Id: If68bfb46cc5fa2d5ea0ee613689198e1ea42dce7

8 years agoMerge "boost starred people to at least high importance" into nyc-dev
TreeHugger Robot [Thu, 26 May 2016 16:35:20 +0000 (16:35 +0000)]
Merge "boost starred people to at least high importance" into nyc-dev

8 years agoMerge "Change how TelephonyManager handles subscriptions." into nyc-dev
Jonathan Basseri [Thu, 26 May 2016 15:50:03 +0000 (15:50 +0000)]
Merge "Change how TelephonyManager handles subscriptions." into nyc-dev

8 years agoSuppress unlock notifications on non-FBE devices.
Jeff Sharkey [Thu, 26 May 2016 15:47:43 +0000 (09:47 -0600)]
Suppress unlock notifications on non-FBE devices.

We have a longer-term plan to clean up FBE unlock notifications, but
in the meantime don't confuse users by quickly flashing them on
non-FBE devices.

Bug: 28840764
Change-Id: I696508ef981b6f8f51f22ea24487d87d27d5b6e3

8 years agoMerge "Rename carrier messaging API constant." into nyc-dev
Ji Yang [Thu, 26 May 2016 15:40:11 +0000 (15:40 +0000)]
Merge "Rename carrier messaging API constant." into nyc-dev

8 years agoCache IMountService for isUserKeyUnlocked() calls.
Jeff Sharkey [Thu, 26 May 2016 15:31:04 +0000 (09:31 -0600)]
Cache IMountService for isUserKeyUnlocked() calls.

This avoids doing a ServiceManager lookup for every call through
this hot code-path.

Bug: 28946245
Change-Id: I210ce34b33e5b40a5ab4e92ddce87fc5e9964be2

8 years agoCheck if we're connected before marking a UID blocked
Robin Lee [Tue, 24 May 2016 15:35:10 +0000 (16:35 +0100)]
Check if we're connected before marking a UID blocked

This kills the always-on test, and any third-party app that correctly
checks whether it's blocked before attempting to make a connection.

Only affects always-on VPN when lockdown=true.

Bug: 28909500
Change-Id: I87aa9598d3872ae2ec409c2b19d73052c21ec878

8 years agoMerge "Don\'t pass URL path and username/password to PAC scripts" into klp-dev am...
Paul Jensen [Thu, 26 May 2016 15:22:55 +0000 (15:22 +0000)]
Merge "Don\'t pass URL path and username/password to PAC scripts" into klp-dev am: af0b4466ff am: 8940d2b0ff am: bb27626141 am: 6c35cf2434 am: 42a5983364 am: 75095e6f02 am: 7c625e1938 am: 54a62d5feb am: a5a2c88fb3
am: 7ff57eaff9

* commit '7ff57eaff95fd4cdb3cc80f8e420b469f0656bb8':
  Don't pass URL path and username/password to PAC scripts

Change-Id: I80187f003e437678786f0740f23e76543890b9bc

8 years agoMerge "Don\'t pass URL path and username/password to PAC scripts" into klp-dev am...
Paul Jensen [Thu, 26 May 2016 15:13:07 +0000 (15:13 +0000)]
Merge "Don\'t pass URL path and username/password to PAC scripts" into klp-dev am: af0b4466ff am: 8940d2b0ff am: bb27626141 am: 6c35cf2434 am: 42a5983364 am: 75095e6f02 am: 7c625e1938 am: 54a62d5feb
am: a5a2c88fb3

* commit 'a5a2c88fb3ac43315575de94696c837cb6b88c35':
  Don't pass URL path and username/password to PAC scripts

Change-Id: Ia33d40ae5d4b6ee0cd3cfcdc8587d6002603f128

8 years agoImportance slider updates.
Julia Reynolds [Thu, 26 May 2016 15:07:49 +0000 (11:07 -0400)]
Importance slider updates.

Icon & tint.

Bug: 28911161
Change-Id: Id8c3a4b79326eb5073a600de49ac14ae7223b398

8 years agoMerge "Don\'t pass URL path and username/password to PAC scripts" into klp-dev am...
Paul Jensen [Thu, 26 May 2016 15:02:46 +0000 (15:02 +0000)]
Merge "Don\'t pass URL path and username/password to PAC scripts" into klp-dev am: af0b4466ff am: 8940d2b0ff am: bb27626141 am: 6c35cf2434 am: 42a5983364 am: 75095e6f02 am: 7c625e1938
am: 54a62d5feb

* commit '54a62d5febc8771f65221db3dd5c6e08f3288eb8':
  Don't pass URL path and username/password to PAC scripts

Change-Id: I1da24c02fbf85a7f0fd3ea7a86ad3a34389000e8

8 years agoQS: Make hotspot go unavailable in airplane mode
Jason Monk [Wed, 25 May 2016 18:22:01 +0000 (14:22 -0400)]
QS: Make hotspot go unavailable in airplane mode

Put the hotspot tile in the unavailable state whenever airplane
mode is on.

Change-Id: I7a6eb54c2e89a7a9736c72d8e58ab58e7e82d0a6
Fixes: 28881032

8 years agoMerge "Don\'t pass URL path and username/password to PAC scripts" into klp-dev am...
Paul Jensen [Thu, 26 May 2016 14:50:37 +0000 (14:50 +0000)]
Merge "Don\'t pass URL path and username/password to PAC scripts" into klp-dev am: af0b4466ff am: 8940d2b0ff am: bb27626141 am: 6c35cf2434 am: 42a5983364 am: 75095e6f02
am: 7c625e1938

* commit '7c625e1938f28cf2a455fb1f4ab71dca99341b3d':
  Don't pass URL path and username/password to PAC scripts

Change-Id: If2e068e47e6efd4b8ad7abc7fb358860b188a380