OSDN Git Service

android-x86/frameworks-base.git
7 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 14 Oct 2016 06:06:12 +0000 (23:06 -0700)]
Import translations. DO NOT MERGE

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

7 years agoMerge "Fix issue #32125907: Intent.replaceUnsafeExtras() corrupts original bundle...
Dianne Hackborn [Thu, 13 Oct 2016 20:21:23 +0000 (20:21 +0000)]
Merge "Fix issue #32125907: Intent.replaceUnsafeExtras() corrupts original bundle" into nyc-mr1-dev

7 years agoMerge "Allow SetupWizard to do WiFi scans if location off" into nyc-mr1-dev
Svetoslav Ganov [Thu, 13 Oct 2016 20:06:00 +0000 (20:06 +0000)]
Merge "Allow SetupWizard to do WiFi scans if location off" into nyc-mr1-dev

7 years agoMerge "Retain allowBackup annotation when system+lock wallpaper becomes lock only...
Chris Tate [Thu, 13 Oct 2016 18:51:10 +0000 (18:51 +0000)]
Merge "Retain allowBackup annotation when system+lock wallpaper becomes lock only" into nyc-mr1-dev

7 years agoDocs: Updates to the Download/Test file related to watch setup am: 137c545e4e
Bert McMeen [Thu, 13 Oct 2016 17:50:57 +0000 (17:50 +0000)]
Docs: Updates to the Download/Test file related to watch setup am: 137c545e4e
am: 58425dc58d

Change-Id: Icf36fd2b6c4b2489a7197d32392c4a6382a934c3

7 years agoDocs: Updates to the Download/Test file related to watch setup
Bert McMeen [Thu, 13 Oct 2016 17:38:59 +0000 (17:38 +0000)]
Docs: Updates to the Download/Test file related to watch setup
am: 137c545e4e

Change-Id: Ic605d9d26c60e3dd01cd4a9993a6d50d5cfdd94c

7 years agoMerge "Revert "Fix backup for users hit by erroneous backup disabling"" into nyc...
Vladislav Kuzkokov [Thu, 13 Oct 2016 08:34:16 +0000 (08:34 +0000)]
Merge "Revert "Fix backup for users hit by erroneous backup disabling"" into nyc-mr1-dev

7 years agoMerge "DO NOT MERGE -- Adjust focus when moving task back" into nyc-mr1-dev
TreeHugger Robot [Thu, 13 Oct 2016 04:47:44 +0000 (04:47 +0000)]
Merge "DO NOT MERGE -- Adjust focus when moving task back" into nyc-mr1-dev

7 years agoDO NOT MERGE -- Adjust focus when moving task back
Andrii Kulian [Wed, 12 Oct 2016 21:23:19 +0000 (14:23 -0700)]
DO NOT MERGE -- Adjust focus when moving task back

Resumed and focused activity should be adjusted simultaneously.
This was missing when task was moved back and focus was adjusted only
after previous activity stopped.

Bug: 31983988
Change-Id: Ie6c908b0c8c1adf94680b42ca5a8c9b01308e361

7 years agoMerge "Correct recently introduced logic error in seamless rotation detection." into...
TreeHugger Robot [Thu, 13 Oct 2016 02:05:30 +0000 (02:05 +0000)]
Merge "Correct recently introduced logic error in seamless rotation detection." into nyc-mr1-dev

7 years agoFix issue #32125907: Intent.replaceUnsafeExtras() corrupts original bundle
Dianne Hackborn [Thu, 13 Oct 2016 00:20:07 +0000 (17:20 -0700)]
Fix issue #32125907: Intent.replaceUnsafeExtras() corrupts original bundle

We now recursively generate new Bundle objects if we need to
do any stripping.

Change-Id: I4ca7896a0771c25264591ae7c79df85816d630d4

7 years agoMerge "Fixed a bug where the system could crash when expanding" into nyc-mr1-dev
Selim Cinek [Thu, 13 Oct 2016 00:37:27 +0000 (00:37 +0000)]
Merge "Fixed a bug where the system could crash when expanding" into nyc-mr1-dev

7 years agoMerge "Fix crashes after notifying bad notification" into nyc-mr1-dev
Selim Cinek [Thu, 13 Oct 2016 00:36:27 +0000 (00:36 +0000)]
Merge "Fix crashes after notifying bad notification" into nyc-mr1-dev

7 years agoMerge "Fixed an issue where the emergency affordance would show" into nyc-mr1-dev
Selim Cinek [Thu, 13 Oct 2016 00:29:57 +0000 (00:29 +0000)]
Merge "Fixed an issue where the emergency affordance would show" into nyc-mr1-dev

