Commit Graph

13889 Commits

Author SHA1 Message Date
Antoan Angelov
61713aece6 Merge "Use intent resolver strings for sharesheet when picking intent" into rvc-dev am: 950aca5795 am: 0675309da0 am: 3141c97476 am: b37217e070
Change-Id: Ib0f3926b01cc5d5676db1b9ab7dde526bda15fb4
2020-05-06 15:34:47 +00:00
Antoan Angelov
3141c97476 Merge "Use intent resolver strings for sharesheet when picking intent" into rvc-dev am: 950aca5795 am: 0675309da0
Change-Id: If39854f8e3e60c7982f46c7a23d1e74033459fd5
2020-05-06 14:53:30 +00:00
Antoan Angelov
950aca5795 Merge "Use intent resolver strings for sharesheet when picking intent" into rvc-dev 2020-05-06 14:23:13 +00:00
Automerger Merge Worker
7845ad3755 Merge "Merge "Enable ChooserTarget ranking of the same app." into rvc-dev am: efa0eab058 am: a384d1eb7a am: d62e844b9f" into rvc-qpr-dev-plus-aosp am: 576e4f1f63
Change-Id: Ifda96eea6d1322e063e2921da475c281646e930e
2020-05-06 01:15:45 +00:00
Song Hu
bfadff8fde Merge "Enable ChooserTarget ranking of the same app." into rvc-dev am: efa0eab058 am: a384d1eb7a am: d62e844b9f
Change-Id: I4060e5534a46502e69a865f4c01abd4e4c346edb
2020-05-06 00:54:56 +00:00
Song Hu
3349d20780 Merge "Enable ChooserTarget ranking of the same app." into rvc-dev am: efa0eab058 am: a384d1eb7a
Change-Id: Icacb2da601682b2257184be2910da10737e7bad2
2020-05-06 00:36:27 +00:00
Song Hu
efa0eab058 Merge "Enable ChooserTarget ranking of the same app." into rvc-dev 2020-05-06 00:02:06 +00:00
Song Hu
60c131e869 Enable ChooserTarget ranking of the same app.
Bug: 151112858
Test: atest CtsSharesheetTestCases:android.sharesheet.cts.CtsSharesheetDeviceTest
Change-Id: If5a4edfec7116cd54ed0ae6543cab0beb011f987
2020-05-05 10:27:52 -07:00
Collin Fijalkovich
ab7486dc76 Merge changes from topic "rvc-telephony-caching" into rvc-dev am: a131a0c64f am: 31134a846b
Change-Id: I9b7f25da0ecfcfb17d851cf51a275da3ac1a7b41
2020-05-05 17:05:56 +00:00
Collin Fijalkovich
a131a0c64f Merge changes from topic "rvc-telephony-caching" into rvc-dev
* changes:
  Cache getPhoneId and getSlotIndex binder calls.
  Refactor SubscriptionManager caching code
  Cache getDefaultSmsSubscriptionId Binder calls
  Cache getActiveDataSubscriptionId Binder calls
