OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Take snapshot directly during change transition" into qt-dev
Evan Rosky [Thu, 30 May 2019 22:29:43 +0000 (15:29 -0700)]
Merge "Take snapshot directly during change transition" into qt-dev
am: ed057ab244

Change-Id: I3f127cf09d2ac6340095121a36795a59e1d5a94a

5 years agoMerge "Take snapshot directly during change transition" into qt-dev
Evan Rosky [Thu, 30 May 2019 22:11:37 +0000 (22:11 +0000)]
Merge "Take snapshot directly during change transition" into qt-dev

5 years agoMerge "Use unbatched inputeventreceiver, reduce touchslop" into qt-dev
Siarhei Vishniakou [Thu, 30 May 2019 21:52:39 +0000 (14:52 -0700)]
Merge "Use unbatched inputeventreceiver, reduce touchslop" into qt-dev
am: 2fb4cb55f0

Change-Id: Ia2b1bcb2c98adac680bbe223b8818b1a62338132

5 years agoMerge "Shift call statistics back to the original caller." into qt-dev
Jeff Sharkey [Thu, 30 May 2019 21:43:33 +0000 (14:43 -0700)]
Merge "Shift call statistics back to the original caller." into qt-dev
am: c4289bdeca

Change-Id: I483473d7a65cde8269b2c4b75abe1a0c49ef1620

5 years agoMerge "Use unbatched inputeventreceiver, reduce touchslop" into qt-dev
TreeHugger Robot [Thu, 30 May 2019 21:42:27 +0000 (21:42 +0000)]
Merge "Use unbatched inputeventreceiver, reduce touchslop" into qt-dev

5 years agoMerge "Shift call statistics back to the original caller." into qt-dev
Jeff Sharkey [Thu, 30 May 2019 21:29:21 +0000 (21:29 +0000)]
Merge "Shift call statistics back to the original caller." into qt-dev

5 years ago[automerger skipped] Merge "Convert SettingsLib tests to Android.bp" am: d0de38b222
Colin Cross [Thu, 30 May 2019 21:25:30 +0000 (14:25 -0700)]
[automerger skipped] Merge "Convert SettingsLib tests to Android.bp" am: d0de38b222
am: ec3a29c544 -s ours
am skip reason: change_id I69b5b2c6c22f93a31ef978710867226cb1ba3db0 with SHA1 fdec9ffee0 is in history

Change-Id: Ic2d055ddf34ad5fa1f91dca761f23b8c8cc9f3c0

5 years agoMerge "Adds strings for notifications when default launcher changes" into qt-dev
Mehdi Alizadeh [Thu, 30 May 2019 21:22:19 +0000 (14:22 -0700)]
Merge "Adds strings for notifications when default launcher changes" into qt-dev
am: 32d97863d6

Change-Id: I021814ff3030d9821ef8de1385b66f0b28278686

5 years agoMerge "Convert SettingsLib tests to Android.bp"
Colin Cross [Thu, 30 May 2019 21:14:23 +0000 (14:14 -0700)]
Merge "Convert SettingsLib tests to Android.bp"
am: d0de38b222

Change-Id: I2b41c0d12dc70102e4c620a61e5d9fc2706a881b

5 years agoMerge "Adds strings for notifications when default launcher changes" into qt-dev
Mehdi Alizadeh [Thu, 30 May 2019 21:13:08 +0000 (21:13 +0000)]
Merge "Adds strings for notifications when default launcher changes" into qt-dev

5 years agoMerge "Convert SettingsLib tests to Android.bp"
Colin Cross [Thu, 30 May 2019 21:08:52 +0000 (21:08 +0000)]
Merge "Convert SettingsLib tests to Android.bp"

5 years agoMerge "Look for bootanimation in apex-module" into qt-dev
Anders Fridlund [Thu, 30 May 2019 20:59:26 +0000 (13:59 -0700)]
Merge "Look for bootanimation in apex-module" into qt-dev
am: 36e3da7920

Change-Id: Ib37abe37122d14a2e3d3a4ecaae5c24a23ba9992

5 years agoMerge "Add one more config resource for contacts provider" into qt-dev
Makoto Onuki [Thu, 30 May 2019 20:53:53 +0000 (13:53 -0700)]
Merge "Add one more config resource for contacts provider" into qt-dev
am: 70554da78d

Change-Id: I8a9197a4b3b7b0ae85cf624ca1815c418bd94588

5 years agoMerge "Look for bootanimation in apex-module" into qt-dev
TreeHugger Robot [Thu, 30 May 2019 20:37:19 +0000 (20:37 +0000)]
Merge "Look for bootanimation in apex-module" into qt-dev

5 years agoMerge "Add one more config resource for contacts provider" into qt-dev
Makoto Onuki [Thu, 30 May 2019 20:33:06 +0000 (20:33 +0000)]
Merge "Add one more config resource for contacts provider" into qt-dev

