OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "API Council feedback" into oc-mr1-dev
TreeHugger Robot [Wed, 16 Aug 2017 22:55:52 +0000 (22:55 +0000)]
Merge "API Council feedback" into oc-mr1-dev

6 years agoMerge "Hide shared buffer mode/auto refresh on Surface" into oc-mr1-dev
TreeHugger Robot [Wed, 16 Aug 2017 22:49:49 +0000 (22:49 +0000)]
Merge "Hide shared buffer mode/auto refresh on Surface" into oc-mr1-dev

6 years agoMerge "Fix null pointer when mColorFadeEnabled is false" into oc-mr1-dev
Lucas Dupin [Wed, 16 Aug 2017 22:30:04 +0000 (22:30 +0000)]
Merge "Fix null pointer when mColorFadeEnabled is false" into oc-mr1-dev

6 years agoMerge changes I768830f5,I665bde3a into oc-mr1-dev
TreeHugger Robot [Wed, 16 Aug 2017 22:11:12 +0000 (22:11 +0000)]
Merge changes I768830f5,I665bde3a into oc-mr1-dev

* changes:
  Removed redundant [X] icon used to close Autofill Save UI.
  Re-added outer layout on Autofill Save UI that was accidentally removed.

6 years agoMerge "Improved autofill support on DatePicker and TimePicker:" into oc-mr1-dev
TreeHugger Robot [Wed, 16 Aug 2017 22:10:46 +0000 (22:10 +0000)]
Merge "Improved autofill support on DatePicker and TimePicker:" into oc-mr1-dev

6 years agoMerge "Add CollationRoot to preloaded classes" into oc-mr1-dev
Mathieu Chartier [Wed, 16 Aug 2017 21:08:22 +0000 (21:08 +0000)]
Merge "Add CollationRoot to preloaded classes" into oc-mr1-dev

6 years agoMerge "Fix problems of SIM lock screen of eSIM" into oc-mr1-dev
Qingxi Li [Wed, 16 Aug 2017 21:07:04 +0000 (21:07 +0000)]
Merge "Fix problems of SIM lock screen of eSIM" into oc-mr1-dev

6 years agoMerge "Revert "Import translations. DO NOT MERGE"" into oc-dr1-dev
Bill Yi [Wed, 16 Aug 2017 21:02:20 +0000 (21:02 +0000)]
Merge "Revert "Import translations. DO NOT MERGE"" into oc-dr1-dev
am: 2dc7e093b4  -s ours

Change-Id: I0dfea4c7aafd2b62aa5f57a643c952ef89b2f2e9

6 years agoAdd CollationRoot to preloaded classes
Mathieu Chartier [Wed, 16 Aug 2017 18:37:02 +0000 (11:37 -0700)]
Add CollationRoot to preloaded classes

It was determined this would save RAM.

Test: ./generate-preloaded-classes.sh base.txt preloaded-classes-blacklist preloaded-classes-extra  > preloaded-classes
Test: Look at the generated file
Bug: 63444758
Change-Id: Ib49b1218e94e4a4a2211071da189cf917559248b

6 years agoMerge "Merge "Fix security hole in GateKeeperResponse." into mnc-dev am: 039b357a46...
Charles He [Wed, 16 Aug 2017 20:48:52 +0000 (20:48 +0000)]
Merge "Merge "Fix security hole in GateKeeperResponse." into mnc-dev am: 039b357a46  -s ours am: 5048fc8e92 am: 5d34739d70 am: 733c7607d1 am: 6adae5108c am: a175bae662 am: 510f02244d am: 69ae08b680 am: 35c3b58d46 am: c29ad5c94c" into oc-dr1-dev
am: 51654d921f

Change-Id: Ic7abb0e6bc5d75e26de8898e4c1a880e17c8da8f