2020-05-05 16:30:39 +00:00
Kholoud Mohamed
084d6d47f3 Merge "Fix bug in IntentForwarderActivity" into rvc-dev am: d4d2427c01 am: 41aa6e32ae am: d46572b1b6 am: 8c55493510
Change-Id: Id7275a9cc2a18bd31290f9d986b737e9d1e71d87
2020-05-05 14:24:07 +00:00
Kholoud Mohamed
41aa6e32ae Merge "Fix bug in IntentForwarderActivity" into rvc-dev am: d4d2427c01
Change-Id: I6fbe85e3a9eb0c28b33981725120cf96a6933228
2020-05-05 13:56:19 +00:00
Kholoud Mohamed
d4d2427c01 Merge "Fix bug in IntentForwarderActivity" into rvc-dev 2020-05-05 13:37:54 +00:00
kholoud mohamed
06335279aa Fix bug in IntentForwarderActivity
Bug: 155096621
Test: atest com.android.cts.devicepolicy.ManagedProfileCrossProfileTest#testCrossProfileIntentFilters
Test: atest IntentForwarderActivityTest
Test: atest ResolverActivityTest
Test: atest ChooserActivityTest
Change-Id: Ieb99f566fa9cfc14254fecfa5897d421fd39482f
2020-05-05 09:56:07 +00:00
Jing Ji
7568b8b9e3 Merge "Support to pull aggregated procstats associations" into rvc-dev am: e9fbacf6c5 am: e2c14e4354 am: b96b669008 am: 4e48d6f4c5
Change-Id: I2b4a1c3e6121b480aa4737618eb99f9118394baa
2020-05-05 01:54:07 +00:00
Adam Bookatz
d0b3845cad Merge "Listener to watch op starts" into rvc-dev am: 316bc6ff66 am: 2d3310ec59 am: 911b6104c8 am: fa8147715d
Change-Id: Ief89629b6100e140d0d081f401a78c4c8ce40baf
2020-05-05 01:53:29 +00:00
Jing Ji
b96b669008 Merge "Support to pull aggregated procstats associations" into rvc-dev am: e9fbacf6c5 am: e2c14e4354
Change-Id: Iebe8a213972b88033b2dc690d3bd09c2fdf51a3f
2020-05-05 01:22:07 +00:00
Adam Bookatz
911b6104c8 Merge "Listener to watch op starts" into rvc-dev am: 316bc6ff66 am: 2d3310ec59
Change-Id: I81143dc94dd471f4fdc32ad5881d3416ccd267e4
2020-05-05 01:21:53 +00:00
Jing Ji
6cadc218fe Merge "Support to pull aggregated procstats associations" into rvc-dev am: e9fbacf6c5
Change-Id: I4c5a3f889c99337c9462104d1a0b880d1ba12a6f
2020-05-05 01:10:49 +00:00
Yuncheol Heo
cac5bb32ec Merge changes from topic "immersive" into rvc-dev am: 8f4363a226 am: 8752446dab am: 7ac3c1b8b6 am: 1092daf3a5
Change-Id: I541272cb1a0f4aac2990a59133025e4af78c7029
2020-05-05 01:10:29 +00:00
Jing Ji
e9fbacf6c5 Merge "Support to pull aggregated procstats associations" into rvc-dev 2020-05-05 01:05:47 +00:00
Adam Bookatz
9a7193540b Merge "Listener to watch op starts" into rvc-dev am: 316bc6ff66
Change-Id: Ibfb5fa140c85c8548096993e9228eb917ab1487e
2020-05-05 01:05:07 +00:00
Adam Bookatz
316bc6ff66 Merge "Listener to watch op starts" into rvc-dev 2020-05-05 00:52:12 +00:00
Yuncheol Heo
7ac3c1b8b6 Merge changes from topic "immersive" into rvc-dev am: 8f4363a226 am: 8752446dab
Change-Id: Ic26e9ea346dba0b540f4d437f246ebde705522e8
2020-05-05 00:44:23 +00:00
Yuncheol Heo
5df9a2c229 Merge changes from topic "immersive" into rvc-dev am: 8f4363a226
Change-Id: I6c4e16a40c99d2051804b06dabcfea4d10644cef
2020-05-05 00:28:36 +00:00
Yuncheol Heo
8f4363a226 Merge changes from topic "immersive" into rvc-dev
* changes:
  Add test api getStatus/NavigationBarBackgroundView.
  Notify the visibility change to update color views without control.
2020-05-05 00:14:09 +00:00
Adam Bookatz
182862e595 Listener to watch op starts
Currently, there is
onOpNoted - tells listeners that noteOp has occurred
onOpActiveChanged - tells listeners that an op's 'active' state has
changed, i.e. that a successfull startOp or stopOp has happened

There was, however, no way of telling a listener that a startOp has
happened (regardless of whether it was successful). This cl introduces
it, via a OnOpStartedListener.

This is required by the ForegroundServiceAppOpSessionEnded atom,
which counts the number of accepted vs. rejected attempts, and
therefore also needs to know when a rejected start happened.

This cl also contains some cosmetic moving of code so that
startOperation() and noteOperationImpl() are almost
exactly parallel.

* Also *
This cl fixes a bug I discovered in stopWatchingNoted, in which
the callback wasn't fully removed. Consequently, if a callback
was unregistered and then re-registered, the re-registration would
mistakingly be ignored (in direct contradiction to the javadoc).