7 years agoRetain allowBackup annotation when system+lock wallpaper becomes lock only
Christopher Tate [Wed, 12 Oct 2016 22:17:58 +0000 (15:17 -0700)]
Retain allowBackup annotation when system+lock wallpaper becomes lock only

Bug 32069467

Change-Id: I5d0b91c40e1a2896f2b11efeef7bff84503cf2c0

7 years agoMerge "Fix Notification.Action.Builder copy constructor" into nyc-mr1-dev
TreeHugger Robot [Wed, 12 Oct 2016 23:11:20 +0000 (23:11 +0000)]
Merge "Fix Notification.Action.Builder copy constructor" into nyc-mr1-dev

7 years agoFix Notification.Action.Builder copy constructor
Adrian Roos [Wed, 12 Oct 2016 20:44:05 +0000 (13:44 -0700)]
Fix Notification.Action.Builder copy constructor

The copy constructor of Notification.Action.Builder did not copy
the mAllowGeneratedReplies field.

Change-Id: I40fbe8950ee2232e2589ab3930a32bfbebe9fc89
Fixes: 31766718
Test: runtest --path $T/cts/tests/app/src/android/app/cts/NotificationTest.java

7 years agoMerge "RRO: Synchronize access to overlays.list" into nyc-mr1-dev
Adam Lesinski [Wed, 12 Oct 2016 20:55:53 +0000 (20:55 +0000)]
Merge "RRO: Synchronize access to overlays.list" into nyc-mr1-dev

7 years agoMerge "Fix SkShader leak for Gradient VectorDrawable and test" into nyc-mr1-dev
Doris Liu [Wed, 12 Oct 2016 20:44:47 +0000 (20:44 +0000)]
Merge "Fix SkShader leak for Gradient VectorDrawable and test" into nyc-mr1-dev

7 years agoCorrect recently introduced logic error in seamless rotation detection.
Robert Carr [Wed, 12 Oct 2016 19:48:13 +0000 (12:48 -0700)]
Correct recently introduced logic error in seamless rotation detection.

The code detecting whether we should rotate seamlessly (which for
example we do not support for 180 degree rotations) was moved to before
mRotation was updated, so it was always passing the same value for old
and new rotation, and we were failing to perform the 180 degree rotation
check. Correct this.

Test: Rotate the device 180 degrees at once while in Camera. Things look ok.
Bug: 32025371
Change-Id: I0ef08e8cc4e5d87fdff6d839381196c2b52e71d5

7 years agoDocs: Updates to the Download/Test file related to watch setup
Bert McMeen [Tue, 11 Oct 2016 22:50:54 +0000 (15:50 -0700)]
Docs: Updates to the Download/Test file related to watch setup

Bug: 32091353
Change-Id: I8b70b33c537c2edbaf0fbd09e62dc9564f03cd07

7 years agoFixed a bug where the system could crash when expanding
Selim Cinek [Wed, 12 Oct 2016 18:34:52 +0000 (11:34 -0700)]
Fixed a bug where the system could crash when expanding

When expanding a notification it could disappear and the
system would crash.

Test: Manual, expand notification group and have it removed while
doing so.
Change-Id: I421ab0cf7a9292e6894529c80784ba0989071fb0
Fixes: 31941185

7 years agoMerge "Add a delay before scheduling local syncs" into nyc-mr1-dev
Shreyas Basarge [Wed, 12 Oct 2016 17:09:53 +0000 (17:09 +0000)]
Merge "Add a delay before scheduling local syncs" into nyc-mr1-dev

7 years agoFixed an issue where the emergency affordance would show
Selim Cinek [Tue, 11 Oct 2016 19:49:48 +0000 (12:49 -0700)]
Fixed an issue where the emergency affordance would show

If a device isn't voice capable, it shouldn't show the emergency
option.

Test: use tablet which isn't voice capable, insert indian sim and
make sure no emergency option is displayed in global actions.
Bug: 31953703
Change-Id: I351e87320f3ffec76d1c1fc5aac78e5c48c0ac54

7 years agoRRO: Synchronize access to overlays.list
Martin Wallgren [Tue, 11 Aug 2015 13:10:31 +0000 (15:10 +0200)]
RRO: Synchronize access to overlays.list

idmap --scan is executed as a part of the pre-loading in ZygoteInit.
The pre loading is executed in parallel for each supported architecture
(32/64 bit). This will cause a race condition in the creation of the
overlays.list file and the idmap files for the system overlays.

Apply flock on overlays.list to prevent the file from being thrown away
and recreated when it is in use by another Zygote.

Cherry-picked from AOSP.