5 years ago[automerger skipped] Merge changes from topic "vpn_data_accn_tests" am: b50e778fa7
Varun Anand [Thu, 30 May 2019 20:26:09 +0000 (13:26 -0700)]
[automerger skipped] Merge changes from topic "vpn_data_accn_tests" am: b50e778fa7
am: 9561790069 -s ours
am skip reason: change_id Iffd3f95fc2e11d311691a797b010edb38d2ef3c6 with SHA1 1419b0b20e is in history

Change-Id: I86c99de74590e3ad54055a16b5c349b6ba3659ab

5 years agoMerge changes from topic "vpn_data_accn_tests"
Varun Anand [Thu, 30 May 2019 20:11:03 +0000 (13:11 -0700)]
Merge changes from topic "vpn_data_accn_tests"
am: b50e778fa7

Change-Id: I52f55fe3ddcd06de6219078dd300f0995972100c

5 years agoMerge "Hide assist handles during generic assist gesture invocation." into qt-dev
Matt Casey [Thu, 30 May 2019 19:56:28 +0000 (12:56 -0700)]
Merge "Hide assist handles during generic assist gesture invocation." into qt-dev
am: c71c7fe881

Change-Id: I81d7b76ba91b00dd547378b640fa9545dadf6458

5 years agoMerge "Hide assist handles during generic assist gesture invocation." into qt-dev
Matt Casey [Thu, 30 May 2019 19:38:38 +0000 (19:38 +0000)]
Merge "Hide assist handles during generic assist gesture invocation." into qt-dev

5 years agoMerge "DO NOT MERGE Revert "Adding the privacy chip to the CarStatusBar"" into qt-dev
Priyank Singh [Thu, 30 May 2019 19:37:04 +0000 (12:37 -0700)]
Merge "DO NOT MERGE Revert "Adding the privacy chip to the CarStatusBar"" into qt-dev
am: 5a0b7e59c4

Change-Id: I0406800cb9b5848b5c85d223564952b5c13e38f0

5 years agoDO NOT MERGE Revert "Adding the privacy chip to the CarStatusBar"
Priyank Singh [Thu, 30 May 2019 19:37:02 +0000 (12:37 -0700)]
DO NOT MERGE Revert "Adding the privacy chip to the CarStatusBar"
am: a6c1e6ab65

Change-Id: I92b9859990cdc6103eaa8d280b94befe07a6af38

5 years agoMerge changes from topic "vpn_data_accn_tests"
Varun Anand [Thu, 30 May 2019 19:34:28 +0000 (19:34 +0000)]
Merge changes from topic "vpn_data_accn_tests"

* changes:
  Add one more test for VPN usage stats.
  Addressing comments for http://ag/7700679.

5 years agoMerge "DO NOT MERGE Revert "Adding the privacy chip to the CarStatusBar"" into qt-dev
TreeHugger Robot [Thu, 30 May 2019 19:20:20 +0000 (19:20 +0000)]
Merge "DO NOT MERGE Revert "Adding the privacy chip to the CarStatusBar"" into qt-dev

5 years agoDO NOT MERGE Revert "Adding the privacy chip to the CarStatusBar"
Priyank Singh [Thu, 30 May 2019 01:09:35 +0000 (01:09 +0000)]
DO NOT MERGE Revert "Adding the privacy chip to the CarStatusBar"

This reverts commit 5bd5767768a9dc0a0d2972239fbfd2f68258cfd9.

Reason for revert: We want to delete all the code related to privacy chip/indicator from Q as of now. b/132292477

Bug: 133898491
Change-Id: Ieddae7509d918ab63a5b3111e0efc623fae644b3

5 years agoMerge "Fix a11y readout of notification guts buttons" into qt-dev
Julia Reynolds [Thu, 30 May 2019 19:02:39 +0000 (12:02 -0700)]
Merge "Fix a11y readout of notification guts buttons" into qt-dev
am: 58cfefe9cc

Change-Id: I33edb17dfdd3c875edd34be56470dd079ee33c6f

5 years agoAdds strings for notifications when default launcher changes
Mehdi Alizadeh [Thu, 30 May 2019 03:37:27 +0000 (20:37 -0700)]
Adds strings for notifications when default launcher changes

Bug: 129532605
Test: None
Change-Id: Ie85dfc704939db217c9b59724e0a586020aaa797

5 years agoMerge "AudioService: remove dead BT code" into qt-dev
Jean-Michel Trivi [Thu, 30 May 2019 18:59:24 +0000 (11:59 -0700)]
Merge "AudioService: remove dead BT code" into qt-dev
am: 3de2438d5c

Change-Id: I99388c3ec13278731b2e403aa308c2eb8131da21