Test: atest UidAtomTests#testForegroundServiceAccessAppOp
Test: atest AppOpsStartedWatcherTest AppOpsActiveWatcherTest AppOpsNotedWatcherTest
Test: manually monitor: adb shell cmd stats print-logs && adb logcat -v uid -s statsd | grep "statsd  : {" | egrep '\(256\)'
Bug: 152800926
Change-Id: Icdb9edf6b2b7c5807b339c1aabb32e882190b071
2020-05-04 21:59:29 +00:00
Yuncheol Heo
70c4bb9007 Add test api getStatus/NavigationBarBackgroundView.
Introduces new test api to access the background view of status bar and
navigation bar.

Bug: 154720832
Test: atest WindowInsetsPolicyTest

Change-Id: If38d3f57edfbb2631d4c1e47ed5347a332edacfb
2020-05-04 14:36:43 -07:00
Jing Ji
060d68630d Support to pull aggregated procstats associations
Bug: 145203981
Test: b/152397079#comment12
Test: atest CtsStatsdHostTestCases
Change-Id: If5b9723a41a9d2eefc2cb132b3a3bf16f57872e9
2020-05-04 14:33:06 -07:00
Song Hu
df3d7c5a43 Merge "Pass ChooserTarget sharing and impression info to AppPredictor. Rank ChooserTargets of the same component as per available scores returned by AppPredictor. These two features are guarded by flag "mChooserTargetRankingEnabled" Add relevant logging to make it easy to figure out root cause from bug report." into rvc-dev am: 4a9bd0da70 am: 1b888453e7 am: 82a80ba9d5 am: 63b924a0e2
Change-Id: I985734c5444e7f93ccd1f1173011465005304691
2020-05-04 17:33:42 +00:00
Song Hu
1b888453e7 Merge "Pass ChooserTarget sharing and impression info to AppPredictor. Rank ChooserTargets of the same component as per available scores returned by AppPredictor. These two features are guarded by flag "mChooserTargetRankingEnabled" Add relevant logging to make it easy to figure out root cause from bug report." into rvc-dev am: 4a9bd0da70
Change-Id: I6ae30f7fb54ae3ec68439adabbf720fd75ab519a
2020-05-04 16:51:20 +00:00
Song Hu
4a9bd0da70 Merge "Pass ChooserTarget sharing and impression info to AppPredictor. Rank ChooserTargets of the same component as per available scores returned by AppPredictor. These two features are guarded by flag "mChooserTargetRankingEnabled" Add relevant logging to make it easy to figure out root cause from bug report." into rvc-dev 2020-05-04 16:39:00 +00:00
Song Hu
5aab2d3fbe Pass ChooserTarget sharing and impression info to AppPredictor.
Rank ChooserTargets of the same component as per available scores returned by AppPredictor.
These two features are guarded by flag "mChooserTargetRankingEnabled"
Add relevant logging to make it easy to figure out root cause from bug report.

