OSDN Git Service

android-x86/frameworks-base.git
5 years agoMake WindowContainer surfaces container layers by default.
Chavi Weingarten [Thu, 7 Feb 2019 16:28:45 +0000 (16:28 +0000)]
Make WindowContainer surfaces container layers by default.

This reverts commit f6ef18334b4b90f025fa0ece969c2ce2f92221b1.

Reason for revert: ag/6227549 fixes underlying issue

Change-Id: Id1456529ef0009f8e28575ef591d9559c43db4a5
Fixes: 122561221
Test: go/wm-smoke

5 years agoMerge "Merge "[automerger skipped] Fix merge problems with cherry-picking "Add notifi...
Android Build Merger (Role) [Wed, 20 Feb 2019 18:29:44 +0000 (18:29 +0000)]
Merge "Merge "[automerger skipped] Fix merge problems with cherry-picking "Add notification settings to backup&restore" change into pi-dev am: 31a61f6348 -s ours am: f43dd2bd13 -s ours am: ee4cb4f1ee -s ours am skip reason: change_id I421c7487955ee339f88e3957c973375d0f87e2ff with SHA1 afc94d724c is in history"

5 years agoMerge changes from topic "glwallpaper_cleanup"
TreeHugger Robot [Wed, 20 Feb 2019 18:25:21 +0000 (18:25 +0000)]
Merge changes from topic "glwallpaper_cleanup"

* changes:
  Remove AOD_IMAGEWALLPAPER_ENABLED from feature flags
  Remove DrawableEngine and related logics

5 years agoMerge "Reduce CtsRoleTestCases to postsubmit as the test becomes too flaky"
Dan Shi [Wed, 20 Feb 2019 18:18:56 +0000 (18:18 +0000)]
Merge "Reduce CtsRoleTestCases to postsubmit as the test becomes too flaky"

5 years agoMerge "Add visibility config for assistant, home and emergency role."
TreeHugger Robot [Wed, 20 Feb 2019 18:16:13 +0000 (18:16 +0000)]
Merge "Add visibility config for assistant, home and emergency role."

5 years agoMerge "[automerger skipped] Fix merge problems with cherry-picking "Add notification...
Raman Tenneti [Wed, 20 Feb 2019 18:05:08 +0000 (10:05 -0800)]
Merge "[automerger skipped] Fix merge problems with cherry-picking "Add notification settings to backup&restore" change into pi-dev am: 31a61f6348 -s ours am: f43dd2bd13 -s ours
am: ee4cb4f1ee -s ours
am skip reason: change_id I421c7487955ee339f88e3957c973375d0f87e2ff with SHA1 afc94d724c is in history

Change-Id: If55cdbe094fb4409f20762109090361a11614768

5 years agoMerge "API adjustments for Picture serialization discussion"
TreeHugger Robot [Wed, 20 Feb 2019 18:00:28 +0000 (18:00 +0000)]
Merge "API adjustments for Picture serialization discussion"

5 years agoMerge "Make Bitmap#copy docs more accurate"
TreeHugger Robot [Wed, 20 Feb 2019 17:55:44 +0000 (17:55 +0000)]
Merge "Make Bitmap#copy docs more accurate"

5 years agoMerge "Add window trace status to the bug report"
Nataniel Borges [Wed, 20 Feb 2019 17:52:19 +0000 (17:52 +0000)]
Merge "Add window trace status to the bug report"

5 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Wed, 20 Feb 2019 17:46:43 +0000 (17:46 +0000)]
Merge "Import translations. DO NOT MERGE"

5 years agoMerge "[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev...
Android Build Merger (Role) [Wed, 20 Feb 2019 17:45:02 +0000 (17:45 +0000)]
Merge "[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev am: 31dccf9f69 -s ours am: 67619a4e57 -s ours am skip reason: subject contains skip directive"