5 years ago[automerger skipped] DO NOT MERGE SurfaceControl: Fix captureLayers JNI am: fbc22c2b6...
Robert Carr [Thu, 30 May 2019 18:57:51 +0000 (11:57 -0700)]
[automerger skipped] DO NOT MERGE SurfaceControl: Fix captureLayers JNI am: fbc22c2b6d -s ours
am: cd43a5f7ad

Change-Id: Ifb40223f91ab0eb58d97c2e52d60fb3e6d52fd4c

5 years agoMerge "Allow non-convex paths in Outline#setConvexPath" into qt-dev
Leon Scroggins [Thu, 30 May 2019 18:55:02 +0000 (11:55 -0700)]
Merge "Allow non-convex paths in Outline#setConvexPath" into qt-dev
am: 9be1d08acb

Change-Id: I01582c19eee9b0aedde169b632384ed60c680f09

5 years agoMerge changes I1360deb0,Id9a9eb85,I7f05f2ee,Ie48da88d into qt-dev
Josh Tsuji [Thu, 30 May 2019 18:53:30 +0000 (11:53 -0700)]
Merge changes I1360deb0,Id9a9eb85,I7f05f2ee,Ie48da88d into qt-dev
am: 06cbf65704

Change-Id: I5bbfb0ec91ab5ae8760a8208b9d3a967103df999

5 years agoMerge "Fix a11y readout of notification guts buttons" into qt-dev
TreeHugger Robot [Thu, 30 May 2019 18:53:13 +0000 (18:53 +0000)]
Merge "Fix a11y readout of notification guts buttons" into qt-dev

5 years agoMerge "AudioService: remove dead BT code" into qt-dev
TreeHugger Robot [Thu, 30 May 2019 18:36:34 +0000 (18:36 +0000)]
Merge "AudioService: remove dead BT code" into qt-dev

5 years ago[automerger skipped] DO NOT MERGE SurfaceControl: Fix captureLayers JNI
Robert Carr [Thu, 30 May 2019 18:35:37 +0000 (11:35 -0700)]
[automerger skipped] DO NOT MERGE SurfaceControl: Fix captureLayers JNI
am: fbc22c2b6d -s ours
am skip reason: subject contains skip directive

Change-Id: Iedd5183586ec5b13c71ae943c3ff877e5c98311e

5 years agoMerge "Allow non-convex paths in Outline#setConvexPath" into qt-dev
Leon Scroggins [Thu, 30 May 2019 18:31:40 +0000 (18:31 +0000)]
Merge "Allow non-convex paths in Outline#setConvexPath" into qt-dev

5 years agoMerge changes I1360deb0,Id9a9eb85,I7f05f2ee,Ie48da88d into qt-dev
Josh Tsuji [Thu, 30 May 2019 18:23:26 +0000 (18:23 +0000)]
Merge changes I1360deb0,Id9a9eb85,I7f05f2ee,Ie48da88d into qt-dev

* changes:
  Fix issues with animations when the stack is expanded.
  Prevent a crash when touching the stack while it's flinging out of the dismiss area.
  Remove the max rendered children code.
  Stability and logic fixes to PhysicsAnimationLayout to address bugs that leave Bubbles in a bad state.

5 years agoMerge "Add Usage info for LocationManager's APIs" into qt-dev
Hongyi Zhang [Thu, 30 May 2019 18:21:05 +0000 (11:21 -0700)]
Merge "Add Usage info for LocationManager's APIs" into qt-dev
am: 11ddc8ea0b

Change-Id: Iab67a0f992436b3a4e9c04d05f19d7ca3d69553a

5 years agoShift call statistics back to the original caller.
Jeff Sharkey [Thu, 30 May 2019 18:18:32 +0000 (12:18 -0600)]
Shift call statistics back to the original caller.

Most of the time MediaProvider is making Binder calls on behalf of
an external caller, so use PropagateWorkSourceTransactListener to
ensure that we record the original source.

Bug: 125725916
Test: atest --test-mapping packages/apps/MediaProvider
Change-Id: I591dfb2903a54239639452954ea2d780e79b280c

5 years agoMerge "Adding config for SUW to determine whether to start Tips for gestural nav...
Winson Chung [Thu, 30 May 2019 18:16:10 +0000 (11:16 -0700)]
Merge "Adding config for SUW to determine whether to start Tips for gestural nav" into qt-dev
am: 6f24b88c71

Change-Id: I435bfe2210375deb4cbe07ec39149f9c0e7f0076

5 years agoMerge "Add Usage info for LocationManager's APIs" into qt-dev
Hongyi Zhang [Thu, 30 May 2019 17:53:26 +0000 (17:53 +0000)]
Merge "Add Usage info for LocationManager's APIs" into qt-dev

5 years agoMerge "Adding config for SUW to determine whether to start Tips for gestural nav...
Winson Chung [Thu, 30 May 2019 17:51:29 +0000 (17:51 +0000)]
Merge "Adding config for SUW to determine whether to start Tips for gestural nav" into qt-dev