Bug: 151112858
Test: atest CtsSharesheetTestCases:android.sharesheet.cts.CtsSharesheetDeviceTest
Change-Id: Id8c4b373ba9e2e1ae29281791e49dde8722ba9d1
2020-05-03 15:17:54 -07:00
Winson Chung
ad7d530453 Merge "Account for getDimension() also doing a pixel conversion" into rvc-dev am: a29ccb6fa3 am: 9f725103be am: 4d2832370d am: 20f484b50a
Change-Id: I21a3a772831b4a445e3615980650b5e7c7761864
2020-05-02 03:37:50 +00:00
Winson Chung
4d2832370d Merge "Account for getDimension() also doing a pixel conversion" into rvc-dev am: a29ccb6fa3 am: 9f725103be
Change-Id: Iee50a3281717cc282a90dcb2270142de22c89c00
2020-05-02 03:15:05 +00:00
Winson Chung
7b6a48cecb Merge "Account for getDimension() also doing a pixel conversion" into rvc-dev am: a29ccb6fa3
Change-Id: If2880b5676fd62afe5c140f88733f74f09cced8e
2020-05-02 02:58:30 +00:00
Winson Chung
4ef84183e7 Account for getDimension() also doing a pixel conversion
Change-Id: Ie35eb98d6063a0747851e06f6da17b86ede19b41
Bug: 148104018
Test: Ensure edge swipe thresholds match resources
2020-05-01 15:24:49 -07:00
arangelov
993d63b339 Use intent resolver strings for sharesheet when picking intent
Fixes: 154290625
Test: manual
Test: atest ChooserActivityTest
Test: atest ResolverActivityTest
Change-Id: Ibf28daaf42859df2d9093e871c102d0a327231f2
2020-05-01 15:32:57 +01:00
Rubin Xu
fd84363220 Merge "Refresh strong auth alarm when admin changes policy" into rvc-dev am: bc7d9bdd5a am: 0a371c7612 am: 571806a405 am: 2b8d5b9fb8
Change-Id: Ia788773c1618a837b73448cfa5b311fd8bb06546
2020-05-01 11:09:55 +00:00
Rubin Xu
571806a405 Merge "Refresh strong auth alarm when admin changes policy" into rvc-dev am: bc7d9bdd5a am: 0a371c7612
Change-Id: I718963ae503b36e55175ab3212ab43f94b9bd652
2020-05-01 10:45:16 +00:00
Rubin Xu
3733aea8e1 Merge "Refresh strong auth alarm when admin changes policy" into rvc-dev am: bc7d9bdd5a
Change-Id: I59bd71b9f197043fbcedd1c3a714ba774ce17ea0
2020-05-01 10:31:20 +00:00
Rubin Xu
bc7d9bdd5a Merge "Refresh strong auth alarm when admin changes policy" into rvc-dev 2020-05-01 10:14:28 +00:00
Maryam Karimzadehgan
f1d5bd7801 Merge "Add Flags to be able to run experiments for the Back Gesture Problem." into rvc-dev am: 6ff27423b8 am: d1d00283ac am: 561e1ed80c am: 6f2bad9ea3
Change-Id: I911feba2312ec93983567b3a6b89ee97d745f5e7
2020-04-30 23:44:43 +00:00
Maryam Karimzadehgan
561e1ed80c Merge "Add Flags to be able to run experiments for the Back Gesture Problem." into rvc-dev am: 6ff27423b8 am: d1d00283ac
Change-Id: Id4d357c090c6b96035d5763ed0039b44a0be1c4c
2020-04-30 23:39:57 +00:00
Maryam Karimzadehgan
8dbbd88612 Merge "Add Flags to be able to run experiments for the Back Gesture Problem." into rvc-dev am: 6ff27423b8
Change-Id: I3c45ce2f0c0e8069b96c3d82c73e26e9fa58a275
2020-04-30 23:36:41 +00:00
Maryam
a142e5210b Add Flags to be able to run experiments for the Back Gesture Problem.
Test: manual atest, adb shell device_config put systemui back_gesture_bottom_height 1000
Bug: 148104018
Change-Id: I5b0e696ca2e015d2d9a1718785f4a140cfff083f
2020-04-30 16:23:43 +00:00
Automerger Merge Worker
d20fa451a4 Merge "Merge "Report caption insets change when layout" into rvc-dev am: 9f804f7593 am: e1c304a615" into rvc-d1-dev-plus-aosp am: 5973fc34ac am: 226b24f842
Change-Id: If995ba2c5bf2e0ada02902f037bc92a0a044e3c7
2020-04-30 05:35:06 +00:00
Yunfan Chen
846f8acda4 Merge "Report caption insets change when layout" into rvc-dev am: 9f804f7593 am: e1c304a615
Change-Id: If709132abfdf5bae121c612ecbe39a8f4ec84475
2020-04-30 05:04:51 +00:00
Yunfan Chen
3e87b4d891 Merge "Report caption insets change when layout" into rvc-dev am: 9f804f7593
Change-Id: If0cab89959f4f24d9f8cff1f0ea9c5835c7b4540
2020-04-30 04:52:42 +00:00
Yunfan Chen
9f804f7593 Merge "Report caption insets change when layout" into rvc-dev 2020-04-30 04:43:47 +00:00