Bug: 28032298
Test: manual
Change-Id: I51d39f121d207b11181340b68b164b60020f0c61

7 years agoMerge "Essential packages' notifications can no longer be silenced." into nyc-mr1-dev
Daniel Sandler [Wed, 12 Oct 2016 13:38:59 +0000 (13:38 +0000)]
Merge "Essential packages' notifications can no longer be silenced." into nyc-mr1-dev

7 years agoAllow SetupWizard to do WiFi scans if location off
Svetoslav Ganov [Tue, 11 Oct 2016 23:12:29 +0000 (16:12 -0700)]
Allow SetupWizard to do WiFi scans if location off

Location permission is needed for apps to do WiFi scans
and if location is globally off no app can scan too. It
is possible that an OEM does not want location to be on
until the user agrees to that or a device owner can turn
location off before setup. As a result setup wizard
cannot show the WiFi networks preventing the user form
logging in. This change allows the setup wizard component
to perform WiFi scans even if location is globally off.

bug:29577364

Change-Id: Ic56bfb7fb3818658a843d309b67ef37324045f67

7 years agoMerge "Add note about density scaling behavior to setImageURI" into nyc-mr1-dev
TreeHugger Robot [Wed, 12 Oct 2016 01:24:53 +0000 (01:24 +0000)]
Merge "Add note about density scaling behavior to setImageURI" into nyc-mr1-dev

7 years agoFix SkShader leak for Gradient VectorDrawable and test
Doris Liu [Mon, 10 Oct 2016 22:50:01 +0000 (15:50 -0700)]
Fix SkShader leak for Gradient VectorDrawable and test

This CL fixes a SkShader leak in VD when applying local matrix
to the shader. Specifically, the usage of newWithLocalMatrix(...)
increments the shader's ref count in every draw() call for
Gradient VectorDrawable, whereas there's no balancing call to
decrement the ref count in draw(). In this CL, we assume
the ownership of the shader returned from newWithLocalMatrix(...)
to ensure the correct ref count management.

Also, add test to verify that shader is no longer being leaked

BUG: 32067647
Test: this CL

Change-Id: Ic15fe46cde06a73d81b44e2d3c56b51907344cc0

7 years agoMerge "Stop posting config asynchronously." into nyc-mr1-dev
TreeHugger Robot [Wed, 12 Oct 2016 01:10:56 +0000 (01:10 +0000)]
Merge "Stop posting config asynchronously." into nyc-mr1-dev

7 years agoFix crashes after notifying bad notification
dooyoung.hwang [Tue, 4 Oct 2016 09:55:31 +0000 (18:55 +0900)]
Fix crashes after notifying bad notification

If applications whose targetSDK is below N build notification
without contentView, contentView is created at inside of build()
function in Notification.Builder. If application apply
removeAllViews to this contentView, Notification View can have
id 'status_bar_latest_event_content' without standard layout of
notification. When inflating this notification, SystemUI try to wrap
it with NotificationTemplateViewWrapper(its id is
'status_bar_latest_event_content'), and crash, because it does not
have expected views.

Test: Install & launch attached apk in below BUG url to N devices,
and try to make notification by clicking 'do it' button.

https://code.google.com/p/android/issues/detail?id=223479

Bug:31948446
Change-Id: Ifcdc79a117613e8afd2e8ed098afd211cceabf88

7 years agoMerge "docs: Removed "Accessibility" page from "Pure Android" design docs" into nyc...
Kevin Hufnagle [Wed, 12 Oct 2016 00:26:14 +0000 (00:26 +0000)]
Merge "docs: Removed "Accessibility" page from "Pure Android" design docs" into nyc-dev am: 2acaf0a120
am: 2f54d4301d

Change-Id: Ie57a23935c654bb098130daa86763fc052d657db

7 years agodocs: Removed "Accessibility" page from "Pure Android" design docs am: 1965375aa5
Kevin Hufnagle [Wed, 12 Oct 2016 00:25:24 +0000 (00:25 +0000)]
docs: Removed "Accessibility" page from "Pure Android" design docs am: 1965375aa5
am: 36838b070c

Change-Id: Ia77cf32efbd7d48bae6c0a7c1dff0219e7a3b4e0

7 years agoMerge "docs: Removed "Accessibility" page from "Pure Android" design docs" into nyc-dev
Kevin Hufnagle [Wed, 12 Oct 2016 00:19:40 +0000 (00:19 +0000)]
Merge "docs: Removed "Accessibility" page from "Pure Android" design docs" into nyc-dev
am: 2acaf0a120

Change-Id: Ic31df60f13193b9a9ec89241ef5d14c9caa190e9