5 years agoMerge "Skip IME initialization when received the token that already registered" into...
lumark [Thu, 30 May 2019 17:44:20 +0000 (10:44 -0700)]
Merge "Skip IME initialization when received the token that already registered" into qt-dev
am: 9bb2607703

Change-Id: I9746ca99bc03a83beb6549605394b6760d48b835

5 years agoMerge "Exclude the status bar and HUN from gestures" into qt-dev
Winson Chung [Thu, 30 May 2019 17:42:27 +0000 (10:42 -0700)]
Merge "Exclude the status bar and HUN from gestures" into qt-dev
am: c1da971644

Change-Id: Ia67d56950755830020f06fdce2ab2e68a4225846

5 years agoMerge "Skip IME initialization when received the token that already registered" into...
TreeHugger Robot [Thu, 30 May 2019 17:33:17 +0000 (17:33 +0000)]
Merge "Skip IME initialization when received the token that already registered" into qt-dev

5 years agoMerge "Exclude the status bar and HUN from gestures" into qt-dev
Winson Chung [Thu, 30 May 2019 17:30:11 +0000 (17:30 +0000)]
Merge "Exclude the status bar and HUN from gestures" into qt-dev

5 years agoMerge "Handles pre-process failure without crashing system" into qt-dev
Patrick Baumann [Thu, 30 May 2019 17:13:52 +0000 (10:13 -0700)]
Merge "Handles pre-process failure without crashing system" into qt-dev
am: b8735359aa

Change-Id: I8b6724a77658bf1cca8b50e4d4c3cfad639d8361

5 years agoMerge "Handles pre-process failure without crashing system" into qt-dev
TreeHugger Robot [Thu, 30 May 2019 17:02:17 +0000 (17:02 +0000)]
Merge "Handles pre-process failure without crashing system" into qt-dev

5 years ago[automerger skipped] Merge "Switch to HexEncoding from ByteStringUtils" am: a326166eba
Neil Fuller [Thu, 30 May 2019 17:00:03 +0000 (10:00 -0700)]
[automerger skipped] Merge "Switch to HexEncoding from ByteStringUtils" am: a326166eba
am: 364ed0b152 -s ours
am skip reason: change_id I2cb09da5ec5296799e03bab812b7fb29452a623e with SHA1 c3dfd08914 is in history

Change-Id: Ide371473356f522523e49cb7997449eb7f10222d

5 years agoMerge "Constrain global actions panel to available space" into qt-dev
Steve Elliott [Thu, 30 May 2019 16:55:49 +0000 (09:55 -0700)]
Merge "Constrain global actions panel to available space" into qt-dev
am: e4de9d2c56

Change-Id: I4bdacc5fd40754ab9391681efb81beec18411f4f

5 years agoMerge "Switch to HexEncoding from ByteStringUtils"
Neil Fuller [Thu, 30 May 2019 16:50:53 +0000 (09:50 -0700)]
Merge "Switch to HexEncoding from ByteStringUtils"
am: a326166eba

Change-Id: Iba8a6d1c19b4daf24905c71f72fdcb280b942ea3

5 years agoMerge "Make the Handle bar grabbable." into qt-dev
Priyank Singh [Thu, 30 May 2019 16:44:51 +0000 (09:44 -0700)]
Merge "Make the Handle bar grabbable." into qt-dev
am: 08703d61b1

Change-Id: I2fe9b8858688e751bcd8042d3d9894595ef1a482

5 years agoMerge "Constrain global actions panel to available space" into qt-dev
TreeHugger Robot [Thu, 30 May 2019 16:44:43 +0000 (16:44 +0000)]
Merge "Constrain global actions panel to available space" into qt-dev

5 years agoMerge "Make the Handle bar grabbable." into qt-dev
TreeHugger Robot [Thu, 30 May 2019 16:38:03 +0000 (16:38 +0000)]
Merge "Make the Handle bar grabbable." into qt-dev

5 years agoMerge "Switch to HexEncoding from ByteStringUtils"
Neil Fuller [Thu, 30 May 2019 16:31:09 +0000 (16:31 +0000)]
Merge "Switch to HexEncoding from ByteStringUtils"

5 years agoSwitch to HexEncoding from ByteStringUtils
Neil Fuller [Mon, 8 Apr 2019 21:06:12 +0000 (22:06 +0100)]
Switch to HexEncoding from ByteStringUtils

Migration in preparation for deletion of ByteStringUtils.

DexLogger contains import ordering fixes to enable upload.

Bug: 124232146
Test: build only
Exempt-From-Owner-Approval: Already approved internally
Merged-In: I2cb09da5ec5296799e03bab812b7fb29452a623e
Change-Id: I2cb09da5ec5296799e03bab812b7fb29452a623e

