Commit Graph

11478 Commits

Author SHA1 Message Date
Matt Pietal
ef430bb118 Merge "Resolver - 'Always' button broken for non VIEW cases" into qt-dev
am: 914de104b3

Change-Id: I5583dde27c46f7130a540fce1476400767e7ec98
2019-07-03 16:55:05 -07:00
Ray Essick
790f8912a3 Merge "Revert "Preload sfplugin_ccodec for performance"" into qt-dev
am: fb4fab4fa3

Change-Id: I7be69015e447bd251edfe8595d6774327b491570
2019-07-03 16:51:28 -07:00
Matt Pietal
914de104b3 Merge "Resolver - 'Always' button broken for non VIEW cases" into qt-dev 2019-07-03 20:11:59 +00:00
TreeHugger Robot
fb4fab4fa3 Merge "Revert "Preload sfplugin_ccodec for performance"" into qt-dev 2019-07-03 19:08:42 +00:00
Ray Essick
4a0199a899 Revert "Preload sfplugin_ccodec for performance"
This reverts commit 30da74bda4.

Reason for revert: occasional audio race, losing volume control for device

Bug: 133186424
Bug: 135763139
Change-Id: I3aca2780dfcf80cfe0095af2a40496f3af0733cd
2019-07-03 18:48:16 +00:00
Matt Pietal
a310c1fa3a Resolver - 'Always' button broken for non VIEW cases
Users are incorrectly being directed to the settings app when
selecting 'Always', making them unable to actually open an app through
the resolver.

Bug: 132071949
Test: Steps are reported in b/136451610
Change-Id: I11775d7b0b780195f08273ad2b90b8ecd2ee1db4
2019-07-03 09:12:56 -04:00
Winson Chung
a5c11b4ae4 Merge "Check that alpha is zero instead of transparent color to decide scrim" into qt-dev
am: 1abc45038b

Change-Id: I0c9ef5ebce04c7a477b55570c4b39f71e8bba14d
2019-07-02 11:17:22 -07:00
Ray Essick
0ef82ad076 Merge "Preload sfplugin_ccodec for performance" into qt-dev
am: 878a6b2015

Change-Id: Idae0ffb08ba0027b94bb0ff55f70af6dca7e2bd3
2019-07-02 10:59:30 -07:00
Matt Pietal
1861a11b43 Merge "Sharesheet - Fix regression in direct share sorting" into qt-dev
am: ac1c8ddcc3

Change-Id: I7abc46fe03e5476ce129e4fb9712ed0200cd978b
2019-07-02 10:45:43 -07:00
Winson Chung
1abc45038b Merge "Check that alpha is zero instead of transparent color to decide scrim" into qt-dev 2019-07-02 17:37:34 +00:00
Ray Essick
878a6b2015 Merge "Preload sfplugin_ccodec for performance" into qt-dev 2019-07-02 17:10:33 +00:00
shawnlin
eecbda50a3 [DO NOT MERGE] Remove the server side flag of clockface blacklist
Bug: 136090066
Test: atest com.android.keyguard.clock.ClockManagerTest
Change-Id: I7aa2c2deb690a3c8a5648754eeb6ae10ed0af0d8
Merged-In: I7aa2c2deb690a3c8a5648754eeb6ae10ed0af0d8
2019-07-02 11:47:07 +00:00
Winson Chung
ffc70a68c0 Check that alpha is zero instead of transparent color to decide scrim
Bug: 136370711
Test: atest EnsureBarContrastTest
Change-Id: I45c4a81d5e7fe6f99615efca528a623f3830f16a
2019-07-01 22:46:07 +00:00
Matt Pietal
bdbeea28d2 Sharesheet - Fix regression in direct share sorting
When mutiple apps share shortcuts and are given to the UI to display,
the ranked order from both the App Prediction Service and the legacy
ranker is inadvertently being discarded. This means that targets the
user almost never uses will now be shown as high priority, causing
confusion and pretty horrible user experience.

Address the issue by adding in a score for shortcuts, based on the
index in the ordered list.

Bug: 136201796
Test: atest ChooserActivityTest and manually compare results from
      AppPredictionService to verify order is consistent
Change-Id: I1fe2c2d2e13195f6f6c3a5818fade4844c15488e
2019-07-01 16:52:52 -04:00
Mathew Inwood
68d07b7d6b Merge "Restore some greylist entries." into qt-dev
am: f76bdce6e0

Change-Id: I7636cbdbd4177461c56103a6a8e7d87498c9ba13
2019-06-28 08:19:19 -07:00
Matt Pietal
adde9fdbe9 Merge "Resolver - Improve flow for Intent URL handling" into qt-dev
am: d73543b588

Change-Id: Id1946ed17449c07c5384c03c61fe5b9f0e5530f8
2019-06-28 08:15:45 -07:00
TreeHugger Robot
f76bdce6e0 Merge "Restore some greylist entries." into qt-dev 2019-06-28 12:02:43 +00:00
Matt Pietal
d73543b588 Merge "Resolver - Improve flow for Intent URL handling" into qt-dev 2019-06-28 12:02:04 +00:00
Mathew Inwood
3a75f264a8 Restore some greylist entries.
In Q, these APIs were either:
- removed from the greylist entirely without good reason
- Moved to the restricted greylist without any public alternative
  information added