7 years agodocs: Removed "Accessibility" page from "Pure Android" design docs
Kevin Hufnagle [Wed, 12 Oct 2016 00:19:37 +0000 (00:19 +0000)]
docs: Removed "Accessibility" page from "Pure Android" design docs
am: 1965375aa5

Change-Id: I1cabf01b8339ef67a6167b540de698ffbda889e7

7 years agoMerge "Respect restoreAnyVersion=true in full-data restore path" into nyc-mr1-dev
TreeHugger Robot [Wed, 12 Oct 2016 00:06:43 +0000 (00:06 +0000)]
Merge "Respect restoreAnyVersion=true in full-data restore path" into nyc-mr1-dev

7 years agoMerge "docs: Removed "Accessibility" page from "Pure Android" design docs" into nyc-dev
Kevin Hufnagle [Tue, 11 Oct 2016 23:40:42 +0000 (23:40 +0000)]
Merge "docs: Removed "Accessibility" page from "Pure Android" design docs" into nyc-dev

7 years agoMerge "Fix small typo in ShortcutManager header docs" into nyc-mr1-dev
TreeHugger Robot [Tue, 11 Oct 2016 23:36:22 +0000 (23:36 +0000)]
Merge "Fix small typo in ShortcutManager header docs" into nyc-mr1-dev

7 years agoAdd note about density scaling behavior to setImageURI
Alan Viverette [Tue, 11 Oct 2016 21:42:21 +0000 (17:42 -0400)]
Add note about density scaling behavior to setImageURI

Bug: 27327999
Change-Id: I1e348a1fbda20fff9575261df7097fbd46381383

7 years agoStop posting config asynchronously.
Julia Reynolds [Thu, 15 Sep 2016 15:07:50 +0000 (11:07 -0400)]
Stop posting config asynchronously.

All of the instances of calling into other services with locks held
should be resolved, so this isn't needed anymore.

Test: have 2 rules end or start at the same time; ensure the resulting
state is correct.

Fixes: 28459870
Bug: 31980467

Change-Id: I3f12f1d3b8460361dab6fa9468f0ede55ca8dd5e
(cherry picked from commit 89aeab0e714ea8449c20816e6d2acea04c9348ca)

7 years agoMerge "Delete unused broadcast receiver" into nyc-mr1-dev
TreeHugger Robot [Tue, 11 Oct 2016 22:41:26 +0000 (22:41 +0000)]
Merge "Delete unused broadcast receiver" into nyc-mr1-dev

7 years agoRespect restoreAnyVersion=true in full-data restore path
Christopher Tate [Tue, 11 Oct 2016 22:29:39 +0000 (15:29 -0700)]
Respect restoreAnyVersion=true in full-data restore path

The scheduling mechanism was properly checking for it, but the raw
data-handling engine wasn't.  Now it is.

Bug 32054889

Change-Id: Id57ea12be8e2674c4f678f058278b8c14865b6fa

7 years agoEssential packages' notifications can no longer be silenced.
Dan Sandler [Tue, 4 Oct 2016 19:01:22 +0000 (15:01 -0400)]
Essential packages' notifications can no longer be silenced.

Particularly useful for Dialer, whose incoming call
notifications are basically useless if you accidentally mute
them.

Test: manual. With config_nonBlockableNotificationPackages
      set to include com.android.dialer, receive or miss a
      call and longpress the notification. No radio buttons
      should be available.
Bug: 31360343
Change-Id: I6b8fa374fb8e811ec6922acbf222f23f18775a61

7 years agoFix small typo in ShortcutManager header docs
Chet Haase [Tue, 11 Oct 2016 21:42:00 +0000 (14:42 -0700)]
Fix small typo in ShortcutManager header docs

Bug: 32093275 fix typo in ShortcutManager javadocs
Test: no test, just words in the header docs
Change-Id: Icd33481a7f285686429d908cf92de0f6f886f962

7 years agoDelete unused broadcast receiver
Nick Kralevich [Tue, 11 Oct 2016 21:00:54 +0000 (14:00 -0700)]
Delete unused broadcast receiver

Bug: 32090921
Bug: 21388590
Change-Id: I27e9ce7b55d0568644f9360368e90150d9be890e

7 years agodocs: Changed Google Analytics link to https:// am: 374ddfe529
Andrew Solovay [Tue, 11 Oct 2016 20:38:14 +0000 (20:38 +0000)]
docs: Changed Google Analytics link to https:// am: 374ddfe529
am: 9687b8e9a0

Change-Id: I47816412727652828b0a181c1776b7fa21c1107d