5 years agoMerge "Merge "Add user-switching observer to AttentionDetector" into qt-dev am: 58280...
Android Build Merger (Role) [Thu, 30 May 2019 16:30:25 +0000 (16:30 +0000)]
Merge "Merge "Add user-switching observer to AttentionDetector" into qt-dev am: 5828019131" into qt-dev-plus-aosp

5 years agoMerge "Add user-switching observer to AttentionDetector" into qt-dev
Yi Jiang [Thu, 30 May 2019 16:29:51 +0000 (09:29 -0700)]
Merge "Add user-switching observer to AttentionDetector" into qt-dev
am: 5828019131

Change-Id: If6dae24b4cacef851184350529953db416bc34c6

5 years agoMerge "Fix a comment" am: ad0be320e2
Chalard Jean [Thu, 30 May 2019 16:29:36 +0000 (09:29 -0700)]
Merge "Fix a comment" am: ad0be320e2
am: c67f43f80c

Change-Id: I6e386d13610c182b2bddee8da16915ed27a3efe6

5 years agoMerge "Add network health check watchdog triggered rollback tests" into qt-dev
Zimuzo [Thu, 30 May 2019 16:27:48 +0000 (09:27 -0700)]
Merge "Add network health check watchdog triggered rollback tests" into qt-dev
am: 80b53bd68b

Change-Id: I760b8f0d948702a51b96c3aaffa6ccb268b891fe

5 years agoMerge changes I2cb4200b,If1fa00be into qt-dev
Remi NGUYEN VAN [Thu, 30 May 2019 16:26:09 +0000 (09:26 -0700)]
Merge changes I2cb4200b,If1fa00be into qt-dev
am: 6b2681521e

Change-Id: Ib279a80a19bcdaf53678921108c4932d04988474

5 years agoMerge "Remove @VisibleForTesting from DevicePolicyEventLogger getters." into qt-dev
arangelov [Thu, 30 May 2019 16:24:43 +0000 (09:24 -0700)]
Merge "Remove @VisibleForTesting from DevicePolicyEventLogger getters." into qt-dev
am: 26a28f64c5

Change-Id: Idbdde0976e2df6253a22e950837c414d51d92237

5 years agoHide assist handles during generic assist gesture invocation.
Matt Casey [Thu, 30 May 2019 16:22:06 +0000 (12:22 -0400)]
Hide assist handles during generic assist gesture invocation.

Currently we hide handles during an NGA session, this change also hides
them during non-NGA invocation gesture.

Bug: 133522787
Test: Manual testing
Change-Id: I3317b309cd07c032826e6bfccbf20433de0559c6

5 years agoMerge "Fix issue for DnsResolver#query" into qt-dev
Luke Huang [Thu, 30 May 2019 16:18:02 +0000 (09:18 -0700)]
Merge "Fix issue for DnsResolver#query" into qt-dev
am: 23d7a55d18

Change-Id: Ia1ce7b84f4ae4984e1b940760f02901c88fade48

5 years agoMerge "Fix a comment"
Chalard Jean [Thu, 30 May 2019 16:17:23 +0000 (09:17 -0700)]
Merge "Fix a comment"
am: ad0be320e2

Change-Id: I14842efdaa0747297a550cc7ff53f169b7cf14fc

5 years ago[automerger skipped] Merge "Replace limited connectivity notification after detecting...
Chiachang Wang [Thu, 30 May 2019 16:16:54 +0000 (09:16 -0700)]
[automerger skipped] Merge "Replace limited connectivity notification after detecting it" into qt-dev
am: 37efc112e2 -s ours
am skip reason: change_id I004e78a33689e2208918d4316bcf9a8f50a0bac3 with SHA1 a5c68348d8 is in history

Change-Id: I11daaf075229a2891eb2d8b3df54a91a285d52fb

5 years agoMerge "Fix some issues in notification bucketing" into qt-dev
Julia Reynolds [Thu, 30 May 2019 16:16:05 +0000 (09:16 -0700)]
Merge "Fix some issues in notification bucketing" into qt-dev
am: 634c095610

Change-Id: Id58d5e55da409020533882a2c5df4027d96eaff1

5 years ago[automerger skipped] Merge "Always give VPN the INTERNET capability." into qt-dev
Chalard Jean [Thu, 30 May 2019 16:15:23 +0000 (09:15 -0700)]
[automerger skipped] Merge "Always give VPN the INTERNET capability." into qt-dev
am: bc16cf3d72 -s ours
am skip reason: change_id I262ca41fe0225660551c9a421562405366b6acac with SHA1 06d81d2c62 is in history

Change-Id: I367d5afaa5ee254064d61f7f807af838b37583fe

5 years agoMerge "Add user-switching observer to AttentionDetector" into qt-dev
Yi Jiang [Thu, 30 May 2019 16:12:48 +0000 (16:12 +0000)]
Merge "Add user-switching observer to AttentionDetector" into qt-dev

