Commit Graph

11427 Commits

Author SHA1 Message Date
Govinda Wasserman
7359be82e0 Adds learned state to the Reminder Experience for Assistant Handles
am: 1f606b099e

Change-Id: I674839782e711bd6b909ebdc8d126948ea492060
2019-05-29 20:42:02 -07:00
Govinda Wasserman
1f606b099e Adds learned state to the Reminder Experience for Assistant Handles
Also sets the Reminder Experience as the default behavior.

Test: Tested locally
BUG:132983599
Change-Id: I27b063ca142fbde99b0bd1f6d107f45d6070869a
2019-05-29 23:06:02 -04:00
Govinda Wasserman
c77e6895e5 Merge "Update assist handle behavior control" into qt-dev
am: f8e7608263

Change-Id: I8fe5c7a89c0773de83329fac26d10d8a4215eae6
2019-05-29 13:41:30 -07:00
TreeHugger Robot
f8e7608263 Merge "Update assist handle behavior control" into qt-dev 2019-05-29 20:34:48 +00:00
Govinda Wasserman
2c1134052e Update assist handle behavior control
Improves behavior modes to use more reliable callback mechanisms. Added
phenotype flag hooks for control of behavior and behavior parameters.
Added more robust null guarding.

Test: Tested locally
BUG:132983599
Change-Id: I42039152836071941d6b4f1cafb3670c62a65824
2019-05-29 14:41:23 -04:00
Mehdi Alizadeh
89b397be2d Merge "Filter disabled/suspended direct share targets in sharesheet" into qt-dev
am: 8a09c7c0ae

Change-Id: Icf53f2d5b2bf4196a3779c6238ca542d11ba95d1
2019-05-29 11:26:33 -07:00
Mehdi Alizadeh
8a09c7c0ae Merge "Filter disabled/suspended direct share targets in sharesheet" into qt-dev 2019-05-29 18:06:57 +00:00
Matt Pietal
17d673a6f6 Merge "Sharesheet - Fix NPE on default app launch" into qt-dev
am: b5fbf20a55

Change-Id: I9806cbfd3391b2ce72f3c9996ef8308dd012b358
2019-05-29 10:06:42 -07:00
TreeHugger Robot
b5fbf20a55 Merge "Sharesheet - Fix NPE on default app launch" into qt-dev 2019-05-29 16:53:48 +00:00
Varun Anand
ebf59f07b1 Merge changes from topic "vpn_data_accounting" into qt-dev
am: b33d2ca2e3

Change-Id: I234eb2b20f47bde94b4aba89867e9d1c7e9ee7d5
2019-05-29 09:44:04 -07:00
Varun Anand
b33d2ca2e3 Merge changes from topic "vpn_data_accounting" into qt-dev
* changes:
  Add one more test for VPN usage stats.
  Addressing comments for http://ag/7700679.
  NetworkStatsService: Fix getDetailedUidStats to take VPNs into account.
  Take all VPN underlying networks into account when migrating traffic for VPN uid.
2019-05-29 16:34:14 +00:00
Matt Pietal
fab9e188e0 Sharesheet - Add additional checks for low ram devices
am: 030bd8471f

Change-Id: I23f2fd79c87d384c26df65e454751fc54b1dda2b
2019-05-29 06:18:22 -07:00
Matt Pietal
32922ca4db Sharesheet - Fix NPE on default app launch
Turns out there's a secondary layout used by resolver which does not
contain R.id.empty. Check for null.

Bug: 133707284
Test: Open PDF file through resolver
Change-Id: I311f1c1d2fa6edcebc81d9056755884b1585a7cb
2019-05-29 07:39:21 -04:00
Matt Pietal
030bd8471f Sharesheet - Add additional checks for low ram devices
Continue to hide the direct share area for low ram devices. Make sure
the A-Z list loads properly.

Bug: 132342311
Test: Use low ram device
Change-Id: I66b58af3994e034e4d870286ef62ba4a9289e083
2019-05-29 07:17:39 -04:00
Varun Anand
917327b193 Take all VPN underlying networks into account when migrating traffic for
VPN uid.

(cherry picked from commit 95aa6d446f)

Bug: 113122541
Bug: 120145746
Test: atest FrameworksNetTests
Test: Manually verified on device that stats from VPN UID are moved
      appropriately based on its declared underlying network set.
Test: vogar --mode app_process --benchmark NetworkStatsBenchmark.java

Change-Id: I7f368c5970b2dcb969fe0daf5ef44edb1f51d09d
2019-05-29 18:15:17 +09:00
Matt Pietal
5e3a1c803f Merge "Sharesheet - Load images off main thread" into qt-dev
am: a11f79120b