7 years agodocs: Changed Google Analytics link to https://
Andrew Solovay [Tue, 11 Oct 2016 20:32:13 +0000 (20:32 +0000)]
docs: Changed Google Analytics link to https://
am: 374ddfe529

Change-Id: I9506e792692a8aafde6603b1d473afb0ced658b5

7 years agoMerge "Fixed a bug where the header would flicker weirdly when replying" into nyc...
Selim Cinek [Tue, 11 Oct 2016 18:53:17 +0000 (18:53 +0000)]
Merge "Fixed a bug where the header would flicker weirdly when replying" into nyc-mr1-dev

7 years agoMerge "Fixed an issue where HUNS could have a background" into nyc-mr1-dev
Selim Cinek [Tue, 11 Oct 2016 18:52:49 +0000 (18:52 +0000)]
Merge "Fixed an issue where HUNS could have a background" into nyc-mr1-dev

7 years agoMerge "Delete "Show CPU usage"" into nyc-mr1-dev
Nick Kralevich [Tue, 11 Oct 2016 18:03:25 +0000 (18:03 +0000)]
Merge "Delete "Show CPU usage"" into nyc-mr1-dev

7 years agodocs: Changed Google Analytics link to https://
Andrew Solovay [Tue, 11 Oct 2016 17:50:31 +0000 (10:50 -0700)]
docs: Changed Google Analytics link to https://

We've changed the script so the auto-generated versions of these
files will now use https:// for the Google Analytics links (required
if the files are going to be moved into Piper) but the existing
files haven't had that change applied, so I'm doing it by hand.

I'll build and stage to
https://android-dot-devsite.googleplex.com/sdk/support_api_diff/...

Change-Id: Ia11114920f84101522cd4511fde6a0363675bf24

7 years agoMerge "Fix bounds rotation logic" into nyc-mr1-dev
Andrii Kulian [Tue, 11 Oct 2016 17:16:28 +0000 (17:16 +0000)]
Merge "Fix bounds rotation logic" into nyc-mr1-dev

7 years agoMerge "Fix: "adb install -s" adaptation for session based install" into nyc-mr1-dev
TreeHugger Robot [Tue, 11 Oct 2016 16:44:49 +0000 (16:44 +0000)]
Merge "Fix: "adb install -s" adaptation for session based install" into nyc-mr1-dev

7 years agoMerge "docs: Add Android developer written case studies" into nyc-dev am: d2c5657e9c
Joe Fernandez [Tue, 11 Oct 2016 16:06:35 +0000 (16:06 +0000)]
Merge "docs:  Add Android developer written case studies" into nyc-dev am: d2c5657e9c
am: 1d79aad2b6

Change-Id: Ib04dd7975ef84fa04c01ede84344ab474ac0eea8

7 years agodocs: Add Android developer written case studies am: cf71b1fdc0
George French [Tue, 11 Oct 2016 16:05:40 +0000 (16:05 +0000)]
docs:  Add Android developer written case studies am: cf71b1fdc0
am: 27cfee86f9

Change-Id: I6fdcc1c2d70a1c993da4524294e6da208970d9c1

7 years agoMerge "Docs: Developer written case studies batch 3 (proj 31)" into nyc-dev am:...
Joe Fernandez [Tue, 11 Oct 2016 16:04:49 +0000 (16:04 +0000)]
Merge "Docs:  Developer written case studies batch 3 (proj 31)" into nyc-dev am: cae752e66b
am: 95db2e6f48

Change-Id: Id12cbf60a4b11f9b9c2b6d4ca932af9d6a19a8fb

7 years agoDocs: Developer written case studies batch 3 (proj 31) am: 26ab4135ab
George French [Tue, 11 Oct 2016 16:03:57 +0000 (16:03 +0000)]
Docs:  Developer written case studies batch 3 (proj 31) am: 26ab4135ab
am: 8e38f5a2a1

Change-Id: I7557e70a102097c9c415627a478cb1af8aa4d229

7 years agoDelete "Show CPU usage"
Nick Kralevich [Tue, 11 Oct 2016 16:01:38 +0000 (09:01 -0700)]
Delete "Show CPU usage"

This functionality hasn't worked since Lollipop.

Bug: 21388590
Change-Id: Ie4388d88f6e06f3e2d2e84e9c4515b3ebc6a0ea5

7 years agoMerge "docs: Add Android developer written case studies" into nyc-dev
Joe Fernandez [Tue, 11 Oct 2016 15:58:30 +0000 (15:58 +0000)]
Merge "docs:  Add Android developer written case studies" into nyc-dev
am: d2c5657e9c

Change-Id: Ibbcd1ad9fa177de0b44cc6189706a05f336307e4