5 years agoAdd one more test for VPN usage stats.
Lorenzo Colitti [Wed, 29 May 2019 10:02:41 +0000 (19:02 +0900)]
Add one more test for VPN usage stats.

(cherry picked from commit 1419b0b20e4b079bfa66662d042b4dc35fb22d78)

Covers the case where the majority of traffic through the VPN is
caused by the VPN app itself, and ensures that that traffic is
correctly attributed to the VPN app as opposed to spread between
the other apps that use the VPN.

Bug: 120145746
Test: atest NetworkStatsServiceTest
Change-Id: Ibd7646dc088fa4180abd696e89c3148ff34ce190
Merged-In: Iffd3f95fc2e11d311691a797b010edb38d2ef3c6

5 years agoAddressing comments for http://ag/7700679.
Varun Anand [Fri, 24 May 2019 23:29:22 +0000 (16:29 -0700)]
Addressing comments for http://ag/7700679.

(cherry picked from commit a229333986f95e48347fa8b653d7e1776019f84a)

Note, that its in a separate CL so we could cherry-pick this CL to aosp.
http://ag/7700679 is already in aosp (http://aosp/865073).

Bug: 113122541
Bug: 120145746
Test: atest FrameworksNetTests

Change-Id: Ic1767bc8bf1460e4223f86465fc72344428e6055
Merged-In: I7cfda226b4ed11b67002b83b38fba0f5caf96718

5 years agoFix issues with animations when the stack is expanded.
Joshua Tsuji [Wed, 29 May 2019 20:32:01 +0000 (16:32 -0400)]
Fix issues with animations when the stack is expanded.

- Don't show the flyout if the stack has become expanded.
- Add onChildReordered so that the controllers don't receive onChildAdded calls when views are reordered. This was causing animation issues with expanded bubbles.
- Clear the dragging out bubble onGestureFinished, so that it's not ignored by animations.
- Update the expand/collapse animations when a new child is added during animation, so that it'll also animate to the proper spot.

Fixes: 129370170
Bug: 123542488
Test: atest SystemUITests
Change-Id: I1360deb09db82bd3ba72cb91fc9abe05b6dc1a9c

5 years agoConstrain global actions panel to available space
Steve Elliott [Wed, 29 May 2019 18:13:50 +0000 (14:13 -0400)]
Constrain global actions panel to available space

Formerly, the global actions panel was given the entire screen, and
was rendered above the global actions menu. Now, we limit it to the
space unused by the menu.

Bug: 133511683
Test: manual
Change-Id: I74f4db0b9a2a4e030ec1fd53ddd65e7c372d229c

5 years agoMerge "Add network health check watchdog triggered rollback tests" into qt-dev
TreeHugger Robot [Thu, 30 May 2019 15:22:26 +0000 (15:22 +0000)]
Merge "Add network health check watchdog triggered rollback tests" into qt-dev

5 years agoMerge changes I2cb4200b,If1fa00be into qt-dev
Remi NGUYEN VAN [Thu, 30 May 2019 15:11:11 +0000 (15:11 +0000)]
Merge changes I2cb4200b,If1fa00be into qt-dev

* changes:
  PackageWatchdog listens for NetworkStack failures
  Proper handling of NetworkStack crash

5 years agoMerge "Remove @VisibleForTesting from DevicePolicyEventLogger getters." into qt-dev
TreeHugger Robot [Thu, 30 May 2019 15:05:26 +0000 (15:05 +0000)]
Merge "Remove @VisibleForTesting from DevicePolicyEventLogger getters." into qt-dev

5 years agoHandles pre-process failure without crashing system
Patrick Baumann [Wed, 29 May 2019 21:06:02 +0000 (14:06 -0700)]
Handles pre-process failure without crashing system

This change ensures that if we encounter any issues copying the APK to
be installed, we also fail the other sessions to prevent them being
cleaned up incorrectly on post-install.

Test: manual; use debugger to force InstallArgs.copyApk() to fail
Bug: 133380744
Change-Id: I19e84a4683a36ac152d435fab3d0b191db6cc2df

5 years agoMerge "Fix a comment"
Chalard Jean [Thu, 30 May 2019 14:39:48 +0000 (14:39 +0000)]
Merge "Fix a comment"

5 years agoFix a11y readout of notification guts buttons
Julia Reynolds [Thu, 30 May 2019 14:30:21 +0000 (10:30 -0400)]
Fix a11y readout of notification guts buttons

Test: manual with TB
Bug: 134047401
Change-Id: I28e00afc110d95e130fe54d301be406fa17f6f18

5 years agoRemove @VisibleForTesting from DevicePolicyEventLogger getters.
arangelov [Thu, 30 May 2019 13:40:12 +0000 (14:40 +0100)]
Remove @VisibleForTesting from DevicePolicyEventLogger getters.

Also make it extendable for mocking and update atoms.proto comments.

Bug: 131833599
Test: compiled
Change-Id: I6a0e8a6175e7e9e46572ea4aa50ce7669a02588b

