OSDN Git Service

android-x86/frameworks-base.git
6 years agoAdd Persian keyboard layout to default layouts
Michael Wright [Wed, 16 Aug 2017 16:53:42 +0000 (17:53 +0100)]
Add Persian keyboard layout to default layouts

Change-Id: Id834e944ab17411b3e8de1b807713a425432c187
Fixes: 64753680
Test: manual

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 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 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

6 years agoMerge "Additional documentation about Autofill / WebView security." into oc-dev
TreeHugger Robot [Tue, 15 Aug 2017 21:12:32 +0000 (21:12 +0000)]
Merge "Additional documentation about Autofill / WebView security." into oc-dev

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

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

Bug: 64712476
Change-Id: I66612a98dc42c7f1d5f3511b4a3cabb549188bec

6 years ago[automerger] Enforce policy for camera gesture in keyguard am: 65f02e8ba7 am: 6acee63...
Tony Mak [Tue, 15 Aug 2017 21:10:41 +0000 (21:10 +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

Change-Id: Ia0fb6afc42cb6bf1fb730ca7cee2f08c157890bb

6 years agoMerge "Remove ButtonInterface.setCarMode()" into oc-mr1-dev
TreeHugger Robot [Tue, 15 Aug 2017 21:08:17 +0000 (21:08 +0000)]
Merge "Remove ButtonInterface.setCarMode()" into oc-mr1-dev

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

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

Bug: 64712476
Change-Id: I29e0c4f2d94c4fb601738de280679edf7f65f861

6 years agoShow notification when VoWiFi is active, and user is out of service for
pkanwar [Sun, 13 Aug 2017 19:18:19 +0000 (12:18 -0700)]
Show notification when VoWiFi is active, and user is out of service for
voice.

Bug: 62618428
Test: manual
Change-Id: Ic630991da3199584dd313a8bf3138b020ecebd5c

6 years agoMerge "Persist docked state so it doesn't get lost in re-inflates" into oc-mr1-dev
TreeHugger Robot [Tue, 15 Aug 2017 20:48:09 +0000 (20:48 +0000)]
Merge "Persist docked state so it doesn't get lost in re-inflates" into oc-mr1-dev

6 years ago[automerger] Fix security hole in GateKeeperResponse. am: e74cae8f7c am: b1141b6ff0...
Android Build Merger (Role) [Tue, 15 Aug 2017 20:47:03 +0000 (20:47 +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

Change-Id: If5cad5c0f361acda25df4d90de06821d16e689c0

6 years ago[automerger] Fix security hole in GateKeeperResponse. am: e74cae8f7c am: b1141b6ff0...
Charles He [Tue, 15 Aug 2017 20:42:11 +0000 (20:42 +0000)]
[automerger] Fix security hole in GateKeeperResponse. am: e74cae8f7c am: b1141b6ff0 am: 1cd9e8096f am: 6dfc8d8d4d am: a3c1de7e49 am: 4acf4fabf4 am: 40317127f4
am: 159cd14334

Change-Id: Iaed779900e094a5951e24771ed1f1f55b0c1b014

6 years ago[automerger] Enforce policy for camera gesture in keyguard am: 65f02e8ba7 am: 6acee63...
Android Build Merger (Role) [Tue, 15 Aug 2017 20:35:00 +0000 (20:35 +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

Change-Id: I4531fab8eab2291fcfd790d04a2661307f40dc60

6 years ago[automerger] Enforce policy for camera gesture in keyguard am: 65f02e8ba7 am: 6acee63...
Tony Mak [Tue, 15 Aug 2017 20:29:29 +0000 (20: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

Change-Id: I3b60e5cb94895fc155ba11d27ed81640eb8a2a05

6 years agoMerge "Adjust font texture cache based on device density." into oc-mr1-dev
TreeHugger Robot [Tue, 15 Aug 2017 20:28:51 +0000 (20:28 +0000)]
Merge "Adjust font texture cache based on device density." into oc-mr1-dev

6 years agoMerge "Improved WallpaperService.Engine tests" into oc-mr1-dev
TreeHugger Robot [Tue, 15 Aug 2017 20:24:27 +0000 (20:24 +0000)]
Merge "Improved WallpaperService.Engine tests" into oc-mr1-dev

6 years agoMerge "Workaround the IME dismissing when dragging PiP." into oc-mr1-dev
Winson Chung [Tue, 15 Aug 2017 19:49:10 +0000 (19:49 +0000)]
Merge "Workaround the IME dismissing when dragging PiP." into oc-mr1-dev

6 years agoMerge "Only auth via FP when device is locked, when Assistant is on top" into oc...
TreeHugger Robot [Tue, 15 Aug 2017 19:15:43 +0000 (19:15 +0000)]
Merge "Only auth via FP when device is locked, when Assistant is on top" into oc-mr1-dev

6 years agoOptionally append managed service approvals
Julia Reynolds [Mon, 14 Aug 2017 17:22:23 +0000 (13:22 -0400)]
Optionally append managed service approvals

If the backup comes from a pre O device, don't wipe
preexisting managed service grants (which were introduced
in O).

Test: runtest systemui-notification
Change-Id: Ie569972dc0d076718a3a9c59e1ebd942c5bfa987
Fixes: 64232609

6 years agoRemove ButtonInterface.setCarMode()
Annie Chin [Tue, 15 Aug 2017 17:07:27 +0000 (10:07 -0700)]
Remove ButtonInterface.setCarMode()

Bug: 63444779
Test: Android Auto still functions
Change-Id: If27641aedcd05ebc834c9dc0b38d18cd20ddae03

6 years agoFix broken test
Lucas Dupin [Tue, 15 Aug 2017 18:05:04 +0000 (11:05 -0700)]
Fix broken test

Change-Id: Iee80b8ec552f960dac08bfa062c128337eb22eff
Fixes: 64715967
Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/colorextraction/SysuiColorExtractorTests.java

6 years ago[automerger] Fix security hole in GateKeeperResponse. am: e74cae8f7c am: b1141b6ff0...
Charles He [Tue, 15 Aug 2017 17:54:35 +0000 (17:54 +0000)]
[automerger] Fix security hole in GateKeeperResponse. am: e74cae8f7c am: b1141b6ff0 am: 1cd9e8096f am: 6dfc8d8d4d am: a3c1de7e49 am: 4acf4fabf4 am: 40317127f4

Change-Id: I6bb7e6146e9a5a1a7c4721c496b1088fb3209f00

6 years ago[automerger] Fix security hole in GateKeeperResponse. am: e74cae8f7c am: b1141b6ff0...
Charles He [Tue, 15 Aug 2017 17:54:05 +0000 (17:54 +0000)]
[automerger] Fix security hole in GateKeeperResponse. am: e74cae8f7c am: b1141b6ff0 am: 1cd9e8096f am: 6dfc8d8d4d am: a3c1de7e49 am: 4acf4fabf4

Change-Id: Iea8871d4f1a491e4571e2152afbf8855bf451478

6 years ago[automerger] Fix security hole in GateKeeperResponse. am: e74cae8f7c am: b1141b6ff0...
Charles He [Tue, 15 Aug 2017 17:53:35 +0000 (17:53 +0000)]
[automerger] Fix security hole in GateKeeperResponse. am: e74cae8f7c am: b1141b6ff0 am: 1cd9e8096f am: 6dfc8d8d4d am: a3c1de7e49

Change-Id: Idcc4beaf75e1aba8609aa18ad1850e0796a17741

6 years agoAdjust font texture cache based on device density.
Seigo Nonaka [Mon, 14 Aug 2017 21:22:56 +0000 (14:22 -0700)]
Adjust font texture cache based on device density.

The main purpose of this CL is reducing font cache size of
low-density device.

The memory usage for the small RGBA texture will be
Nexus 6P: 7,928,856 bytes (1408x1408)
Nexus 5X: 4,734,976 bytes (1088x1088)
These used to be 4,194,304 bytes

Test: manually checked
Bug: 64400885
Change-Id: Ied064a6d59909ad7fbeff74332973206436fbd34

6 years ago[automerger] Fix security hole in GateKeeperResponse. am: e74cae8f7c am: b1141b6ff0...
Charles He [Tue, 15 Aug 2017 17:52:57 +0000 (17:52 +0000)]
[automerger] Fix security hole in GateKeeperResponse. am: e74cae8f7c am: b1141b6ff0 am: 1cd9e8096f am: 6dfc8d8d4d

Change-Id: Ia5ad4b5d36d92caa26fa69951180320848c372e7

6 years ago[automerger] Fix security hole in GateKeeperResponse. am: e74cae8f7c am: b1141b6ff0...
Charles He [Tue, 15 Aug 2017 17:52:27 +0000 (17:52 +0000)]
[automerger] Fix security hole in GateKeeperResponse. am: e74cae8f7c am: b1141b6ff0 am: 1cd9e8096f

Change-Id: I2fce56d688cc0a4111668c695c9cf9b1c930faf8

6 years ago[automerger] Fix security hole in GateKeeperResponse. am: e74cae8f7c am: b1141b6ff0
Charles He [Tue, 15 Aug 2017 17:51:58 +0000 (17:51 +0000)]
[automerger] Fix security hole in GateKeeperResponse. am: e74cae8f7c am: b1141b6ff0

Change-Id: Ia0d267bb2013d7ddfe26dddfa35f3f396cca7f20

6 years ago[automerger] Fix security hole in GateKeeperResponse. am: e74cae8f7c
Charles He [Tue, 15 Aug 2017 17:51:28 +0000 (17:51 +0000)]
[automerger] Fix security hole in GateKeeperResponse. am: e74cae8f7c

Change-Id: Ic72c354aaec594f02567949e294be2c10da47853

6 years agoMerge "Manuall set accessibility order of zen radio grouping" into oc-mr1-dev
TreeHugger Robot [Tue, 15 Aug 2017 17:50:49 +0000 (17:50 +0000)]
Merge "Manuall set accessibility order of zen radio grouping" into oc-mr1-dev

6 years agoMerge "Update Qualcomm(R) aptX(TM) strings" into oc-dr1-dev
Justin Klaassen [Tue, 15 Aug 2017 17:31:17 +0000 (17:31 +0000)]
Merge "Update Qualcomm(R) aptX(TM) strings" into oc-dr1-dev
am: 8d7cd4bcaa

Change-Id: Idfc54941a233d2b37cc4585d0064b8d86a74d465

6 years agoMerge "Dismiss Autofill Save UI when a new Activity is launched." into oc-mr1-dev
TreeHugger Robot [Tue, 15 Aug 2017 17:22:18 +0000 (17:22 +0000)]
Merge "Dismiss Autofill Save UI when a new Activity is launched." into oc-mr1-dev

6 years agoMerge "Update Qualcomm(R) aptX(TM) strings" into oc-dr1-dev
TreeHugger Robot [Tue, 15 Aug 2017 17:19:48 +0000 (17:19 +0000)]
Merge "Update Qualcomm(R) aptX(TM) strings" into oc-dr1-dev

6 years agoImproved WallpaperService.Engine tests
Lucas Dupin [Mon, 14 Aug 2017 17:58:40 +0000 (10:58 -0700)]
Improved WallpaperService.Engine tests

Using final variables when possible, also testing if
overlaping invalidation requests will be posted to
the handler.

Bug: 63585249
Test: runtest -x services/tests/servicestests/src/com/android/server/wallpaper/WallpaperServiceTests.java
Change-Id: I01cdbdfd5313e55d7a58c77f705aea0f6f817518

6 years agoMerge "Merge "Place black background only behind nav bar when letterboxed" into oc...
Android Build Merger (Role) [Tue, 15 Aug 2017 16:48:26 +0000 (16:48 +0000)]
Merge "Merge "Place black background only behind nav bar when letterboxed" into oc-dr1-dev am: 3289a5a1e0" into oc-mr1-dev

6 years agoMerge "Place black background only behind nav bar when letterboxed" into oc-dr1-dev
Andrii Kulian [Tue, 15 Aug 2017 16:44:25 +0000 (16:44 +0000)]
Merge "Place black background only behind nav bar when letterboxed" into oc-dr1-dev
am: 3289a5a1e0

Change-Id: Id4069e1c1126d9658a18a448a4bd7566af938cbb

6 years agoMerge "Fix race condition crash" into oc-mr1-dev
TreeHugger Robot [Tue, 15 Aug 2017 16:43:24 +0000 (16:43 +0000)]
Merge "Fix race condition crash" into oc-mr1-dev

6 years agoDocs: Javadoc comment fixups for secure passcode reset methods.
Benjamin Miller [Tue, 15 Aug 2017 16:04:20 +0000 (18:04 +0200)]
Docs: Javadoc comment fixups for secure passcode reset methods.

Exceptions corrected for methods and cross references linked up.
Clarification about resetPassword() and work profiles.
Staged at: go/dac-stage/reference/android/app/admin/DevicePolicyManager.html

Test: make ds-docs with output staged and visually checked in DevicePolicyManager page
Bug: 38026339
Change-Id: I3346144193061fad7988c92e0d4be4b341ef7410

6 years agoMerge "Place black background only behind nav bar when letterboxed" into oc-dr1-dev
Andrii Kulian [Tue, 15 Aug 2017 16:26:04 +0000 (16:26 +0000)]
Merge "Place black background only behind nav bar when letterboxed" into oc-dr1-dev

6 years agoMerge "Add fallback to reset the waiting for transition state." into oc-dr1-dev
Winson Chung [Tue, 15 Aug 2017 16:12:42 +0000 (16:12 +0000)]
Merge "Add fallback to reset the waiting for transition state." into oc-dr1-dev
am: 684b056531

Change-Id: I77816bf56dedac6127301dc7ffd1f1de3e91031d

6 years agoMerge "Add fallback to reset the waiting for transition state." into oc-dr1-dev
TreeHugger Robot [Tue, 15 Aug 2017 16:03:28 +0000 (16:03 +0000)]
Merge "Add fallback to reset the waiting for transition state." into oc-dr1-dev

6 years agoMerge "Change SystemApi as per API council feedback" into oc-mr1-dev
Neil Fuller [Tue, 15 Aug 2017 15:57:33 +0000 (15:57 +0000)]
Merge "Change SystemApi as per API council feedback" into oc-mr1-dev

6 years agoPersist docked state so it doesn't get lost in re-inflates
Jason Monk [Tue, 15 Aug 2017 15:34:33 +0000 (11:34 -0400)]
Persist docked state so it doesn't get lost in re-inflates

Test: manual
Change-Id: If335f1cf52c7bce270ac746e6b0ed3a6e2b18b1b
Fixes: 64487667

6 years agoManuall set accessibility order of zen radio grouping
Jason Monk [Tue, 15 Aug 2017 15:00:32 +0000 (11:00 -0400)]
Manuall set accessibility order of zen radio grouping

Test: manual
Change-Id: Icf461b0400d5ee90a537c2b52c123e76b3274bbf
Fixes: 62626544

6 years agoFix issue when launching Camera
Jorim Jaggi [Thu, 3 Aug 2017 14:59:44 +0000 (16:59 +0200)]
Fix issue when launching Camera

Imagine the following: HostPhotoActivity is above CameraActivity,
in the same task, and not visible. Now, we launch the Camera again
with STILL_IMAGE_CAPTURE, which launches a Trampoline activity
in the same task, which later starts CameraActivity with
CLEAR_TASK. However, in the meantime, since Trampoline activity is
translucent (r.fullscreen == false), we make HostPhotoActivity
visible. Now, since we bring the task to the front, we also create
a snapshot starting window, for which mViewVisibility == VISIBLE
always.

When the previous activity has finished pausing we make
HostPhotoActivity's starting window visible because of the
following:
- TrampolineActivity is on top of HostPhotoActivity, but in AM
sense it's "translucent",
- TrampolineActivity hasn't managed to start CameraActivity
yet.
- HostPhotoActivity.hasContentToDisplay returns true so when
we set the Dummy animation we set the transformation.alpha=1,
making the starting window visible.

We also need to fix a that HostPhotoActivity's starting window
can't affect SystemUI visibiltiy yet.

Test: Above flow
Test: go/wm-smoke
Change-Id: I4a62aaafab4d40e975bc86b53abd0c55c84911c2
Fixes: 64270512

6 years agoFix race condition crash
Jason Monk [Tue, 15 Aug 2017 13:32:27 +0000 (09:32 -0400)]
Fix race condition crash

1 line fix
Lots of lines for test

Test: runtest systemui
Change-Id: I90b006b5d9c02025ecc600c2f10014a96cbf33f8
Fixes: 62573587

6 years agoPackageManagerService: Change getCompressedFiles to reflect the new layout.
Narayan Kamath [Mon, 7 Aug 2017 17:59:14 +0000 (18:59 +0100)]
PackageManagerService: Change getCompressedFiles to reflect the new layout.

Stubs are compressed artifacts are installed in sibling directories.

The layout of a compressed package on a given partition is as follows :

Compressed artifacts:

/partition/ModuleName/foo.gz
/partation/ModuleName/bar.gz

// Stub artifact:

/partition/ModuleName-Stub/ModuleName-Stub.apk

In other words, stub is on the same partition as the compressed artifacts
and in a directory that's suffixed with "-Stub".

Bug: 63802184
Test: Manual

Change-Id: If7154c985956ae982ce40c8ede763b1c8e0175a9

6 years agoMerge "Revert "Default-disable tethering offload"" into oc-mr1-dev
TreeHugger Robot [Tue, 15 Aug 2017 08:48:02 +0000 (08:48 +0000)]
Merge "Revert "Default-disable tethering offload"" into oc-mr1-dev

6 years agoMerge changes Ifbd1e8d9,I1e017b6f into oc-mr1-dev
Lorenzo Colitti [Tue, 15 Aug 2017 06:47:24 +0000 (06:47 +0000)]
Merge changes Ifbd1e8d9,I1e017b6f into oc-mr1-dev

* changes:
  Pass data usage limits to tethering offload code.
  Don't time out when fetching tether offload stats.