7 years agodocs: Add Android developer written case studies
George French [Tue, 11 Oct 2016 15:58:27 +0000 (15:58 +0000)]
docs:  Add Android developer written case studies
am: cf71b1fdc0

Change-Id: I070234e79e6547b2d0c7f41addd28c23c49c5667

7 years agoMerge "Docs: Developer written case studies batch 3 (proj 31)" into nyc-dev
Joe Fernandez [Tue, 11 Oct 2016 15:53:04 +0000 (15:53 +0000)]
Merge "Docs:  Developer written case studies batch 3 (proj 31)" into nyc-dev
am: cae752e66b

Change-Id: I9a8e450c5e7eb650579d703c1e4d91aa6d4e77e2

7 years agoDocs: Developer written case studies batch 3 (proj 31)
George French [Tue, 11 Oct 2016 15:53:00 +0000 (15:53 +0000)]
Docs:  Developer written case studies batch 3 (proj 31)
am: 26ab4135ab

Change-Id: Ie0e54e132538ec4c763fb979947ddfe6df810433

7 years agoMerge "docs: Add Android developer written case studies" into nyc-dev
Joe Fernandez [Tue, 11 Oct 2016 15:47:26 +0000 (15:47 +0000)]
Merge "docs:  Add Android developer written case studies" into nyc-dev

7 years agoMerge "Docs: Developer written case studies batch 3 (proj 31)" into nyc-dev
Joe Fernandez [Tue, 11 Oct 2016 15:45:27 +0000 (15:45 +0000)]
Merge "Docs:  Developer written case studies batch 3 (proj 31)" into nyc-dev

7 years agodocs: Add Android developer written case studies
George French [Wed, 21 Sep 2016 00:09:29 +0000 (17:09 -0700)]
docs:  Add Android developer written case studies

- updated stories/index.jd, games.jd, apps.jd to use collections

bug: 30809628
Change-Id: Iffd7e5913979c6002234d07d495c8c10dca7f9f2

7 years agoFix: "adb install -s" adaptation for session based install
Shunta Sato [Tue, 28 Jun 2016 00:29:19 +0000 (09:29 +0900)]
Fix: "adb install -s" adaptation for session based install

Internal implementation of "adb install" has been changed to
session install. As a result '-s' option doesn't work.
Size info is required when using '-s' option in session install.
PackageHelper.fitsOnExternal() returns false and moving app to SD is
failed when size info is not set.

So set size info when '-s' option is used.
And change identity on some method because shell doesn't have some
permission to access to asec.

Bug: 29932779
Author: Ryuki Nakamura <ryuki.x.nakamura@sonymobile.com>
Change-Id: I65edcc0f01ceecaaba17792ad329791a9253d603

7 years agoMerge "docs: Revised Espresso code snippets" into nyc-dev am: aa78ed5b0a
Kevin Hufnagle [Tue, 11 Oct 2016 07:41:44 +0000 (07:41 +0000)]
Merge "docs: Revised Espresso code snippets" into nyc-dev am: aa78ed5b0a
am: 884c243e5c

Change-Id: I2d6776ecbf524f6abfb2636697ac7847ebe1e85d

7 years agodocs: Revised Espresso code snippets am: d3c3c34134
Kevin Hufnagle [Tue, 11 Oct 2016 07:40:54 +0000 (07:40 +0000)]
docs: Revised Espresso code snippets am: d3c3c34134
am: da9289f562

Change-Id: Ida43998a2f387bf25f19407bdc5b6569f0b189f5

7 years agoMerge "docs: Revised Espresso code snippets" into nyc-dev
Kevin Hufnagle [Tue, 11 Oct 2016 07:35:29 +0000 (07:35 +0000)]
Merge "docs: Revised Espresso code snippets" into nyc-dev
am: aa78ed5b0a

Change-Id: Ia6c2a1b6c61ffd2530f950afd15b5d8314a38ffc

7 years agodocs: Revised Espresso code snippets
Kevin Hufnagle [Tue, 11 Oct 2016 07:35:26 +0000 (07:35 +0000)]
docs: Revised Espresso code snippets
am: d3c3c34134

Change-Id: I8c82e05a90dcdfb206e50130932b225d0765a3fb