5 years agoAllow non-convex paths in Outline#setConvexPath
Leon Scroggins III [Mon, 20 May 2019 19:54:15 +0000 (15:54 -0400)]
Allow non-convex paths in Outline#setConvexPath

Bug: 131759669
Test: I5eca77e1a60e484e4e118b7e464a88363c539ca9
Test: Manual - assert no longer fires and app looks normal

The limitation to only support convex paths was due to a limitation
in the old renderer. Today, it is fine to use a concave path. Further,
Skia has changed how it computes complexity - it is more conservative,
so paths which were previously thought to be convex are no longer. We
cannot guarantee that a path will be considered convex (especially
after e.g. rotating it, as in the library in question), so drop the
requirement.

Change-Id: Ice88d0995750e066320cb175a87f8ae70ce3aeed

5 years agoMerge "Fix issue for DnsResolver#query" into qt-dev
TreeHugger Robot [Thu, 30 May 2019 13:37:38 +0000 (13:37 +0000)]
Merge "Fix issue for DnsResolver#query" into qt-dev

5 years agoPackageWatchdog listens for NetworkStack failures
Remi NGUYEN VAN [Wed, 29 May 2019 09:30:27 +0000 (18:30 +0900)]
PackageWatchdog listens for NetworkStack failures

In addition to the NetworkStack app monitoring, have PackageWatchdog
register an observer to NetworkStackClient to receive severe failure
notifications, and attempt a rollback if available.

The callback is registered in onPackagesReady(), which is called in the
boot sequence just before starting the NetworkStack.

Test: installed new networkstack, killed it twice, observe rollback
Test: unit test in change on top
Bug: 133725814
Change-Id: I2cb4200b78c2482cacc4bfe2ace1581b869be512

5 years agoProper handling of NetworkStack crash
Remi NGUYEN VAN [Tue, 28 May 2019 08:29:11 +0000 (17:29 +0900)]
Proper handling of NetworkStack crash

Instead of always crashing on userdebug builds, do the following on all
builds:
 - If the device did not observe a NetworkStack crash in the last 6h
   crash the system server. This is to handle spurious crashes of the
   NetworkStack, so that the system can recover instead of staying
   without connectivity.
 - Otherwise, the device has had a recent crash. Notify the listeners
   (watchdog listener to be added) that something is seriously wrong,
   but do not crash to avoid bootlooping the device. This allows the
   watchdog to do its job, and avoids bricking the device in
   situations where the user could need to make emergency calls.

Bug: 133725814
Test: Killed the network stack, observe reboot of framework.
Test: Kill network stack again, observe nothing.
Test: Wipe data, install new network stack, kill it twice: rollback.
      (with patch on top applied)
Change-Id: If1fa00bed769eb60ca4832609006bdf15ceddb80

5 years agoMerge "Replace limited connectivity notification after detecting it" into qt-dev
TreeHugger Robot [Thu, 30 May 2019 12:52:33 +0000 (12:52 +0000)]
Merge "Replace limited connectivity notification after detecting it" into qt-dev

5 years agoMerge "Fix some issues in notification bucketing" into qt-dev
Julia Reynolds [Thu, 30 May 2019 12:30:30 +0000 (12:30 +0000)]
Merge "Fix some issues in notification bucketing" into qt-dev

5 years agoAdd network health check watchdog triggered rollback tests
Zimuzo [Tue, 16 Apr 2019 08:59:40 +0000 (09:59 +0100)]
Add network health check watchdog triggered rollback tests

This cl improves code coverage for the PackageWatchdog explicit health
checks.

Updating the NetworkStack triggers an explicit health check with
a time deadline. At the deadline, if network is unavailable on the device,
the update is rolled back, if network is available, nothing happens.

Bug: 132640467
Test: atest StagedRollbackTest

Change-Id: I16a40244de9345930a1c981188aa33546fe872fc

5 years agoMerge "Always give VPN the INTERNET capability." into qt-dev
TreeHugger Robot [Thu, 30 May 2019 12:10:22 +0000 (12:10 +0000)]
Merge "Always give VPN the INTERNET capability." into qt-dev

5 years agoFix issue for DnsResolver#query
Luke Huang [Thu, 30 May 2019 11:46:40 +0000 (04:46 -0700)]
Fix issue for DnsResolver#query

1. Previously, getDnsNetId doesn't handle all the cases.
Fix it with cosidering bypass private DNS flag.
2. Make getDnsNetId return Network instead of netId,
and change name from getDnsNetId to getDnsNetwork

Bug: 129530368
Test: atest DnsResolverTest DnsUtilsTest

Merged-In: Ibb5080acd3c296650d56532fc7da525e9fa95e8f
(cherry picked from commit 3854966dc9499e39187835606397b16367e5e27b)

Change-Id: I37353642088bcc17da0cf17f78a5ed9efc9aefc3