5 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev am: 31dccf...
Bill Yi [Wed, 20 Feb 2019 17:44:14 +0000 (09:44 -0800)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev am: 31dccf9f69 -s ours
am: 67619a4e57 -s ours
am skip reason: subject contains skip directive

Change-Id: I7fd8c2a31a12097daa87dce02b0494106f2a6a49

5 years agoMerge "[automerger skipped] Fix merge problems with cherry-picking "Add notification...
Android Build Merger (Role) [Wed, 20 Feb 2019 17:44:03 +0000 (17:44 +0000)]
Merge "[automerger skipped] Fix merge problems with cherry-picking "Add notification settings to backup&restore" change into pi-dev am: 31a61f6348 -s ours am: f43dd2bd13 -s ours am skip reason: change_id I421c7487955ee339f88e3957c973375d0f87e2ff with SHA1 95bd7221f6 is in history" into pi-dev-plus-aosp

5 years agoMerge "Move the right method to max-sdk-o list."
Mathew Inwood [Wed, 20 Feb 2019 17:43:42 +0000 (17:43 +0000)]
Merge "Move the right method to max-sdk-o list."

5 years agoMerge "Fixed autofill workflow to call onConnected before handling pending requests."
Adam He [Wed, 20 Feb 2019 17:39:19 +0000 (17:39 +0000)]
Merge "Fixed autofill workflow to call onConnected before handling pending requests."

5 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
Bill Yi [Wed, 20 Feb 2019 17:39:09 +0000 (09:39 -0800)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am: 31dccf9f69 -s ours
am skip reason: subject contains skip directive

Change-Id: Idcd32e03f038d9f6ae5df7b54fad8c0f7ef6b4a3

5 years agoReduce CtsRoleTestCases to postsubmit as the test becomes too flaky
Dan Shi [Wed, 20 Feb 2019 17:31:47 +0000 (09:31 -0800)]
Reduce CtsRoleTestCases to postsubmit as the test becomes too flaky

Bug: 123376916
Test: none
Change-Id: Ibd53c2083b534e24d4cf0694fdb7421b3b703c42

5 years ago[automerger skipped] Fix merge problems with cherry-picking "Add notification setting...
Raman Tenneti [Wed, 20 Feb 2019 17:24:20 +0000 (09:24 -0800)]
[automerger skipped] Fix merge problems with cherry-picking "Add notification settings to backup&restore" change into pi-dev am: 31a61f6348 -s ours
am: f43dd2bd13 -s ours
am skip reason: change_id I421c7487955ee339f88e3957c973375d0f87e2ff with SHA1 95bd7221f6 is in history

Change-Id: I3659d3c7be000deb90c28967e621ca3a8989374e

5 years agoMerge "Adding KEY_PERMANENTLY_INVALIDATED int"
Max Bires [Wed, 20 Feb 2019 17:21:22 +0000 (17:21 +0000)]
Merge "Adding KEY_PERMANENTLY_INVALIDATED int"

5 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Wed, 20 Feb 2019 17:19:48 +0000 (17:19 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

5 years agoMerge "Disable APEX install on unsupported devices."
TreeHugger Robot [Wed, 20 Feb 2019 17:19:38 +0000 (17:19 +0000)]
Merge "Disable APEX install on unsupported devices."

5 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Wed, 20 Feb 2019 17:12:43 +0000 (17:12 +0000)]
Merge "Import translations. DO NOT MERGE"

5 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Wed, 20 Feb 2019 17:05:37 +0000 (17:05 +0000)]
Merge "Import translations. DO NOT MERGE"

5 years agoMerge "Remove ColorDisplayController"
Christine Franks [Wed, 20 Feb 2019 17:01:55 +0000 (17:01 +0000)]
Merge "Remove ColorDisplayController"

5 years agoMerge "Disables display content scaling for foldables"
Sam Lin [Wed, 20 Feb 2019 16:52:38 +0000 (16:52 +0000)]
Merge "Disables display content scaling for foldables"

5 years ago[automerger skipped] Fix merge problems with cherry-picking "Add notification setting...
Raman Tenneti [Wed, 20 Feb 2019 16:48:13 +0000 (08:48 -0800)]
[automerger skipped] Fix merge problems with cherry-picking "Add notification settings to backup&restore" change into pi-dev
am: 31a61f6348 -s ours
am skip reason: change_id I421c7487955ee339f88e3957c973375d0f87e2ff with SHA1 95bd7221f6 is in history

Change-Id: I76722b24202892034148a1c1030b8ca4d3417797

5 years agoMerge "[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev...
Android Build Merger (Role) [Wed, 20 Feb 2019 16:41:14 +0000 (16:41 +0000)]
Merge "[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev am: 85288a5e3c -s ours am: 54d5947793 -s ours am skip reason: subject contains skip directive"

5 years agoMerge "Move TextClassifier.getLocalTextClassifier() API."
TreeHugger Robot [Wed, 20 Feb 2019 16:40:21 +0000 (16:40 +0000)]
Merge "Move TextClassifier.getLocalTextClassifier() API."

5 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev am: 85288a...
Bill Yi [Wed, 20 Feb 2019 16:40:18 +0000 (08:40 -0800)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev am: 85288a5e3c -s ours
am: 54d5947793 -s ours
am skip reason: subject contains skip directive

Change-Id: I8e524ba33fe382b607d9cb40e0cb66c6054b35b0

5 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
Bill Yi [Wed, 20 Feb 2019 16:35:59 +0000 (08:35 -0800)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am: 85288a5e3c -s ours
am skip reason: subject contains skip directive

Change-Id: Iec829f315ae6c99cf4ab5b9f1f6e68b5d8f39a3f

5 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev am: e937b2...
Bill Yi [Wed, 20 Feb 2019 16:35:35 +0000 (08:35 -0800)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev am: e937b2703e -s ours
am: 0f70b8c4f7 -s ours
am skip reason: subject contains skip directive

Change-Id: I2d29e0bd50a1cade1644abb8f736af7210e13307

5 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev am: 93f661...
Bill Yi [Wed, 20 Feb 2019 16:34:08 +0000 (08:34 -0800)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev am: 93f661ab3b -s ours
am: 5556496511 -s ours
am skip reason: subject contains skip directive

Change-Id: Ica98dad1198d21d4205e0c928c0e077d5969c67f

5 years agoMerge "Support split APKs in staged installs."
Dario Freni [Wed, 20 Feb 2019 16:30:59 +0000 (16:30 +0000)]
Merge "Support split APKs in staged installs."

5 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
Bill Yi [Wed, 20 Feb 2019 16:29:00 +0000 (08:29 -0800)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am: e937b2703e -s ours
am skip reason: subject contains skip directive

Change-Id: Ic06d9c19e9213965262889d5b7f56b84751e9592

5 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
Bill Yi [Wed, 20 Feb 2019 16:27:16 +0000 (08:27 -0800)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am: 93f661ab3b -s ours
am skip reason: subject contains skip directive

Change-Id: I7305d8553060fc8b48ff33bb717c579e353fbaea

5 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Wed, 20 Feb 2019 16:25:17 +0000 (16:25 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

5 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Wed, 20 Feb 2019 16:20:24 +0000 (16:20 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

5 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Wed, 20 Feb 2019 16:14:10 +0000 (16:14 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

5 years agoMerge "Temporarily grant legacy storage to certain apps."
Jeff Sharkey [Wed, 20 Feb 2019 16:13:23 +0000 (16:13 +0000)]
Merge "Temporarily grant legacy storage to certain apps."

5 years agoMerge "Services: Add more PMS presubmits"
Andreas Gampe [Wed, 20 Feb 2019 15:54:27 +0000 (15:54 +0000)]
Merge "Services: Add more PMS presubmits"

5 years agoMerge "Changes on the ContentCaptureContext APIs."
TreeHugger Robot [Wed, 20 Feb 2019 15:51:59 +0000 (15:51 +0000)]
Merge "Changes on the ContentCaptureContext APIs."

5 years agoMerge "Don't lock WM when calling ActivityStackSupervisor.resolveIntent()"
TreeHugger Robot [Wed, 20 Feb 2019 15:51:52 +0000 (15:51 +0000)]
Merge "Don't lock WM when calling ActivityStackSupervisor.resolveIntent()"

5 years agoMerge "[automerger skipped] Merge "Use sampled value in hidden api logger" am: 619ed8...
Android Build Merger (Role) [Wed, 20 Feb 2019 15:31:59 +0000 (15:31 +0000)]
Merge "[automerger skipped] Merge "Use sampled value in hidden api logger" am: 619ed85e81 am: 818e8c1bf2 am: 98b52faf43 -s ours am skip reason: change_id I707a2624a254a80391cdae277dd59daa503d055f with SHA1 31bde16393 is in history"

5 years ago[automerger skipped] Merge "Use sampled value in hidden api logger" am: 619ed85e81...
Andrei-Valentin Onea [Wed, 20 Feb 2019 15:30:08 +0000 (07:30 -0800)]
[automerger skipped] Merge "Use sampled value in hidden api logger" am: 619ed85e81 am: 818e8c1bf2
am: 98b52faf43 -s ours
am skip reason: change_id I707a2624a254a80391cdae277dd59daa503d055f with SHA1 31bde16393 is in history

Change-Id: I8aacdc0e9c6c579941c4e3a56211800464dbbda7

5 years agoMerge "Add API comment for new API in WallpaperService."
TreeHugger Robot [Wed, 20 Feb 2019 15:22:58 +0000 (15:22 +0000)]
Merge "Add API comment for new API in WallpaperService."

5 years agoMerge "Use sampled value in hidden api logger" am: 619ed85e81
Andrei-Valentin Onea [Wed, 20 Feb 2019 15:15:07 +0000 (07:15 -0800)]
Merge "Use sampled value in hidden api logger" am: 619ed85e81
am: 818e8c1bf2

Change-Id: I2cb5ac6bfae6cc98398688a4b5695260a863578a

5 years agoMerge "Add tracepoints for process starts"
Ioannis Ilkos [Wed, 20 Feb 2019 15:13:09 +0000 (15:13 +0000)]
Merge "Add tracepoints for process starts"

5 years agoMerge "Use sampled value in hidden api logger"
Andrei-Valentin Onea [Wed, 20 Feb 2019 15:04:44 +0000 (07:04 -0800)]
Merge "Use sampled value in hidden api logger"
am: 619ed85e81

Change-Id: Ib6ff5b5aa75d1b35bf91748f260bab14aa6eabab

5 years agoMerge "Public API for statically accessing global list of window views"
Alan Viverette [Wed, 20 Feb 2019 14:59:12 +0000 (14:59 +0000)]
Merge "Public API for statically accessing global list of window views"

5 years agoMerge "Kill app zygote when package is removed."
Martijn Coenen [Wed, 20 Feb 2019 14:49:11 +0000 (14:49 +0000)]
Merge "Kill app zygote when package is removed."

5 years agoMerge "Use sampled value in hidden api logger"
Andrei-Valentin Onea [Wed, 20 Feb 2019 14:49:10 +0000 (14:49 +0000)]
Merge "Use sampled value in hidden api logger"

5 years agoMerge "MediaProjection: Update permissions dialog."
TreeHugger Robot [Wed, 20 Feb 2019 14:37:26 +0000 (14:37 +0000)]
Merge "MediaProjection: Update permissions dialog."

5 years agoSupport split APKs in staged installs.
Dario Freni [Wed, 20 Feb 2019 14:09:36 +0000 (14:09 +0000)]
Support split APKs in staged installs.

Fix: 123629153
Bug: 124807191
Test: installed a mainline module containing one base apk plus two
splits.

Change-Id: I8f6707370188fff9407dd00ff5d90bb83937657e

5 years agoMerge "Fix Adjustment for API review"
Fabian Kozynski [Wed, 20 Feb 2019 14:01:53 +0000 (14:01 +0000)]
Merge "Fix Adjustment for API review"

5 years agoMerge "Fix potential memory leak in SomeArgs" am: 8a71e01423 am: 17f5ae9e26
Adrian Roos [Wed, 20 Feb 2019 13:32:38 +0000 (05:32 -0800)]
Merge "Fix potential memory leak in SomeArgs" am: 8a71e01423 am: 17f5ae9e26
am: 381584a50b

Change-Id: Ie3a6c96582636da189b89df866357a34b96c5a55

5 years agoMerge "Fix potential memory leak in SomeArgs" am: 8a71e01423
Adrian Roos [Wed, 20 Feb 2019 13:18:06 +0000 (05:18 -0800)]
Merge "Fix potential memory leak in SomeArgs" am: 8a71e01423
am: 17f5ae9e26

Change-Id: I3e8c2c3f2e6cf0e119b1c6dcc1249096ea538e8c

5 years agoMerge "Fix inconsistent getPackageInfo() calls when parsing exceptions."
TreeHugger Robot [Wed, 20 Feb 2019 13:17:34 +0000 (13:17 +0000)]
Merge "Fix inconsistent getPackageInfo() calls when parsing exceptions."

5 years agoMerge "Fix potential memory leak in SomeArgs"
Adrian Roos [Wed, 20 Feb 2019 13:03:59 +0000 (05:03 -0800)]
Merge "Fix potential memory leak in SomeArgs"
am: 8a71e01423

Change-Id: I007ff55f39a3239c530c30306409b498ac066801

5 years agoMerge "Fix flaky testForAllWinddow"
TreeHugger Robot [Wed, 20 Feb 2019 13:00:47 +0000 (13:00 +0000)]
Merge "Fix flaky testForAllWinddow"

5 years agoUse sampled value in hidden api logger
Andrei Onea [Fri, 15 Feb 2019 13:50:47 +0000 (13:50 +0000)]
Use sampled value in hidden api logger

The hidden api logger interface also receives the actual sampled value.
This is an intermediate step before a new logging method is added.

Test: m
Bug: 119217680

(cherry picked from commit 31bde163932dab75a8301e43b2adcb684f0470ec)

Change-Id: I3345bdcdf57e1f60970c85572e503d7b33af7148
Merged-In: I707a2624a254a80391cdae277dd59daa503d055f

5 years agoMerge "AAPT2: allow regexes for extensions to not compress"
Izabela Orlowska [Wed, 20 Feb 2019 12:55:58 +0000 (12:55 +0000)]
Merge "AAPT2: allow regexes for extensions to not compress"

5 years agoMerge "Fix potential memory leak in SomeArgs"
Adrian Roos [Wed, 20 Feb 2019 12:50:28 +0000 (12:50 +0000)]
Merge "Fix potential memory leak in SomeArgs"

5 years agoRemove AOD_IMAGEWALLPAPER_ENABLED from feature flags
Ahan Wu [Wed, 20 Feb 2019 11:28:50 +0000 (19:28 +0800)]
Remove AOD_IMAGEWALLPAPER_ENABLED from feature flags

The design of aod image wallpaper has changed and we don't need this
implementation any more so we remove it from feature flags.

Bug: 118470430
Bug: 123617158
Test: Manually

Change-Id: I4d48a8b6b8146b754c1d1f48c35855190219d8a9

5 years agoRemove DrawableEngine and related logics
Ahan Wu [Wed, 20 Feb 2019 11:15:04 +0000 (19:15 +0800)]
Remove DrawableEngine and related logics

We will always render image wallpaper with GLEngine so the
DrawableEnigne is no longer necessary.

Remove DrawableEngine and related code including tests makes the code
more clean.

Bug: 123617158
Test: Manually set wallpaper by Photos and rotate home
Test: runtest systemui

Change-Id: I630112e755b74217e44518ec93273c99fb173f24

5 years agoMerge "Skip unreachable route when estimating VPN destinations" am: 21078b1edd am...
Rubin Xu [Wed, 20 Feb 2019 12:35:38 +0000 (04:35 -0800)]
Merge "Skip unreachable route when estimating VPN destinations" am: 21078b1edd am: e000de90f4
am: 12d2de6417

Change-Id: Id81038035eddf98d0c4546ddb25c8f6ed5736ad6

5 years agoMerge "Skip unreachable route when estimating VPN destinations" am: 21078b1edd
Rubin Xu [Wed, 20 Feb 2019 12:26:25 +0000 (04:26 -0800)]
Merge "Skip unreachable route when estimating VPN destinations" am: 21078b1edd
am: e000de90f4

Change-Id: Ia9301b3bf52b42a742f1f6b3a02499a1404ed3f1

5 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 20 Feb 2019 12:22:27 +0000 (04:22 -0800)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Id0e3afb74226f19cf422bdc5e33455a195676055

5 years agoMerge "Skip unreachable route when estimating VPN destinations"
Rubin Xu [Wed, 20 Feb 2019 12:15:55 +0000 (04:15 -0800)]
Merge "Skip unreachable route when estimating VPN destinations"
am: 21078b1edd

Change-Id: Iafa9ecaf07a36f235b366655d2fa2165a676d1cd

5 years agoMerge "Fix a misspelled permission"
TreeHugger Robot [Wed, 20 Feb 2019 12:09:36 +0000 (12:09 +0000)]
Merge "Fix a misspelled permission"

5 years agoDisables display content scaling for foldables
Sam Lin [Mon, 18 Feb 2019 12:50:26 +0000 (04:50 -0800)]
Disables display content scaling for foldables

When setting folded area with changes both in width and height (set
0,0,540,1080 to a 1080x2160 device), the content of display will be
auto-scaled to physical display size. It is not an expected behavior
for foldable devices. Disable auto-scale to fix this issue.

1. LogicalDisplay.configureDisplayLocked() scales the contents according
the DisplayInfo.flags.
2. DisplayInfo.flags should not be overridden by design for a logical
display.
3. Adds disableDisplayScaling() for DisplayFoldController to bypass that.

Bug: 123245311
Test: atest WmTests
Test: adb shell wm folded-area 0,0,840,1260
Change-Id: I9a24c5d56799981b4f2cfe82fdf1898d87193681

5 years agoMerge "Skip unreachable route when estimating VPN destinations"
Treehugger Robot [Wed, 20 Feb 2019 12:00:15 +0000 (12:00 +0000)]
Merge "Skip unreachable route when estimating VPN destinations"

5 years agoMerge "Add atom for logging hidden API usage"
Andrei-Valentin Onea [Wed, 20 Feb 2019 11:57:26 +0000 (11:57 +0000)]
Merge "Add atom for logging hidden API usage"

5 years agoMerge "Doc Change For DPM.setPermittedInputMethods"
Eric Sandness [Wed, 20 Feb 2019 11:57:09 +0000 (11:57 +0000)]
Merge "Doc Change For DPM.setPermittedInputMethods"

5 years agoMerge "Consider 200 response with "Content-length <= 4" to not be a captive portal...
Sehee Park [Wed, 20 Feb 2019 11:54:38 +0000 (03:54 -0800)]
Merge "Consider 200 response with "Content-length <= 4" to not be a captive portal." am: 1d18e60e76 am: 87bba9d278
am: 94dbe8d0e3

Change-Id: I331a13b07d74f2b7755e3165bc584a0152501a83

5 years agoMerge "Consider 200 response with "Content-length <= 4" to not be a captive portal...
Sehee Park [Wed, 20 Feb 2019 11:44:53 +0000 (03:44 -0800)]
Merge "Consider 200 response with "Content-length <= 4" to not be a captive portal." am: 1d18e60e76
am: 87bba9d278

Change-Id: Ie3e8a250b24acf668fbcdb48b6242e1ea83ebfa2

5 years agoMerge "Removed debugging logging that was left in."
TreeHugger Robot [Wed, 20 Feb 2019 11:41:58 +0000 (11:41 +0000)]
Merge "Removed debugging logging that was left in."

5 years agoMerge "Consider 200 response with "Content-length <= 4" to not be a captive portal."
Sehee Park [Wed, 20 Feb 2019 11:35:36 +0000 (03:35 -0800)]
Merge "Consider 200 response with "Content-length <= 4" to not be a captive portal."
am: 1d18e60e76

Change-Id: I8316ad19bb5633e5c6d64d6c7e589b4bb4548617

5 years agoMerge "Consider 200 response with "Content-length <= 4" to not be a captive portal."
Treehugger Robot [Wed, 20 Feb 2019 11:14:24 +0000 (11:14 +0000)]
Merge "Consider 200 response with "Content-length <= 4" to not be a captive portal."

5 years agoMerge "Replace generic GC type flag with a specific Generational CC flag."
Roland Levillain [Wed, 20 Feb 2019 10:57:14 +0000 (10:57 +0000)]
Merge "Replace generic GC type flag with a specific Generational CC flag."

5 years agoMerge "Convert Android.mk file to Android.bp"
TreeHugger Robot [Wed, 20 Feb 2019 10:56:33 +0000 (10:56 +0000)]
Merge "Convert Android.mk file to Android.bp"

5 years agoMerge "Add Introspection API to retrieve AudioProductStrategies"
TreeHugger Robot [Wed, 20 Feb 2019 10:51:30 +0000 (10:51 +0000)]
Merge "Add Introspection API to retrieve AudioProductStrategies"

5 years agoMerge "Add a way for holders of START_ACTIVITIES_FROM_BACKGROUND to allow bg activity...
Michal Karpinski [Wed, 20 Feb 2019 10:50:32 +0000 (10:50 +0000)]
Merge "Add a way for holders of START_ACTIVITIES_FROM_BACKGROUND to allow bg activity starts starts from specific receivers"

5 years agoReplace generic GC type flag with a specific Generational CC flag.
Roland Levillain [Tue, 19 Feb 2019 18:09:58 +0000 (18:09 +0000)]
Replace generic GC type flag with a specific Generational CC flag.

The "gctype" device configuration flag (from the "runtime_native_boot"
namespace) was a string passed verbatim as an argument to the runtime
option "-Xgc". It was too generic, conveyed no typing information, and
was error-prone (there was no control over what was passed from the
server to the zygote, and then to the runtime).

This change replaces "gctype" with a specific, Boolean
"enable_generational_cc" flag. This new flag better reflects the
nature of the experiment to be conducted (either enable or disable
generational garbage collection in ART's concurrent copying
collector).

Test: core/jni/runtime_native_boot-flags-test.sh
Bug: 72446017
Bug: 120794191
Bug: 123754583
Change-Id: I30a73171c0dc3c7bc891c4f164eed0ba42b0f420

5 years agoMediaProjection: Update permissions dialog.
Narayan Kamath [Tue, 19 Feb 2019 18:42:56 +0000 (18:42 +0000)]
MediaProjection: Update permissions dialog.

- Include the app icon and a warning title.
- Update the detailed text to include the kind of information that
  could potentially be captured by a screen recorder.
- Remove the checkbox that allows the grant to be permanent.

Bug: 124753835
Test: Manual
Change-Id: Ib1269b2ddaa3150fe850ea306961df3ad3420c6c

5 years agoAAPT2: allow regexes for extensions to not compress
Izabela Orlowska [Fri, 1 Jun 2018 11:06:31 +0000 (12:06 +0100)]
AAPT2: allow regexes for extensions to not compress

Change-Id: I09d2ad1d1466643ca7628c6480224e16b9002ee5
Fixes: 67575899
Test: added + manual

5 years agoMerge "Use sampled value in hidden api logger"
Andrei-Valentin Onea [Wed, 20 Feb 2019 10:29:43 +0000 (10:29 +0000)]
Merge "Use sampled value in hidden api logger"

5 years agoAdd tracepoints for process starts
Ioannis Ilkos [Wed, 6 Feb 2019 11:43:48 +0000 (11:43 +0000)]
Add tracepoints for process starts

Add a tracepoint when we dispatch the startProcess msg and one for
handling it.

Test: WmTests:ActivityStackSupervisorTests && FrameworksServicesTests:ActivityManagerServiceTest
Change-Id: I796b6875873b6300b843920e00b97b3c83ddb331

5 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 20 Feb 2019 10:21:29 +0000 (02:21 -0800)]
Import translations. DO NOT MERGE

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

5 years agoMerge "Introduce a way to turn a fullscreen window into freeform"
TreeHugger Robot [Wed, 20 Feb 2019 09:43:51 +0000 (09:43 +0000)]
Merge "Introduce a way to turn a fullscreen window into freeform"

5 years agoFix potential memory leak in SomeArgs
Bin Chen [Wed, 20 Feb 2019 09:34:04 +0000 (17:34 +0800)]
Fix potential memory leak in SomeArgs

When recycling SomeArgs in pool, some fields are not set to null.
Which result potential memory leak as SomeArgs in pool still holds
the reference object.
To fix this issue, clear all args when recycling.

Change-Id: Ie730c3889da948c60ef746ddbe2e926d94ad7e06
Signed-off-by: Bin Chen <bin0515@gmail.com>
Signed-off-by: Wei Huang <hwbest.v@gmail.com>
5 years agoKill app zygote when package is removed.
Martijn Coenen [Wed, 20 Feb 2019 09:33:41 +0000 (10:33 +0100)]
Kill app zygote when package is removed.

Since the app zygote is kept around for a few seconds after the last
isolated service using it goes away, it was possible to install a new
version of an app and launch a service before that timeout had expired -
causing the service to use the app zygote which loaded the old code. To
prevent this, clean up the app zygote as part of package process
cleanup.

Bug: 124401845
Test: manual
Change-Id: I2d2ef28280a9631275569e419283e160ca9e1105

5 years agoFix flaky testForAllWinddow
Yunfan Chen [Mon, 18 Feb 2019 06:12:33 +0000 (15:12 +0900)]
Fix flaky testForAllWinddow

It was flaky because the exiting window may be removed before the
assertion. Prevent it from removal can fix it.

During the setup, while window get created, there are
WindowSurfacePlacer traversal being posted to mAnimationHandler. This
could happen while we run the test. During the traversal, all exiting
window will be removed if possible, and the test window will get
removed.

Wait until the traversal finished can fix the issue.

Bug: 77772044
Bug: 74078662
Bug: 124088319
Test: atest DisplayContentTests#testForAllWindows
Change-Id: I7f14605d3bd4a548755b7e88b0294168ab46ec7b

5 years agoMerge "Avoid resuming same activity twice"
TreeHugger Robot [Wed, 20 Feb 2019 08:50:02 +0000 (08:50 +0000)]
Merge "Avoid resuming same activity twice"

5 years agoMerge "Hide sSystemFontMap in Typeface."
TreeHugger Robot [Wed, 20 Feb 2019 08:38:30 +0000 (08:38 +0000)]
Merge "Hide sSystemFontMap in Typeface."

5 years agoFix a misspelled permission
Po-Chien Hsueh [Wed, 20 Feb 2019 08:37:08 +0000 (16:37 +0800)]
Fix a misspelled permission

MANAGE_DYNAMIC_ANDROID is misspelled. Fix it.

Bug: 124637092
Test: adb shell am start-activity
Change-Id: I2db3643719f44fcd175ed175c037f17b6c4b6c07

5 years agoMerge "Ignore EEXIST errors when creating pkg specific dirs."
Sudheer Shanka [Wed, 20 Feb 2019 08:11:25 +0000 (08:11 +0000)]
Merge "Ignore EEXIST errors when creating pkg specific dirs."

5 years agoMerge "Start RenderThread earlier to preload Vulkan/EGL drivers"
TreeHugger Robot [Wed, 20 Feb 2019 08:07:39 +0000 (08:07 +0000)]
Merge "Start RenderThread earlier to preload Vulkan/EGL drivers"

5 years agoMerge "Convert Android.mk file to Android.bp"
TreeHugger Robot [Wed, 20 Feb 2019 08:06:18 +0000 (08:06 +0000)]
Merge "Convert Android.mk file to Android.bp"

5 years agoMerge "MediaSession2: Add SessionCallback#onPostConnect()"
TreeHugger Robot [Wed, 20 Feb 2019 08:06:05 +0000 (08:06 +0000)]
Merge "MediaSession2: Add SessionCallback#onPostConnect()"

5 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 20 Feb 2019 07:57:32 +0000 (23:57 -0800)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I1e9a93f1b40f89db42865246b67fdea660184808