Change-Id: I29f90d74f68205a4b1fc858846aed13420396e5d
2019-05-28 12:41:15 -07:00
Matt Pietal
a11f79120b Merge "Sharesheet - Load images off main thread" into qt-dev 2019-05-28 19:28:41 +00:00
Matt Pietal
e7cacab797 Sharesheet - Load images off main thread
To prevent main thread from being blocked and potential ANRs, load
images on AsyncTasks. If no images are successfully loaded within a
timeout period, hide the content preview area. Optimize scrolling by
reusing the views in their entirety and not reloading images. Also
allow for more time for direct share loading

Bug: 132698784
Test: Manual
Change-Id: Ia73e9b6912bf36a1c6c9660423d6f0602e832187
2019-05-28 12:54:25 -04:00
Matt Pietal
ab343a10eb Merge "Resolver - Fix bottom spacing issue with edge-to-edge" into qt-dev
am: ea73bddd5b

Change-Id: I0efc3076d9e42f28531fff2a9caf6eca3131687d
2019-05-28 05:42:07 -07:00
TreeHugger Robot
ea73bddd5b Merge "Resolver - Fix bottom spacing issue with edge-to-edge" into qt-dev 2019-05-28 12:29:28 +00:00
Mehdi Alizadeh
3e3216f111 Filter disabled/suspended direct share targets in sharesheet
Bug: 123961239
Test: Manual test by suspending test app using Digital Wellbeing
Change-Id: Id26465c484a708714ba955a1657fb1c3be402734
2019-05-27 17:56:51 -07:00
TreeHugger Robot
b7bf4fa27a Merge "Revert "Adjusts the USAP pool refill mechanism."" into qt-dev 2019-05-27 01:18:42 +00:00
Winson Chung
0620646be0 Merge "Add null check for component name when fetching uid" into qt-dev
am: 35d6deced8

Change-Id: I46d0c8ee1018b8a72e4191b7b047b0107801d46d
2019-05-24 19:10:35 -07:00
Mathew Inwood
51c53b4b74 Revert "Adjusts the USAP pool refill mechanism."
This reverts commit 0779af6259.

Reason for revert: Breaks cts SignedConfigHostTest

Note: This CL effectively reverts commit:
54b8d7ea4d
"Make the USAP Pool refill delay configurable."

As that builds on top of the original CL being reverted. Only the
ZygoteServer portion of that change is reverted.

Test: atest SignedConfigHostTest
(on an acloud instance)
Bug: 132794985
Merged-In: I1327a22d103452bed46d191ec2bafb72a5e095ca
Change-Id: I1327a22d103452bed46d191ec2bafb72a5e095ca
2019-05-24 17:42:37 -07:00
TreeHugger Robot
35d6deced8 Merge "Add null check for component name when fetching uid" into qt-dev 2019-05-25 00:05:07 +00:00
Winson Chung
0edcacb14c Add null check for component name when fetching uid
Bug: 133442663
Test: Bug is not reproducible, but this is just adding a null check
Change-Id: Iaf4231b4b3b1e6e35ab7e7f7cac86a192ad7cd9b
2019-05-24 13:48:55 -07:00
Matt Pietal
33b0ac12fe Resolver - Fix bottom spacing issue with edge-to-edge
When the button bar renders multiple times, as is the case when using
the back button from Settings, the bottom padding keeps getting
increased to make the list creep upwards. Set the padding to a fixed
number rather than keep adding to it.

Bug: 132114008
Test: Manual
Change-Id: Iab07fdbf7eb3373f354bb3825a3bd18df141f608
2019-05-24 13:47:18 -04:00
Mathew Inwood
3e68de1b19 Revert "Adjusts the USAP pool refill mechanism."
This reverts commit 0779af6259.

Reason for revert: Breaks cts SignedConfigHostTest

Note: This CL effectively reverts commit:
54b8d7ea4d
"Make the USAP Pool refill delay configurable."

As that builds on top of the original CL being reverted. Only the
ZygoteServer portion of that change is reverted.

Test: atest SignedConfigHostTest
(on an acloud instance)
Bug: 132794985
Merged-In: I1327a22d103452bed46d191ec2bafb72a5e095ca
Change-Id: I1327a22d103452bed46d191ec2bafb72a5e095ca
2019-05-24 14:59:29 +01:00
Eric Holk
6335848513 Merge "Revert "LayoutInflater: Special case well-known View constructors"" am: 98e2663802
am: 6053fed521

Change-Id: I5e3b0a3b4ea6ed61509efd05461aa1897a5bd4a7
2019-05-23 17:13:38 -07:00
Eric Holk
d28e721546 Revert "LayoutInflater: Special case well-known View constructors"
This reverts commit cb694714f1.