5 years agoReplace limited connectivity notification after detecting it
Chiachang Wang [Thu, 30 May 2019 11:10:30 +0000 (04:10 -0700)]
Replace limited connectivity notification after detecting it

No internet notification may be prompted before partial
connectivity being detected. Partial connectivity status will
be set into NAI and prompted in the Setting. Behavior is not
aligned between Setting and notification. Thus, update
notification again if partial connectivity is detected.
Also, sliently show the updated notification if no internet
notification has already been shown to user to prevent alerting
user in short time.

Bug: 130683832
Test: Verified with simulated partial connectivity
Test: atest FrameworksNetTests
Change-Id: Ie16a8ce6e0fa437048e8c1eea240314ca30e9520
Merged-In: I004e78a33689e2208918d4316bcf9a8f50a0bac3
Merged-In: I14385a39d99a45c4a6a50a665f456f589c2f4da3
(cherry picked from commit a5c68348d89f256cb5f42283d983d05834c7e36c)

5 years agoMerge "Fix issue for DnsResolver#query" am: 3fd64333d2
Luke Huang [Thu, 30 May 2019 11:36:42 +0000 (04:36 -0700)]
Merge "Fix issue for DnsResolver#query" am: 3fd64333d2
am: da47327520

Change-Id: I819fa9eb0abab64951fdb8adb7b1fc660544a1ad

5 years agoMerge "Fix issue for DnsResolver#query"
Luke Huang [Thu, 30 May 2019 11:30:39 +0000 (04:30 -0700)]
Merge "Fix issue for DnsResolver#query"
am: 3fd64333d2

Change-Id: I012facbd15e78f2a484f4955828bb980fb553e95

5 years agoMerge "Fix issue for DnsResolver#query"
Luke Huang [Thu, 30 May 2019 11:22:50 +0000 (11:22 +0000)]
Merge "Fix issue for DnsResolver#query"

5 years agoMerge "Replace limited connectivity notification after detecting it" am: b6482348b0
Chiachang Wang [Thu, 30 May 2019 11:10:30 +0000 (04:10 -0700)]
Merge "Replace limited connectivity notification after detecting it" am: b6482348b0
am: 7cfc1d4ec6

Change-Id: I004e78a33689e2208918d4316bcf9a8f50a0bac3

5 years agoMerge "Replace limited connectivity notification after detecting it"
Chiachang Wang [Thu, 30 May 2019 11:05:38 +0000 (04:05 -0700)]
Merge "Replace limited connectivity notification after detecting it"
am: b6482348b0

Change-Id: I9e501d404e465714c657d8056e84e008e72861c7

5 years agoMerge "Replace limited connectivity notification after detecting it"
Chiachang Wang [Thu, 30 May 2019 10:56:08 +0000 (10:56 +0000)]
Merge "Replace limited connectivity notification after detecting it"

5 years agoMerge "Prevent a 4-way binder interlock leading to a leak." am: 2b801dc016
Chalard Jean [Thu, 30 May 2019 10:40:37 +0000 (03:40 -0700)]
Merge "Prevent a 4-way binder interlock leading to a leak." am: 2b801dc016
am: 88cf9c532e

Change-Id: Idb8659a22b9d18f1d0bc566b476f4c536c00da90

5 years agoMerge "Prevent a 4-way binder interlock leading to a leak."
Chalard Jean [Thu, 30 May 2019 10:35:12 +0000 (03:35 -0700)]
Merge "Prevent a 4-way binder interlock leading to a leak."
am: 2b801dc016

Change-Id: I00652e13f79a5b2d75fae36bf213e3c2727660c9

5 years agoMerge "Prevent a 4-way binder interlock leading to a leak."
Treehugger Robot [Thu, 30 May 2019 10:22:30 +0000 (10:22 +0000)]
Merge "Prevent a 4-way binder interlock leading to a leak."

5 years agoMerge "Check system_server PID in NetworkStack calls" into qt-dev
Remi NGUYEN VAN [Thu, 30 May 2019 10:16:08 +0000 (03:16 -0700)]
Merge "Check system_server PID in NetworkStack calls" into qt-dev
am: 0e740ae97e

Change-Id: I88c03a9ee636b3dec090845585d3bdaea559fbbb

5 years agoMerge "Check system_server PID in NetworkStack calls" into qt-dev
TreeHugger Robot [Thu, 30 May 2019 10:01:13 +0000 (10:01 +0000)]
Merge "Check system_server PID in NetworkStack calls" into qt-dev

5 years agoMerge "Catch OutOfMemoryError and log warning" into qt-dev
Jin Seok Park [Thu, 30 May 2019 09:55:06 +0000 (02:55 -0700)]
Merge "Catch OutOfMemoryError and log warning" into qt-dev
am: f66a0737ca

Change-Id: I73ffd7764f57470afcaac23ab5546d6ea786c387