So they are being moved back to the greylist for Q.

Test: Treehugger
Bug: 136102585
Change-Id: I5ac8b8b9b23c3789d80239cf456072cc7dfa1203
2019-06-28 10:15:37 +01:00
Matt Pietal
0d6834adfe Resolver - Improve flow for Intent URL handling
When a URL is detected and all resolved targets are browsers, allow
the user to set a default browser from the Resolver. If one of the
options is an App and not a browser (as defined by
ResolveInfo.handleAllWebDataURI) then direct the user to the settings
page where they can make changes to set the default app for particular
URLs.

On the settings page, highlight the correct setting to change so it's
clear to the user.

Bug: 132071949
Test: Manually resolve URLs with multiple browsers and apps like Reddit/Twitter
Change-Id: Ib8f867a020ecfbb73fa5f1d7db84890c72e4842d
2019-06-27 13:35:11 -04:00
Jorim Jaggi
e1619cb541 Request invalidate root when legacy nav bar bg changes
am: 6482df5602

Change-Id: Ie6820d914340c7c87d0647bbeea96738abd6a0f8
2019-06-27 04:28:14 -07:00
Jorim Jaggi
6482df5602 Request invalidate root when legacy nav bar bg changes
...because only invalidating the root window node will ensure that
onPostDraw() will be called again.

Test: Open com.planeth.rhythm
Fixes: 135207159
Change-Id: I03f814eb7435d91287968f3dcb72f579ab4a35ed
2019-06-27 11:15:14 +00:00
Eugene Susla
9bff1b578f Merge "Don't throw from PooledLambda#toString" into qt-dev
am: 667d2c91bc

Change-Id: I4349da2e77a03c31875e46e80539247f3754e2af
2019-06-26 20:23:27 -07:00
TreeHugger Robot
667d2c91bc Merge "Don't throw from PooledLambda#toString" into qt-dev 2019-06-27 00:51:27 +00:00
Eugene Susla
9891f0986c Don't throw from PooledLambda#toString
Turns out there was one more place b/134594642#comment23

Fixes: 134594642
Test: presubmit
Change-Id: I602569c6dd0632641215a7482def2987e10701b2
2019-06-26 15:15:23 -07:00
Govinda Wasserman
8803dd60e4 [DO NOT MERGE] resolve merge conflicts of 079d81a479 to qt-r1-dev
Bug: None
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I11600ca3dafeb2d33d6b136895516ce52fdc7f6b
2019-06-26 19:55:36 +00:00
TreeHugger Robot
079d81a479 Merge "Add handle suppression to learned state" into qt-dev 2019-06-26 17:08:37 +00:00
Fabian Kozynski
e8c61a23f8 Merge "DO NOT MERGE Revert Privacy Indicators to P" into qt-r1-dev 2019-06-26 13:16:23 +00:00
Adam He
f44f4f9832 Merge "Fixed autofill compat mode regression caused by DecorContext" into qt-dev
am: 2f54cf120e

Change-Id: I74b50f6b2cb4d229c2f952da3848a5d0ecff88db
2019-06-25 15:02:21 -07:00
TreeHugger Robot
2f54cf120e Merge "Fixed autofill compat mode regression caused by DecorContext" into qt-dev 2019-06-25 21:32:01 +00:00
Eugene Susla
d6e398761e [DO NOT MERGE] Don't throw from PooledLambdaImpl#toString
am: 75632d616d

Change-Id: I17ed8f194b6a197d674f7be1877f2775b2256960
2019-06-25 13:25:50 -07:00
Matt Pietal
9c9c561e8b Merge "Sharesheet: Make max shortcut targets configurable" into qt-dev
am: 8f09cd3de1

Change-Id: I64cabf37c16188c2fff8427f1ff6aab5a9d3ddb4
2019-06-25 13:12:35 -07:00
Eugene Susla
224b4c761d Merge "[DO NOT MERGE] Don't throw from PooledLambdaImpl#toString" into qt-dev 2019-06-25 19:52:48 +00:00
Adam He
14c5b94058 Fixed autofill compat mode regression caused by DecorContext
Fixes: 135038324
Test: manual verification
Test: atest CtsAutoFillServiceTestCases
Change-Id: Iab32c24fdd9ad02308e79652422d1c4965be8e7c
2019-06-25 11:40:57 -07:00
Govinda Wasserman
3aa4f362c1 Add handle suppression to learned state
Also adds a phenotype flag to enable handles in the learned state once
per day.

