OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Add tron logging for phone orientation"
Susi Kharraz-Post [Wed, 20 Feb 2019 21:00:39 +0000 (21:00 +0000)]
Merge "Add tron logging for phone orientation"

5 years agoMerge "Add some @IntRange"
TreeHugger Robot [Wed, 20 Feb 2019 20:42:05 +0000 (20:42 +0000)]
Merge "Add some @IntRange"

5 years ago[automerger skipped] Merge "Update VPN capabilities when its underlying network set...
Varun Anand [Wed, 20 Feb 2019 20:36:39 +0000 (12:36 -0800)]
[automerger skipped] Merge "Update VPN capabilities when its underlying network set is null." into pi-dev am: b4b64ad602 -s ours
am: 1eaff3f103 -s ours
am skip reason: change_id Id0abc4d304bb096e92479a118168690ccce634ed with SHA1 4fa80e8a2f is in history

Change-Id: Icab5d7a43a26be9a4c2d01279453571062b2a808

5 years ago[automerger skipped] Merge "Update VPN capabilities when its underlying network set...
Varun Anand [Wed, 20 Feb 2019 20:14:20 +0000 (12:14 -0800)]
[automerger skipped] Merge "Update VPN capabilities when its underlying network set is null." into pi-dev
am: b4b64ad602 -s ours
am skip reason: change_id Id0abc4d304bb096e92479a118168690ccce634ed with SHA1 4fa80e8a2f is in history

Change-Id: I8cdd422bf5686c707d60137eccb4e1caae8194a3

5 years agoMerge "Update VPN capabilities when its underlying network set is null." into pi-dev
TreeHugger Robot [Wed, 20 Feb 2019 19:39:41 +0000 (19:39 +0000)]
Merge "Update VPN capabilities when its underlying network set is null." into pi-dev

5 years agoMerge "Adds unit tests for RescueParty."
TreeHugger Robot [Wed, 20 Feb 2019 19:32:44 +0000 (19:32 +0000)]
Merge "Adds unit tests for RescueParty."

5 years ago[automerger skipped] Merge changes from topic "PPRL.190205.001" am: 4ba3b12efb -s...
Xin Li [Wed, 20 Feb 2019 19:26:07 +0000 (11:26 -0800)]
[automerger skipped] Merge changes from topic "PPRL.190205.001" am: 4ba3b12efb -s ours am: 1e8a0c8d89 -s ours
am: 5755d6ad39 -s ours
am skip reason: change_id I421c7487955ee339f88e3957c973375d0f87e2ff with SHA1 afc94d724c is in history

Change-Id: I9d0dd19c248b350d12233c4d9a71a30659021388

5 years agoUpdate VPN capabilities when its underlying network set is null.
Varun Anand [Wed, 6 Feb 2019 18:13:38 +0000 (10:13 -0800)]
Update VPN capabilities when its underlying network set is null.

Previously, they were only updated when underlying network set was
non-null.

This change also ensures that all the calls b/w ConnectivityService and
Vpn that leads to updating capabilities are on ConnectivityService
handler thread.

Additionally, it also ensures that capabilities are propagated after VPN
enters connected state.

This change also updates VPN capabilities inline from
ConnectivityService handler thread. Previously, there was an additional
loop where Vpn would update capabilities via NetworkAgent thru
AsyncChannel which posts back to CS handler thread, which could
potentially lead to delays in updating VPN capabilities.

Bug: 119129310
Bug: 118856062
Bug: 124268198
Test: atest FrameworksNetTests
Test: manual - verified VPNs capabilities are getting updated and
DownloadManager is working correctly.

(cherry picked from commit 4fa80e8a2f03557221e0371a987e780df7788faa)

Change-Id: Iae5f2024b19df04c31938815b52687781d016cde
Merged-In: Id0abc4d304bb096e92479a118168690ccce634ed

5 years ago[automerger skipped] Merge changes from topic "PPRL.190205.001" am: 4ba3b12efb -s...
Xin Li [Wed, 20 Feb 2019 18:36:50 +0000 (10:36 -0800)]
[automerger skipped] Merge changes from topic "PPRL.190205.001" am: 4ba3b12efb -s ours
am: 1e8a0c8d89 -s ours
am skip reason: change_id I421c7487955ee339f88e3957c973375d0f87e2ff with SHA1 95bd7221f6 is in history

Change-Id: If0a545f1a09f0a4471f2c6adadfe79ad434bebd4

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 agoAdd some @IntRange
John Reck [Wed, 20 Feb 2019 18:23:41 +0000 (10:23 -0800)]
Add some @IntRange

IntRange just matches what would have resulted in an
IllegalArgumentException, no new restrictions

Fixes: 124767261
Test: N/A
Change-Id: Iad04587f2c10008798098fc56481e45de4c64c0b

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 ago[automerger skipped] Merge changes from topic "PPRL.190205.001"
Xin Li [Wed, 20 Feb 2019 18:17:48 +0000 (10:17 -0800)]
[automerger skipped] Merge changes from topic "PPRL.190205.001"
am: 4ba3b12efb -s ours
am skip reason: change_id I421c7487955ee339f88e3957c973375d0f87e2ff with SHA1 95bd7221f6 is in history

Change-Id: Ieb824b633f240abc96ee25f39c68f55f1bd621bd

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 agoAdd tron logging for phone orientation
Susi Kharraz-Post [Tue, 12 Feb 2019 19:21:29 +0000 (14:21 -0500)]
Add tron logging for phone orientation

Knowing the orientation (landscape vs. portrait) of the phone is a
useful aspect of to know when interpreting user phone interaction. Among
the usecases is analysis of share behavior.

Bug: 122511750
Test: Added unit test in DisplayContentTests.java
Change-Id: Ibf1e2040e2eb082580e1c4a65cf242870460f1ef

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 changes from topic "PPRL.190205.001"
Xin Li [Wed, 20 Feb 2019 16:25:58 +0000 (16:25 +0000)]
Merge changes from topic "PPRL.190205.001"

* changes:
  Fix merge problems with cherry-picking "Add notification settings to backup&restore" change into pi-dev
  DO NOT MERGE - Merge PPRL.190205.001 into master

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 agoAdds unit tests for RescueParty.
bpetrivs [Thu, 7 Feb 2019 16:01:24 +0000 (16:01 +0000)]
Adds unit tests for RescueParty.

Test: unit tests.
Bug: 113100803
Change-Id: I4fe35663856395550dc089bad3fdcd46fe69417b

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