Reason for revert: test failures (http://b/133342433)

Change-Id: I4967e21769a0e45038e9f0941909faec731b3124
2019-05-23 18:18:04 +00:00
Eric Holk
74a3883574 Merge "LayoutInflater: Special case well-known View constructors" am: 8b480c4c81
am: 0c9d6a5c86

Change-Id: Ic7b2abf1364a7805073b17f506032be1f08b6264
2019-05-22 10:51:14 -07:00
Matt Pietal
132668223d Merge "Sharesheet - Edge to edge support" into qt-dev
am: 31b6820f42

Change-Id: I1f706125aa44a303f979cce07a07389d3c59054d
2019-05-22 09:44:26 -07:00
Matt Pietal
f6f4ad237d Merge "Sharesheet - a11y fix for az label" into qt-dev
am: 02db431c8c

Change-Id: I9e6dd02c53e7cb5662fa0c94929af6ba01cea316
2019-05-22 09:34:21 -07:00
Eric Holk
cb694714f1 LayoutInflater: Special case well-known View constructors
This avoids loading constructors with reflection for well-known View classes.

An average of 1300 app startups with and without this change shows the special
casing improves app startup time by about 2.5ms.

The classes listed here are taken from examining several app traces as well as
the similar list in AppCompatViewInflater.

Bug: 131421854
Change-Id: I676a50eec50b86fa0b385add4bc092a657d8e8bb
2019-05-22 08:41:21 -07:00
TreeHugger Robot
31b6820f42 Merge "Sharesheet - Edge to edge support" into qt-dev 2019-05-22 14:32:16 +00:00
TreeHugger Robot
02db431c8c Merge "Sharesheet - a11y fix for az label" into qt-dev 2019-05-22 13:55:55 +00:00
George Hodulik
e0c33809c3 Merge "Send shortcutinfo to APS for direct shares." into qt-dev
am: bbea5ad712

Change-Id: Ic3ade693b5b9b1a4e672fe5a07526a466ffcc18d
2019-05-21 22:23:30 -07:00
Winson Chung
40239a87cc Merge "Notify SysUI of the recents animation so it can disable autohide" into qt-dev
am: e6db9b86d9

Change-Id: I8fff18b3ebf398905a03870f0f00477275a9bd0b
2019-05-21 22:08:02 -07:00
George Hodulik
bbea5ad712 Merge "Send shortcutinfo to APS for direct shares." into qt-dev 2019-05-21 17:49:30 +00:00
Winson Chung
e6db9b86d9 Merge "Notify SysUI of the recents animation so it can disable autohide" into qt-dev 2019-05-21 17:24:05 +00:00
Winson Chung
67e4936db3 Notify SysUI of the recents animation so it can disable autohide
- When swiping up from an immersive sticky app, ensure that we don't
  restore the hidden bar states while swiping up (only update afterwards)

Bug: 130020567
Test: atest CommandQueueTest
Test: Swipe up from an immersive app into launcher while the bars are
      showing

Change-Id: I1c8fb3c0df5c1adc7c73079189f5b45e84d1ef45
2019-05-21 05:36:42 +00:00
George Hodulik
aa5238c9f5 Send shortcutinfo to APS for direct shares.
We cache the AppTargets returned by APS, and just return them
when one is clicked. For share activities, that is handled in
AppPredictionServiceResolverComparator.

Bug:124404997
Test: manual test using patched AiAi apk cl/248961808
Test: atest frameworks/base/core/tests/coretests/src/com/android/internal/app
Change-Id: I7bb61b65bd361acdbfd16e1d9499f094b3ae39d8
2019-05-20 17:03:56 -07:00
George Hodulik
d2e58debef Merge "Use new non-deprecated constructor for AppTarget.Builder" into qt-dev
am: cb349b6b6d

Change-Id: I0362bdac8e97dc94e14c8cfb242b0d492b6f5b3d
2019-05-20 15:53:06 -07:00
TreeHugger Robot
cb349b6b6d Merge "Use new non-deprecated constructor for AppTarget.Builder" into qt-dev 2019-05-20 20:58:28 +00:00
Ben Murdoch
d40df6b89e Merge "Add Standby Bucket and job duration to ScheduledJobStateChanged atom." into qt-dev
am: ffc816283e

Change-Id: I170c63ce258dffb04a62ce25e8e9a418e3c594a3
2019-05-20 05:46:11 -07:00
yj81.kwon
b2f088409b Merge "[wm]: Fixed TaskPositioner leak" into qt-dev
am: 050d6df74c

Change-Id: Ife9c5d5da6fae4d40183a6a56a71165001bf6674
2019-05-20 04:54:49 -07:00
Ben Murdoch
ffc816283e Merge "Add Standby Bucket and job duration to ScheduledJobStateChanged atom." into qt-dev 2019-05-20 08:18:34 +00:00
TreeHugger Robot
050d6df74c Merge "[wm]: Fixed TaskPositioner leak" into qt-dev 2019-05-19 23:12:25 +00:00
Fabian Kozynski
a0051f6902 Merge "Add DeviceConfig flags to Privacy Indicators" into qt-dev
am: 9faaa2733a

Change-Id: I551a9bdf1d246408f1e8bad8cea04201d3392db1
2019-05-17 23:32:50 -07:00
TreeHugger Robot
9faaa2733a Merge "Add DeviceConfig flags to Privacy Indicators" into qt-dev 2019-05-18 06:14:40 +00:00