Test: Tested locally
BUG:132983599
Change-Id: I21e422382e62ee098cd6ff76d6b764db98be0cb7
Merged-In: I21e422382e62ee098cd6ff76d6b764db98be0cb7
2019-06-25 18:29:39 +00:00
Eugene Susla
75632d616d [DO NOT MERGE] Don't throw from PooledLambdaImpl#toString
Bug: 134594642
Test: presubmit
Change-Id: Ia0834a76e7ae9a222ec2698dcd989317bb20f2a0
(cherry picked from commit 7f000e1dd9)
2019-06-25 18:03:50 +00:00
Matt Pietal
3ed20a7555 Sharesheet: Make max shortcut targets configurable
Allow different values for different devices

Bug: 135617408
Test: Manual
Change-Id: I01c27834d6218b9f5502976ee2a561eb73c364fc
2019-06-24 12:39:17 -04:00
Lorenzo Colitti
f80234a9b0 Merge changes If7d41052,I66f263d7,Id45ae956,Iba752fed,I575a7e4f, ... into qt-r1-dev
* changes:
  Inline readNetworkStatsDetailInternal, make mUseBpfStats final
  Remove VPN info arrays from NetworkStats(Observer|Recorder)
  NetworkStatsFactory: Take VPNs into account for network/battery stats
  Remove duplicate line in clat_simple test file
  Remove unused lastStats parameter
  Revert "Revert "Take all VPN underlying networks into account when migrating traffic for""
2019-06-24 03:37:23 +00:00
Dave Mankoff
e0321d5809 DO NOT MERGE Allow the new BrightLineFalsingManager to be enabled via PhenoType.
Test: atest SystemUITests
Bug: 111394067
Change-Id: I0ab9a72d66bf56a56df2de2ad2d247f299d1b748
Merged-In: I0ab9a72d66bf56a56df2de2ad2d247f299d1b748
2019-06-22 14:19:01 +00:00
Dave Mankoff
84c07e9f1a DO NOT MERGE Allow the new BrightLineFalsingManager to be enabled via PhenoType.
Test: atest SystemUITests
Bug: 111394067
Change-Id: I0ab9a72d66bf56a56df2de2ad2d247f299d1b748
2019-06-21 20:43:14 +00:00
Benedict Wong
edcd5ad555 Revert "Revert "Take all VPN underlying networks into account when migrating traffic for""
This reverts commit d8220c2050.

Reason for revert: Fix available for deadlocks.

Bug: 113122541
Bug: 134244752
Merged-In: Ib65214598837289bd39dbf040b56ab7835f893ba
Change-Id: Ia90bf2c72ef686e80800d113d03548e0efcadb66
(cherry picked from commit a84d9fa572)
2019-06-21 01:09:49 +00:00
Fabian Kozynski
5c837108e2 DO NOT MERGE Revert Privacy Indicators to P
Revert Privacy indicators to P.

Bug: 135180592
Test: build and check that behavior is as P
Change-Id: I24bfc3806e2d12f6a1cc968d6979107e7002a3c4
2019-06-20 10:53:35 -04:00
Eugene Susla
aee049db67 [DO NOT MERGE] Fix race in AbstractSinglePendingRequestRemoteService
am: 45fcf147c1

Change-Id: Ia01a95311ee3b38be9a9ce8aa97039294f8a66c2
2019-06-19 20:26:47 -07:00
Eugene Susla
45fcf147c1 [DO NOT MERGE] Fix race in AbstractSinglePendingRequestRemoteService
Fixes: 135355306
Test: presubmit
Change-Id: I78d9840a9d7e04cd373c967b259a614990153841
2019-06-20 01:50:48 +00:00
Tim Joines
2ca532cd57 Merge "Add config to control full task snapshot scale" into qt-dev
am: 10b9def7cb

Change-Id: Ic834d26d4f2196a390feb8b2268d42e87d8a9ab1
2019-06-19 14:55:32 -07:00
Matt Casey
e1ff28dabc Add ASSIST_TAP_PASSTHROUGH flag.
Make PhenotypeHelper public.

Bug: 135459244
Test: Manual via adb
Change-Id: I039552bdfde1b0c3ff481af5b4f8813091112391
2019-06-19 09:33:10 -04:00
Winson Chung
ffde2ea8e5 Add config to control full task snapshot scale
- Also save the scale with the snapshot data instead of trying to infer it
  from the state
- Also recycle the reduced resolution snapshot copy after writing it

Bug: 135150767
Test: atest TaskSnapshotPersisterLoaderTest
Change-Id: I64a9ccf16f3966ad5c6d07ff0b6ce8e9dd710e40
2019-06-18 14:12:25 -07:00
Lucas Dupin
1cab79144c Merge "Do not let pattern be dragged" into qt-r1-dev 2019-06-14 17:25:18 +00:00
Hui Yu
f832f61e1c Merge "Fix the missing longwake finish event problem." into qt-dev
am: eb5532eac8

Change-Id: Ie082baea99603bba6847da9cfdd959f6f5d01461
2019-06-13 18:56:06 -07:00
TreeHugger Robot
eb5532eac8 Merge "Fix the missing longwake finish event problem." into qt-dev 2019-06-14 01:03:34 +00:00