6 years agoMerge "Import translations. DO NOT MERGE" into oc-dr1-dev
Bill Yi [Wed, 16 Aug 2017 20:42:31 +0000 (20:42 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev
am: fd457b1220  -s ours

Change-Id: Ia15a920f9a1af9e11d12a7fdd87845c2d27d72d2

6 years agoMerge "Revert "Import translations. DO NOT MERGE"" into oc-dr1-dev
Bill Yi [Wed, 16 Aug 2017 20:39:30 +0000 (20:39 +0000)]
Merge "Revert "Import translations. DO NOT MERGE"" into oc-dr1-dev

6 years agoRevert "Import translations. DO NOT MERGE"
Bill Yi [Wed, 16 Aug 2017 20:37:47 +0000 (20:37 +0000)]
Revert "Import translations. DO NOT MERGE"

This reverts commit 0a2337f7473cbaca630d48b19d923516fd3c131d.

Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 63899732
Change-Id: Ib5c23d395c3681d8d679f02758bbc6337f681ce8

6 years agoMerge "Merge "Fix security hole in GateKeeperResponse." into mnc-dev am: 039b357a46...
Android Build Merger (Role) [Wed, 16 Aug 2017 20:33:32 +0000 (20:33 +0000)]
Merge "Merge "Fix security hole in GateKeeperResponse." into mnc-dev am: 039b357a46  -s ours am: 5048fc8e92 am: 5d34739d70 am: 733c7607d1 am: 6adae5108c am: a175bae662 am: 510f02244d am: 69ae08b680 am: 35c3b58d46 am: c29ad5c94c" into oc-dr1-dev

6 years agoMerge "Import translations. DO NOT MERGE" into oc-dr1-dev
TreeHugger Robot [Wed, 16 Aug 2017 20:32:55 +0000 (20:32 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev

6 years agoMerge "Fix security hole in GateKeeperResponse." into mnc-dev am: 039b357a46 -s...
Charles He [Wed, 16 Aug 2017 20:29:58 +0000 (20:29 +0000)]
Merge "Fix security hole in GateKeeperResponse." into mnc-dev am: 039b357a46  -s ours am: 5048fc8e92 am: 5d34739d70 am: 733c7607d1 am: 6adae5108c am: a175bae662 am: 510f02244d am: 69ae08b680 am: 35c3b58d46
am: c29ad5c94c

Change-Id: Ie4453acd727f8f581c1224ee0f288e3150b97446

6 years agoMerge "Fix security hole in GateKeeperResponse." into mnc-dev am: 039b357a46 -s...
Charles He [Wed, 16 Aug 2017 20:15:23 +0000 (20:15 +0000)]
Merge "Fix security hole in GateKeeperResponse." into mnc-dev am: 039b357a46  -s ours am: 5048fc8e92 am: 5d34739d70 am: 733c7607d1 am: 6adae5108c am: a175bae662 am: 510f02244d am: 69ae08b680
am: 35c3b58d46

Change-Id: I9ce7456fec5af181ec5e42bfc5f139a1b00137cf

6 years agoMerge "Add the margin between user pods." into oc-mr1-dev
Bryan Eyler [Wed, 16 Aug 2017 20:09:08 +0000 (20:09 +0000)]
Merge "Add the margin between user pods." into oc-mr1-dev

6 years agoAdd the margin between user pods.
Bryan Eyler [Wed, 2 Aug 2017 00:40:16 +0000 (17:40 -0700)]
Add the margin between user pods.

In fullscreen user switcher, there is a margin that needs to be
accounted for between user pods.  This is not the same as the margin
that increases the size of a user pod.

Also fixes the way the layout is done so that it handles long user
names properly with ellipsis.

Bug: 36454400
Tested on Mojave

Change-Id: Idb3468f6a8c3f1b81a96c5ff73ff1d32c48e2c82

6 years agoMerge "Fix security hole in GateKeeperResponse." into mnc-dev am: 039b357a46 -s...
Charles He [Wed, 16 Aug 2017 20:03:15 +0000 (20:03 +0000)]
Merge "Fix security hole in GateKeeperResponse." into mnc-dev am: 039b357a46  -s ours am: 5048fc8e92 am: 5d34739d70 am: 733c7607d1 am: 6adae5108c am: a175bae662 am: 510f02244d
am: 69ae08b680

Change-Id: Ida122a46fece975924a002e6a5a0f6521ed8756f

6 years agoMerge "Fix sync back-off" into oc-dr1-dev
Makoto Onuki [Wed, 16 Aug 2017 19:57:36 +0000 (19:57 +0000)]
Merge "Fix sync back-off" into oc-dr1-dev
am: 9fd497cdae

Change-Id: I029aaf190316aa0e7924fda472fdcf718050f4d4

6 years agoMerge "Fix security hole in GateKeeperResponse." into mnc-dev am: 039b357a46 -s...
Charles He [Wed, 16 Aug 2017 19:51:43 +0000 (19:51 +0000)]
Merge "Fix security hole in GateKeeperResponse." into mnc-dev am: 039b357a46  -s ours am: 5048fc8e92 am: 5d34739d70 am: 733c7607d1 am: 6adae5108c am: a175bae662
am: 510f02244d

Change-Id: I3bfe22ab41813abbeebee58d7cc8789e95a1a2fa

6 years agoMerge "Fix sync back-off" into oc-dr1-dev
TreeHugger Robot [Wed, 16 Aug 2017 19:41:53 +0000 (19:41 +0000)]
Merge "Fix sync back-off" into oc-dr1-dev

6 years agoMerge "Fix security hole in GateKeeperResponse." into mnc-dev am: 039b357a46 -s...
Charles He [Wed, 16 Aug 2017 19:39:50 +0000 (19:39 +0000)]
Merge "Fix security hole in GateKeeperResponse." into mnc-dev am: 039b357a46  -s ours am: 5048fc8e92 am: 5d34739d70 am: 733c7607d1 am: 6adae5108c
am: a175bae662

Change-Id: Id250bcbcf92bdb95813dc4fcdd772aeef7f29c0a

6 years agoMerge "Do not filter out some colors" into oc-mr1-dev
TreeHugger Robot [Wed, 16 Aug 2017 19:38:45 +0000 (19:38 +0000)]
Merge "Do not filter out some colors" into oc-mr1-dev

6 years agoMerge "Fix security hole in GateKeeperResponse." into mnc-dev am: 039b357a46 -s...
Charles He [Wed, 16 Aug 2017 19:26:45 +0000 (19:26 +0000)]
Merge "Fix security hole in GateKeeperResponse." into mnc-dev am: 039b357a46  -s ours am: 5048fc8e92 am: 5d34739d70 am: 733c7607d1
am: 6adae5108c

Change-Id: I104eea9bf02f89b6c2bde0daeff81aaa781e323d

6 years agoMerge "docs: Updated ShortcutManager API reference guide." into oc-dev am: 80376a98a5
Kevin Hufnagle [Wed, 16 Aug 2017 19:16:10 +0000 (19:16 +0000)]
Merge "docs: Updated ShortcutManager API reference guide." into oc-dev am: 80376a98a5
am: d6d6d2cf79

Change-Id: I63af60b006618bdd8bb74d351f9c17432f411b63

6 years agoMerge "Fix security hole in GateKeeperResponse." into mnc-dev am: 039b357a46 -s...
Charles He [Wed, 16 Aug 2017 19:13:17 +0000 (19:13 +0000)]
Merge "Fix security hole in GateKeeperResponse." into mnc-dev am: 039b357a46  -s ours am: 5048fc8e92 am: 5d34739d70
am: 733c7607d1

Change-Id: Id1c4c4de5d6e4da05188326287ae86e74bf89623

6 years agoMerge "docs: Updated ShortcutManager API reference guide." into oc-dev
Kevin Hufnagle [Wed, 16 Aug 2017 19:01:36 +0000 (19:01 +0000)]
Merge "docs: Updated ShortcutManager API reference guide." into oc-dev
am: 80376a98a5

Change-Id: Iae8814e722f7861ecd96980d16c06a676c6ad1dc

6 years agoMerge "Fix security hole in GateKeeperResponse." into mnc-dev am: 039b357a46 -s...
Charles He [Wed, 16 Aug 2017 18:58:11 +0000 (18:58 +0000)]
Merge "Fix security hole in GateKeeperResponse." into mnc-dev am: 039b357a46  -s ours am: 5048fc8e92
am: 5d34739d70

Change-Id: I51f9bbaa35a853ec3442267cbb9327a2a64ff1d1

6 years agoMerge "Fix security hole in GateKeeperResponse." into mnc-dev am: 039b357a46 -s...
Charles He [Wed, 16 Aug 2017 18:48:14 +0000 (18:48 +0000)]
Merge "Fix security hole in GateKeeperResponse." into mnc-dev am: 039b357a46  -s ours
am: 5048fc8e92

Change-Id: Ib55158e1608d7eeba7d41854377ed1e93e283a75

6 years agoMerge "docs: Updated ShortcutManager API reference guide." into oc-dev
Kevin Hufnagle [Wed, 16 Aug 2017 18:44:34 +0000 (18:44 +0000)]
Merge "docs: Updated ShortcutManager API reference guide." into oc-dev

6 years agoMerge "Fix security hole in GateKeeperResponse." into mnc-dev
Charles He [Wed, 16 Aug 2017 18:37:17 +0000 (18:37 +0000)]
Merge "Fix security hole in GateKeeperResponse." into mnc-dev
am: 039b357a46  -s ours

Change-Id: Ia916a0c1a5ec5d63e4e76ed9da9d563fd39d3823

6 years agoMerge "Merge "docs: corrected code example mistakes" into oc-dev am: 5714da6e93 am...
Android Build Merger (Role) [Wed, 16 Aug 2017 17:33:11 +0000 (17:33 +0000)]
Merge "Merge "docs: corrected code example mistakes" into oc-dev am: 5714da6e93 am: 3311ba316a" into oc-mr1-dev

6 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 16 Aug 2017 17:31:37 +0000 (10:31 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 63899732
Change-Id: I23b308a57669e20e44b8bb503dca33b905a31f4c

6 years agoMerge "Update references to O MR1 to proper codename." into oc-mr1-dev
Bryce Lee [Wed, 16 Aug 2017 17:30:43 +0000 (17:30 +0000)]
Merge "Update references to O MR1 to proper codename." into oc-mr1-dev

6 years agoMerge "docs: corrected code example mistakes" into oc-dev am: 5714da6e93
Cindy Kuang [Wed, 16 Aug 2017 17:28:26 +0000 (17:28 +0000)]
Merge "docs: corrected code example mistakes" into oc-dev am: 5714da6e93
am: 3311ba316a

Change-Id: I5a7f89494a450d8ff657161e70301aebd93c63b0

6 years agoMerge "docs: corrected code example mistakes" into oc-dev
Cindy Kuang [Wed, 16 Aug 2017 17:12:08 +0000 (17:12 +0000)]
Merge "docs: corrected code example mistakes" into oc-dev
am: 5714da6e93

Change-Id: I75b35bd6ff92b345c3fd9d27fdf03e5db2927be9

6 years agoMerge "Allow explicit permission denial" into oc-mr1-dev
TreeHugger Robot [Wed, 16 Aug 2017 17:11:30 +0000 (17:11 +0000)]
Merge "Allow explicit permission denial" into oc-mr1-dev

6 years agoHide shared buffer mode/auto refresh on Surface
Romain Guy [Wed, 16 Aug 2017 16:43:07 +0000 (09:43 -0700)]
Hide shared buffer mode/auto refresh on Surface

Bug: 63858546
Test: Compile & boot

Change-Id: I34372593d4b47b143e65d30f669f883c69653f62

6 years agoRemoved redundant [X] icon used to close Autofill Save UI.
Felipe Leme [Tue, 15 Aug 2017 16:19:12 +0000 (09:19 -0700)]
Removed redundant [X] icon used to close Autofill Save UI.

Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases
Test: manual verification

Fixes: 64694706

Change-Id: I768830f56db1814aecb82b94cebb9100dd47dd50

6 years agoMerge "docs: corrected code example mistakes" into oc-dev
Cindy Kuang [Wed, 16 Aug 2017 16:59:31 +0000 (16:59 +0000)]
Merge "docs: corrected code example mistakes" into oc-dev

6 years agoFix null pointer when mColorFadeEnabled is false
Lucas Dupin [Tue, 15 Aug 2017 22:56:50 +0000 (15:56 -0700)]
Fix null pointer when mColorFadeEnabled is false

mColorFadeOffAnimator and mColorFadeOnAnimator won't ever
be initialized if mColorFadeEnabled is set to false.
This means that we can't assume that these animators always exist.

Test: Manual, lock, unlock device
Change-Id: I0cb7a10f7d311bc992c4a3e1b4943b454e39ec1a
Fixes: 64726143

6 years agoMerge "Protect against weak pointer crash." into oc-mr1-dev
TreeHugger Robot [Wed, 16 Aug 2017 16:29:03 +0000 (16:29 +0000)]
Merge "Protect against weak pointer crash." into oc-mr1-dev

6 years agoRe-added outer layout on Autofill Save UI that was accidentally removed.
Felipe Leme [Tue, 15 Aug 2017 23:54:12 +0000 (16:54 -0700)]
Re-added outer layout on Autofill Save UI that was accidentally removed.

A.K.A "Dude, where's my shadow?"

Test: manual verification
Fixes: 64538521

Change-Id: I665bde3a81cd41315204911d1f77184983bdc5db

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
TreeHugger Robot [Wed, 16 Aug 2017 15:14:58 +0000 (15:14 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
TreeHugger Robot [Wed, 16 Aug 2017 15:14:03 +0000 (15:14 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
TreeHugger Robot [Wed, 16 Aug 2017 15:12:55 +0000 (15:12 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
TreeHugger Robot [Wed, 16 Aug 2017 15:10:15 +0000 (15:10 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
TreeHugger Robot [Wed, 16 Aug 2017 15:09:28 +0000 (15:09 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
TreeHugger Robot [Wed, 16 Aug 2017 15:08:05 +0000 (15:08 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
TreeHugger Robot [Wed, 16 Aug 2017 15:06:46 +0000 (15:06 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
TreeHugger Robot [Wed, 16 Aug 2017 15:04:37 +0000 (15:04 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
TreeHugger Robot [Wed, 16 Aug 2017 15:03:42 +0000 (15:03 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
TreeHugger Robot [Wed, 16 Aug 2017 15:01:35 +0000 (15:01 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
TreeHugger Robot [Wed, 16 Aug 2017 14:58:12 +0000 (14:58 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
TreeHugger Robot [Wed, 16 Aug 2017 14:57:11 +0000 (14:57 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
TreeHugger Robot [Wed, 16 Aug 2017 14:56:21 +0000 (14:56 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev

6 years agoMerge "PackageManagerService: Change getCompressedFiles to reflect the new layout...
TreeHugger Robot [Wed, 16 Aug 2017 14:53:59 +0000 (14:53 +0000)]
Merge "PackageManagerService: Change getCompressedFiles to reflect the new layout." into oc-mr1-dev

6 years agoAllow explicit permission denial
Todd Kennedy [Tue, 15 Aug 2017 21:48:07 +0000 (14:48 -0700)]
Allow explicit permission denial

Change-Id: I5d348ed555f249d210253dab60ae11d4831c4f0a
Fixes: 63675512
Test: Manual

6 years agoMerge "Fix issue when launching Camera" into oc-mr1-dev
Jorim Jaggi [Wed, 16 Aug 2017 14:03:36 +0000 (14:03 +0000)]
Merge "Fix issue when launching Camera" into oc-mr1-dev

6 years agoMerge "FingerprintController: Make sure to reset the fingerprint mode when going...
TreeHugger Robot [Wed, 16 Aug 2017 11:59:45 +0000 (11:59 +0000)]
Merge "FingerprintController: Make sure to reset the fingerprint mode when going to sleep" into oc-mr1-dev

6 years agoMerge "Docs: Javadoc comment fixups for secure passcode reset methods." into oc-mr1-dev
TreeHugger Robot [Wed, 16 Aug 2017 10:13:09 +0000 (10:13 +0000)]
Merge "Docs: Javadoc comment fixups for secure passcode reset methods." into oc-mr1-dev

6 years agoFingerprintController: Make sure to reset the fingerprint mode when going to sleep
Adrian Roos [Tue, 15 Aug 2017 15:48:05 +0000 (17:48 +0200)]
FingerprintController: Make sure to reset the fingerprint mode when going to sleep

Fixes an issue where the fingerprint controller could be stuck indefinitely, causing
the status bar to be in the SHADE state instead of the KEYGUARD state.
Now reset when going to sleep.

Also adds logging.

May also fix a second bug where the scrims were stuck in a bad state.

Change-Id: I55d456c5d157f92758267f684de2bd216ef07d94
Fixes: 64598807
Bug: 64594986
Test: mp sysuig; unlock with fingerprint; verify transition still works

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
TreeHugger Robot [Wed, 16 Aug 2017 09:15:22 +0000 (09:15 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev

6 years agoMerge "Add method to cancel StatusBar touch" into oc-mr1-dev
TreeHugger Robot [Wed, 16 Aug 2017 07:48:43 +0000 (07:48 +0000)]
Merge "Add method to cancel StatusBar touch" into oc-mr1-dev

6 years agoMerge "Limit black background to only base and starting windows" into oc-dr1-dev
Andrii Kulian [Wed, 16 Aug 2017 06:28:49 +0000 (06:28 +0000)]
Merge "Limit black background to only base and starting windows" into oc-dr1-dev
am: 44cab75cb0

Change-Id: I87966d38e8b23441837760db1e17e2957468adfa

6 years agoMerge "Limit black background to only base and starting windows" into oc-dr1-dev
Andrii Kulian [Wed, 16 Aug 2017 06:20:59 +0000 (06:20 +0000)]
Merge "Limit black background to only base and starting windows" into oc-dr1-dev

6 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 16 Aug 2017 03:45:57 +0000 (20:45 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 64712476
Change-Id: I92863c5e2cccc583c14250e5886ff3bc1e9481e8

6 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 16 Aug 2017 03:28:42 +0000 (20:28 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 64712476
Change-Id: Ic2da52e2fda70928028a1ac1eaa2076fe859078b

6 years agoAudioService: device connection intent: never send null action
Jean-Michel Trivi [Wed, 16 Aug 2017 02:42:56 +0000 (02:42 +0000)]
AudioService: device connection intent: never send null action
am: 87a264dfde

Change-Id: I1fd6f458bdc4a66a9d2a65d6f7d1bbdcf93b270a

6 years agoMerge "Fixes quick switch animations for low end devices" into oc-mr1-dev
TreeHugger Robot [Wed, 16 Aug 2017 02:28:52 +0000 (02:28 +0000)]
Merge "Fixes quick switch animations for low end devices" into oc-mr1-dev

6 years agoLimit black background to only base and starting windows
Andrii Kulian [Wed, 16 Aug 2017 00:49:24 +0000 (17:49 -0700)]
Limit black background to only base and starting windows

Show black background behind nav bar only behind windows
with type TYPE_APPLICATION_STARTING or TYPE_BASE_APPLICATION,
which corresponds to main window of an activity.

Bug: 64711770
Test: Go to Wallpapers app, select a static one, click "set" and check the background of the dialog.
Test: Open letterboxed app, go to/from Recents.
Change-Id: I42357a5df70b5dd58b422f31704c71d36074a50c

6 years agoMerge "Add some preloaded classes related files and tools" into oc-mr1-dev
Mathieu Chartier [Wed, 16 Aug 2017 01:26:36 +0000 (01:26 +0000)]
Merge "Add some preloaded classes related files and tools" into oc-mr1-dev

6 years agoMerge "Show notification when VoWiFi is active, and user is out of service for voice...
Pankaj Kanwar [Wed, 16 Aug 2017 01:11:35 +0000 (01:11 +0000)]
Merge "Show notification when VoWiFi is active, and user is out of service for voice." into oc-mr1-dev

6 years agoAudioService: device connection intent: never send null action
Jean-Michel Trivi [Wed, 16 Aug 2017 00:52:22 +0000 (17:52 -0700)]
AudioService: device connection intent: never send null action

Change 145c95342c9c removed a test on the type of device for which
  a ACTION_HEADSET_PLUG intent is broadcast. As a result, for some
  devices (e.g. DEVICE_OUT_USB_DEVICE), there is a code path in
  AudioService.sendDeviceConnectionIntent() where the intent's
  action is not set, causing a WTF exception to be thrown for
  the broadcast.
The fix consists in always checking that the intent will be sent
  with a non-null action.

Test: connect a USB device recognized as DEVICE_OUT_USB_DEVICE
Bug: 64724117
Change-Id: Ib2a486d1fabbde58d6a8f8370d5803c694977ee1

6 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 16 Aug 2017 00:50:37 +0000 (17:50 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 64712476
Change-Id: I8ea44cb061b1e42aec0ae975788cbe388f1a180a

6 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 16 Aug 2017 00:40:24 +0000 (17:40 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 64712476
Change-Id: I8b6189c6e7048899552af6c17be6c429c4a086de

6 years agoAdd method to cancel StatusBar touch
Kevin Chyn [Tue, 15 Aug 2017 22:39:54 +0000 (15:39 -0700)]
Add method to cancel StatusBar touch

Fixes: 64611899

Test: manual
Change-Id: I80f458f0365d9634c5f360793def6f673777473c

6 years agoFix sync back-off
Makoto Onuki [Tue, 15 Aug 2017 21:56:47 +0000 (14:56 -0700)]
Fix sync back-off

CL Ifb2fc5207 affected multiple different scenario:
a) When a sync finished successfully
b) When a sync finished with a failure
c) When a sync is canceled by the sync manager

Among those, c) was the actual fix for b/63773598, and the change was supposed
to not change the actual behavior of a) and b).

However it turned out it was breaking b) by interfering back-off scheduling.

This change will revert Ifb2fc5207 for a) and b) to restore the original
behavior with keeping the fix fo C.

Bug: 63773598
Bug: 64597061
Test: Manual test with test app.
Change-Id: I34e5945a7a67d55cd6138f758e97d724d4b9d4b5

6 years agoMerge "Add privileged permission for reading the current wallpaper image" into oc...
TreeHugger Robot [Tue, 15 Aug 2017 23:38:40 +0000 (23:38 +0000)]
Merge "Add privileged permission for reading the current wallpaper image" into oc-mr1-dev

6 years agoAdd privileged permission for reading the current wallpaper image
Christopher Tate [Mon, 14 Aug 2017 23:45:03 +0000 (16:45 -0700)]
Add privileged permission for reading the current wallpaper image

OEMs can therefore arrange factory-default access to have access prior
to setup or user interaction.

Bug: 30770233
Bug: 64029450
Test: manual

Change-Id: I2cb30721f2a64ef50275b711ca10ca571248504a

6 years agoAdd some preloaded classes related files and tools
Mathieu Chartier [Tue, 15 Aug 2017 20:37:07 +0000 (13:37 -0700)]
Add some preloaded classes related files and tools

Added copyright-header to be used by generation scripts to
automatically add a copyright header to preloaded classes.

Add a default blacklist file to avoid needing to manually
remove classes that can't be preloaded in the zygote.

Added a script go generate a preloaded classes list from a raw class
list. This script adds the copyright headers and comments and removes
blacklisted classes.

Bug: 37966211
Test: manually run the scripts

Change-Id: I166f990c41978c80134d2f1e12c1b1079a12752a

6 years agoMerge "Calls CancellationSignal when onFillRequest() times out." into oc-mr1-dev
TreeHugger Robot [Tue, 15 Aug 2017 22:23:57 +0000 (22:23 +0000)]
Merge "Calls CancellationSignal when onFillRequest() times out." into oc-mr1-dev

6 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 15 Aug 2017 22:11:58 +0000 (15:11 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 64712476
Change-Id: I25b0f7f60b6825fa291bc57bf5aaa9c0e634c342

6 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 15 Aug 2017 22:05:13 +0000 (15:05 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 64712476
Change-Id: I8c238a7e4371049289699e8c9aef5ca66b0fdf42

6 years agoMerge "Fix broken test" into oc-mr1-dev
TreeHugger Robot [Tue, 15 Aug 2017 22:04:58 +0000 (22:04 +0000)]
Merge "Fix broken test" into oc-mr1-dev

6 years agoFixes quick switch animations for low end devices
Matthew Ng [Thu, 10 Aug 2017 22:37:19 +0000 (15:37 -0700)]
Fixes quick switch animations for low end devices

Currently using quick switch is fine but sometimes with animation
glitches but very reproducible if tapping recents button very fast. The
problem is that low end device Recents entrance animation also has the
previous tasks animating downward causing more chances of animation
instability.

The problem is that transition is not finished and it is already
starting to do the next toggled animation. When the transition from
app to recents (RecentsImpl.toggleRecents) starts without finishing
RecentsActivity.onStop, the previous frame will be visible for a couple
of frames before the entrance animation starts (having the previous task
animate down). Therefore restrict toggling to after
RecentsActivity.onStop would allow the previous frame to finish and the
transitions run normally.

Bug: 62251652
Fixes: 64401391
Test: manual - using gobo device, launch multiple apps, rapidly tap recents
button
Change-Id: I4e70434bca3c9bec287fa30559b23a1e71b5ef20

6 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 15 Aug 2017 21:56:40 +0000 (14:56 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 64712476
Change-Id: I6ab2d6efc4bb5be3eb9c6c27c9a06f983c08c649

6 years agoMerge "Additional documentation about Autofill / WebView security." into oc-dev am...
Felipe Leme [Tue, 15 Aug 2017 21:48:32 +0000 (21:48 +0000)]
Merge "Additional documentation about Autofill / WebView security." into oc-dev am: 36cbdef880
am: a3c2cee055

Change-Id: Ie107dd462a47009a34ee3768183dfda2e36107c3

6 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 15 Aug 2017 21:47:57 +0000 (14:47 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 64712476
Change-Id: Ibcd651f5774663cee19cecc6da52264a0cd5d6a7

6 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 15 Aug 2017 21:41:38 +0000 (14:41 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 64712476
Change-Id: I7d8aad268d4ca0a02b7e6d39e0225934ab510667

6 years ago[automerger] Fix security hole in GateKeeperResponse. am: e74cae8f7c am: b1141b6ff0...
Charles He [Tue, 15 Aug 2017 21:35:05 +0000 (21:35 +0000)]
[automerger] Fix security hole in GateKeeperResponse. am: e74cae8f7c am: b1141b6ff0 am: 1cd9e8096f am: 6dfc8d8d4d am: a3c1de7e49 am: 4acf4fabf4 am: 40317127f4 am: 159cd14334 am: 24587d57cf am: 0fa9328b80
am: b0fa5855dc

Change-Id: Iaadf2350cd86ffc598e666e0d9dc735e5a7889f0

6 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 15 Aug 2017 21:34:24 +0000 (14:34 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 64712476
Change-Id: Ic418fe43839c5d3fe17a28a84b6f99a41c509777

6 years agoMerge "Additional documentation about Autofill / WebView security." into oc-dev
Felipe Leme [Tue, 15 Aug 2017 21:33:01 +0000 (21:33 +0000)]
Merge "Additional documentation about Autofill / WebView security." into oc-dev
am: 36cbdef880

Change-Id: Ie198dbbdc7ab4ea1089c7363f1b1d2df333c1d8f

6 years ago[automerger] Enforce policy for camera gesture in keyguard am: 65f02e8ba7 am: 6acee63...
Tony Mak [Tue, 15 Aug 2017 21:29:48 +0000 (21:29 +0000)]
[automerger] Enforce policy for camera gesture in keyguard am: 65f02e8ba7 am: 6acee639af am: 569af6584a am: 30d3df57dc am: 79ada733cc am: 2eb85eca12 am: f3589fded1  -s ours am: facc5e40fc am: 0e1976292d  -s ours
am: 0958d0339f  -s ours

Change-Id: I78851573da087d5aac5ea2e64641972d7a319a9b

6 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 15 Aug 2017 21:27:20 +0000 (14:27 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 64712476
Change-Id: I63044114445bfb321bff58910c60c9b16ff840eb

6 years agoMerge "Optionally append managed service approvals" into oc-mr1-dev
TreeHugger Robot [Tue, 15 Aug 2017 21:22:21 +0000 (21:22 +0000)]
Merge "Optionally append managed service approvals" into oc-mr1-dev

6 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 15 Aug 2017 21:19:07 +0000 (14:19 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 64712476
Change-Id: I43683d9425dd5bde8c9e4ce3503136cb825cd290

6 years ago[automerger] Fix security hole in GateKeeperResponse. am: e74cae8f7c am: b1141b6ff0...
Charles He [Tue, 15 Aug 2017 21:16:36 +0000 (21:16 +0000)]
[automerger] Fix security hole in GateKeeperResponse. am: e74cae8f7c am: b1141b6ff0 am: 1cd9e8096f am: 6dfc8d8d4d am: a3c1de7e49 am: 4acf4fabf4 am: 40317127f4 am: 159cd14334 am: 24587d57cf
am: 0fa9328b80

Change-Id: I4fc74296d3da5fef830e9ffe0eedc74bb4fb047b