7 years agoMerge "docs: Revised Espresso code snippets" into nyc-dev
Kevin Hufnagle [Tue, 11 Oct 2016 07:24:45 +0000 (07:24 +0000)]
Merge "docs: Revised Espresso code snippets" into nyc-dev

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Tue, 11 Oct 2016 07:22:19 +0000 (07:22 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Tue, 11 Oct 2016 07:14:19 +0000 (07:14 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Tue, 11 Oct 2016 07:13:30 +0000 (07:13 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoMerge "cherry-pick from mnc-io-docs: docs: Updated descriptions for CSV file settings...
Kevin Hufnagle [Tue, 11 Oct 2016 06:16:04 +0000 (06:16 +0000)]
Merge "cherry-pick from mnc-io-docs: docs: Updated descriptions for CSV file settings within IAB." into nyc-dev am: 8e4ea67fa7
am: 2b07befcd6

Change-Id: I74401c545aae96a156a26ce5f6002db9dc5feab5

7 years agocherry-pick from mnc-io-docs: docs: Updated descriptions for CSV file settings within...
Kevin Hufnagle [Tue, 11 Oct 2016 06:15:21 +0000 (06:15 +0000)]
cherry-pick from mnc-io-docs: docs: Updated descriptions for CSV file settings within IAB. am: 197226e4a5
am: 87ac4d8691

Change-Id: I0c195850b0382246c17aca39564bd9ecdd5c9ebd

7 years agoMerge "cherry-pick from mnc-io-docs: docs: Updated descriptions for CSV file settings...
Kevin Hufnagle [Tue, 11 Oct 2016 06:03:58 +0000 (06:03 +0000)]
Merge "cherry-pick from mnc-io-docs: docs: Updated descriptions for CSV file settings within IAB." into nyc-dev
am: 8e4ea67fa7

Change-Id: I9a31d23808839857eeb3346667a45059c4d49f7d

7 years agocherry-pick from mnc-io-docs: docs: Updated descriptions for CSV file settings within...
Kevin Hufnagle [Tue, 11 Oct 2016 06:03:54 +0000 (06:03 +0000)]
cherry-pick from mnc-io-docs: docs: Updated descriptions for CSV file settings within IAB.
am: 197226e4a5

Change-Id: I443179f1118dd6115a8b61827d3c9a4b3250d028

7 years agoMerge "cherry-pick from mnc-io-docs: docs: Updated descriptions for CSV file settings...
Kevin Hufnagle [Tue, 11 Oct 2016 05:54:10 +0000 (05:54 +0000)]
Merge "cherry-pick from mnc-io-docs: docs: Updated descriptions for CSV file settings within IAB." into nyc-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 11 Oct 2016 04:46:14 +0000 (21:46 -0700)]
Import translations. DO NOT MERGE

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

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 11 Oct 2016 04:32:53 +0000 (21:32 -0700)]
Import translations. DO NOT MERGE

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

7 years agodocs: Removed "Accessibility" page from "Pure Android" design docs
Kevin Hufnagle [Tue, 11 Oct 2016 03:47:16 +0000 (20:47 -0700)]
docs: Removed "Accessibility" page from "Pure Android" design docs

The "Accessibility" section of Google's material design guidelines
has superseded this design page on DAC. To avoid confusion among
readers, it's best to remove this page.

Bug: 29513203
Change-Id: I61e3bbc7cacc6bed05c33e4983b967408528e5cf

7 years agoMerge "List HF_INDICATORS_VALUE_CHANGED broadcast as protected" into nyc-mr1-dev
TreeHugger Robot [Tue, 11 Oct 2016 03:17:52 +0000 (03:17 +0000)]
Merge "List HF_INDICATORS_VALUE_CHANGED broadcast as protected" into nyc-mr1-dev

7 years agoList HF_INDICATORS_VALUE_CHANGED broadcast as protected
Jack He [Mon, 10 Oct 2016 19:37:40 +0000 (12:37 -0700)]
List HF_INDICATORS_VALUE_CHANGED broadcast as protected

android.bluetooth.headset.action.HF_INDICATORS_VALUE_CHANGED
notification should be protected.

Bug: 32059227
Test: manual
Change-Id: I06d4a7e3aa3a5586eb09d2538b4b526a5d073f9a
(cherry picked from commit b798f79ba26e057531fb51e65824e0deee445f26)

7 years agoIgnore wallpaper relaunch timeout during shutdown
Christopher Tate [Tue, 11 Oct 2016 00:44:48 +0000 (17:44 -0700)]
Ignore wallpaper relaunch timeout during shutdown

Because of course during system shutdown, the wallpaper service
won't actually get relaunched.  Sometimes shutdown can take long
enough that this timeout kicks, so we need to avoid clearing the
live wallpaper state spuriously.

For simplicity we just check at "would have timed out now" time
rather than try to distinguish between the shutdown case and a
genuine crash that raced with the shutdown broadcast.

Bug 32020355

Change-Id: I9335b2c0214b4c750ef950fed157d186aa670176

7 years agoMerge "Turn off additional logging in text rendering" into nyc-mr1-dev
TreeHugger Robot [Tue, 11 Oct 2016 00:30:32 +0000 (00:30 +0000)]
Merge "Turn off additional logging in text rendering" into nyc-mr1-dev

7 years agoMerge "Set MIME type when building BROWSE intents." into nyc-mr1-dev
TreeHugger Robot [Mon, 10 Oct 2016 23:21:32 +0000 (23:21 +0000)]
Merge "Set MIME type when building BROWSE intents." into nyc-mr1-dev

7 years agoDocs: Developer written case studies batch 3 (proj 31)
George French [Thu, 6 Oct 2016 22:04:33 +0000 (15:04 -0700)]
Docs:  Developer written case studies batch 3 (proj 31)

bug: b/31739418
Change-Id: Iec92348aca9c4753a7a54b48c75d80dd5062dff0

7 years agoDocs: Remove a reference to a deprecated sample am: 3e01ab2b0e
Bert McMeen [Mon, 10 Oct 2016 22:10:20 +0000 (22:10 +0000)]
Docs: Remove a reference to a deprecated sample am: 3e01ab2b0e
am: c48ad2580a

Change-Id: Ic7f79fddf6696346b171e2bb2601e813dc82aa06

7 years agoDocs: Remove a reference to a deprecated sample
Bert McMeen [Mon, 10 Oct 2016 22:05:20 +0000 (22:05 +0000)]
Docs: Remove a reference to a deprecated sample
am: 3e01ab2b0e

Change-Id: Idd2ac6b2c6aa056c88033aa10cd7732d2b343b75

7 years agoMerge "Remove incorrect non-roaming list for Telus." into nyc-mr1-dev
Junda Liu [Mon, 10 Oct 2016 21:58:26 +0000 (21:58 +0000)]
Merge "Remove incorrect non-roaming list for Telus." into nyc-mr1-dev

7 years agoSet MIME type when building BROWSE intents.
Jeff Sharkey [Mon, 10 Oct 2016 21:26:14 +0000 (15:26 -0600)]
Set MIME type when building BROWSE intents.

If we created a BROWSE PendingIntent early during boot (while the
device was still locked), we would resolve the MIME type as "null"
meaning the intent would fail to launch.

Since we always know what the MIME type will be, set it explicitly.

Test: boot device while USB device attached
Bug: 30742481
Change-Id: I23c523cbe2660ca63a3b7df1f41300ab803b314c

7 years agoDocs: Remove a reference to a deprecated sample
Bert McMeen [Mon, 10 Oct 2016 21:21:00 +0000 (14:21 -0700)]
Docs: Remove a reference to a deprecated sample

Bug: 31709180
Change-Id: Ieec19820b1154628236495541a28b50089c4e0cd

7 years agoFixed an issue where HUNS could have a background
Selim Cinek [Fri, 7 Oct 2016 21:38:03 +0000 (17:38 -0400)]
Fixed an issue where HUNS could have a background

Change-Id: I0537583321eed58461578259d038038a592889b6
Fixes: 32014780

7 years agoTurn off additional logging in text rendering
sergeyv [Mon, 10 Oct 2016 19:25:06 +0000 (12:25 -0700)]
Turn off additional logging in text rendering

Change-Id: If5f11489c05e320e4436fb57680857b29228a755
b:30427106

7 years agoMerge "Fixed the memory leak when receiving Nav messages" into nyc-mr1-dev
Lifu Tang [Mon, 10 Oct 2016 19:00:07 +0000 (19:00 +0000)]
Merge "Fixed the memory leak when receiving Nav messages" into nyc-mr1-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 10 Oct 2016 18:30:39 +0000 (11:30 -0700)]
Import translations. DO NOT MERGE

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

7 years agoFixed a bug where the header would flicker weirdly when replying
Selim Cinek [Fri, 7 Oct 2016 18:45:55 +0000 (14:45 -0400)]
Fixed a bug where the header would flicker weirdly when replying

Also fixed a bug where the header could stay on the lockscreen.

Change-Id: Icad3d0db7b95745bd640b20750b9f0eba383d798
Fixes: 31469380

7 years agoMerge "Fix dismissing window showing" into nyc-mr1-dev
Jorim Jaggi [Mon, 10 Oct 2016 11:46:58 +0000 (11:46 +0000)]
Merge "Fix dismissing window showing" into nyc-mr1-dev

7 years agoFixed the memory leak when receiving Nav messages
Lifu Tang [Sat, 8 Oct 2016 09:57:53 +0000 (02:57 -0700)]
Fixed the memory leak when receiving Nav messages

Bug: 32038182

Change-Id: Ie659dc945d6efc7feaf9285d3e7375c90cba7234