Commit Graph

13799 Commits

Author SHA1 Message Date
TreeHugger Robot
e5d97b8093 Merge "Show other profile tab if 0 apps in current profile and >1 in the other." into rvc-dev am: 2dda126b01 am: 8c3dca9ebb am: 19eeab2ae8 am: dfa33126f5
Change-Id: I05898cf6fcd39a3d9e210b893287e8e59bae27e3
2020-04-16 21:32:37 +00:00
TreeHugger Robot
19eeab2ae8 Merge "Show other profile tab if 0 apps in current profile and >1 in the other." into rvc-dev am: 2dda126b01 am: 8c3dca9ebb
Change-Id: Ie7c0d1e1655e982fe21f398012006fad2a7f3146
2020-04-16 20:57:04 +00:00
TreeHugger Robot
2dda126b01 Merge "Show other profile tab if 0 apps in current profile and >1 in the other." into rvc-dev 2020-04-16 20:03:45 +00:00
Richard Gaywood
0fc266a32a Merge "Implement procsstats data agggregation" into rvc-dev am: 89e6a4a4b5 am: ffea2256b9
Change-Id: I48aa4e86fb7a9a6be19aa3d8a3e0d0fcefa84c1c
2020-04-16 19:22:18 +00:00
Richard Gaywood
89e6a4a4b5 Merge "Implement procsstats data agggregation" into rvc-dev 2020-04-16 18:43:09 +00:00
TreeHugger Robot
7aa5469800 Merge "Call updateChooserCounts with the correct user id" into rvc-dev am: dbbb59a1c5 am: 7d14d57b2d am: 357031d6ee am: 1975717b6c
Change-Id: Ia99fccc02eff585bf194d7b077191a16ae15bcfb
2020-04-16 18:39:36 +00:00
TreeHugger Robot
357031d6ee Merge "Call updateChooserCounts with the correct user id" into rvc-dev am: dbbb59a1c5 am: 7d14d57b2d
Change-Id: I811622df5cf17e366b69ff917947956545051e69
2020-04-16 18:12:57 +00:00
arangelov
2c6115af27 Show other profile tab if 0 apps in current profile and >1 in the other.
Currently if we have 0 browser apps in work profile and >1 in personal,
and we try open a link from the  work profile, the personal profile
intent resolver is launched. We handle this gracefully by showing the
work tab and the no apps found empty state screen, instead of the
cross profile intents disabled.

Other changes in this commit:
- Handle all empty state screens from a single method
- All empty state screens are now shown from ResolveActivity#onPostListReady.
This was needed to guarantee consistency when showing the header.
- Always create the header exactly once for the lifetime of the intent
resolver/share sheet. Before it was re-created when swiping back to
the initial tab.
- Always show the header text when the tabbed view is enabled.

Fixes: 148536209
Test: manual
Test: atest ChooserActivityTest
Test: atest ResolverActivityTest

Change-Id: I737f1e8f864ae1108af7ec3ba8a1fa0f10b383b0
2020-04-16 19:07:43 +01:00
TreeHugger Robot
dbbb59a1c5 Merge "Call updateChooserCounts with the correct user id" into rvc-dev 2020-04-16 17:39:38 +00:00
arangelov
4872e68cf6 Call updateChooserCounts with the correct user id
Fixes: 154216098
Test: atest ChooserActivityTest
Test: manually share in-profile and cross-profile
Change-Id: I7a970acba6ca4ab044c2fa07cef6bfe99582bf62
2020-04-16 17:06:26 +01:00
TreeHugger Robot
f7f1ed8bc7 Merge "Don't hide "Switch on work" button in landscape" into rvc-dev am: 5895295da0 am: 51af9b931b am: 497ad8ebfa am: 873259e379
Change-Id: Iadd5f82a31358f451bc6e6658efd197af1ed1370
2020-04-16 14:53:04 +00:00
TreeHugger Robot
497ad8ebfa Merge "Don't hide "Switch on work" button in landscape" into rvc-dev am: 5895295da0 am: 51af9b931b
Change-Id: I5cae62da52a98280d323c499d31291b436215112
2020-04-16 14:26:12 +00:00
TreeHugger Robot
5895295da0 Merge "Don't hide "Switch on work" button in landscape" into rvc-dev 2020-04-16 13:55:36 +00:00
Richard Gaywood
57dc86afc0 Implement procsstats data agggregation
Aggregation of procstats data is done to a subset of total possible
process states; this reduces total data footprint.

Change-Id: Ia1528c5ca33bafcb992e34d5fec53156d357b9e1
Test: make, flash (code not yet invoked)
Bug: 145203981
Merged-In: Ia1528c5ca33bafcb992e34d5fec53156d357b9e1
(cherry picked from commit 1651ad3c3a)
2020-04-16 12:50:26 +00:00
TreeHugger Robot
b283a68d3b Merge "Add aggregation method to dumputils" into rvc-dev am: c498e5d6ee
Change-Id: I106c2d86065e309028c29640387bcc91a5d2cd4a
2020-04-16 08:14:15 +00:00
Rhed Jao
a790f45c28 Merge "Fixes long press the a11y shortcut no response" into rvc-dev am: 2a58cd105d am: 17a2941ec6 am: 388710c7ad am: 4276848f19
Change-Id: I4f892ca07934bd05c1d90465df8f5bd82e58b90c
2020-04-16 07:23:39 +00:00
Rhed Jao
388710c7ad Merge "Fixes long press the a11y shortcut no response" into rvc-dev am: 2a58cd105d am: 17a2941ec6
Change-Id: I04877dcb94b778a64def65feec5f18a04d14a1bf
2020-04-16 06:47:08 +00:00
Rhed Jao
bc3e04fb28 Merge "Fixes long press the a11y shortcut no response" into rvc-dev am: 2a58cd105d
Change-Id: Iea1d36c10231df1c7f73465746e3392c805cae69
2020-04-16 06:27:01 +00:00
Richard Gaywood
9efa35f8cb Add aggregation method to dumputils
Will be used for aggregating process states together for stats tracking
and output.

Change-Id: I5833a53f2e5e788d0475e10129658d12d9cf2b88
Bug: 148542701
Merged-In: I5833a53f2e5e788d0475e10129658d12d9cf2b88
Test: build, flash, unit tests (newly added code is not invoked yet)
(cherry picked from commit b832e98879)
2020-04-16 06:18:04 +00:00
Rhed Jao
8fcba0353e Fixes long press the a11y shortcut no response
An a11y service targeting sdk version > Q and requesting a11y button
should be turned on by the Settings when it's assigned to the a11y
shortcut by the user. An a11y button callback is sent to the a11y
service when the user long press the a11y shortcut.

This issue happened when an disabled a11y service is assigned to the
a11y shortcut, and upgraded to the target sdk version > Q. Framework
fails to send the callback and no response when user long press the
shortcut.

Turns on the a11y service and show up a toast to fix this issue.

Bug: 153517972
Test: atest AccessibilityShortcutControllerTest
Change-Id: Ie4fc9bbeaf08ba674cfe6382eab214b2a15c004c
2020-04-16 12:14:23 +08:00
arangelov
5f29e27a11 Don't hide "Switch on work" button in landscape
Hiding the button is not in line with the a11y
guidelines. Make button always show instead.

Fixes: 149817494
Test: manual
Change-Id: If2d2ef34ece72a6d397d18ff735ab2c55c8bd4a3
2020-04-15 18:48:52 +01:00
TreeHugger Robot
b0080768b5 Merge "Enable System User Home for CSI" into rvc-dev am: 10e9c219a1 am: 125a774d0b am: 60f3a07173 am: bfe394736d
Change-Id: I2a8c307c9ed9627456c300c5e7be2d2517119131
2020-04-15 16:51:17 +00:00
TreeHugger Robot
125a774d0b Merge "Enable System User Home for CSI" into rvc-dev am: 10e9c219a1
Change-Id: I73786c7bfa2ee00e0dea3d7ef198816438d54a8b
2020-04-15 00:51:00 +00:00
TreeHugger Robot
10e9c219a1 Merge "Enable System User Home for CSI" into rvc-dev 2020-04-15 00:47:44 +00:00
TreeHugger Robot
0ed2800421 Merge "Increase collapsed height for resolver list with default and tabs" into rvc-dev am: 42987638f5 am: 3ccffa5e5b am: 82273981fd am: 847c3437c9
Change-Id: Ie801b4533226737d7416394d6217ae76e61bf525
2020-04-14 19:38:56 +00:00
TreeHugger Robot
82273981fd Merge "Increase collapsed height for resolver list with default and tabs" into rvc-dev am: 42987638f5 am: 3ccffa5e5b
Change-Id: I37103c287a2f4b220e24b259dba3a4b87805333f
2020-04-14 19:13:38 +00:00
TreeHugger Robot
d9d2acf968 Merge "Increase collapsed height for resolver list with default and tabs" into rvc-dev am: 42987638f5
Change-Id: Ia4eaa09758feb8d3ac940926469c0579c563be65
2020-04-14 18:57:04 +00:00
TreeHugger Robot
42987638f5 Merge "Increase collapsed height for resolver list with default and tabs" into rvc-dev 2020-04-14 18:30:29 +00:00
Garfield Tan
8bb132fc4c Merge "Enable compositor shadow for freeform windows." into rvc-dev am: 4456f7d2d6 am: 7689af7430 am: d03a904bd5 am: 6637bdb180
Change-Id: I52a655362ed2c5aa9c3837294635c896db477171
2020-04-14 18:26:44 +00:00
Garfield Tan
d03a904bd5 Merge "Enable compositor shadow for freeform windows." into rvc-dev am: 4456f7d2d6 am: 7689af7430
Change-Id: I4b7c169c3e50dfc285ccf368724a870ad6d5f46e
2020-04-14 17:42:00 +00:00
Garfield Tan
0ea7534a49 Merge "Enable compositor shadow for freeform windows." into rvc-dev am: 4456f7d2d6
Change-Id: I6b28f82e45206bfe06a3750130d60d3fb5c6f506
2020-04-14 17:23:15 +00:00
Garfield Tan
4456f7d2d6 Merge "Enable compositor shadow for freeform windows." into rvc-dev 2020-04-14 17:03:59 +00:00
arangelov
bf80675a0f Increase collapsed height for resolver list with default and tabs
Fixes: 153510337
Test: manual
Change-Id: Icaf291764f7549ae245b63f706e4c33061bb6c8d
2020-04-14 17:02:36 +01:00
TreeHugger Robot
e1d8a090ba Merge "Start sharesheet in the same profile instead of switching to other profile." into rvc-dev am: 1f6f9a6c75 am: eded4dc078 am: 8bd18a88e3 am: b23201d8f0
Change-Id: I6d81d4aeed1534ff11a875327d449de5f8617c12
2020-04-14 14:01:57 +00:00
TreeHugger Robot
b0f3adae45 Merge "Start sharesheet in the same profile instead of switching to other profile." into rvc-dev am: 1f6f9a6c75
Change-Id: I43891e09a2bdd5fef640bfe97e2678213d6f78ab
2020-04-14 13:25:16 +00:00
TreeHugger Robot
8bd18a88e3 Merge "Start sharesheet in the same profile instead of switching to other profile." into rvc-dev am: 1f6f9a6c75 am: eded4dc078
Change-Id: I8865b5bf95558223f258f16cf76b0effbb31e4f5
2020-04-14 13:24:09 +00:00
TreeHugger Robot
1f6f9a6c75 Merge "Start sharesheet in the same profile instead of switching to other profile." into rvc-dev 2020-04-14 13:15:56 +00:00
Mady Mellor
664b0ebcd5 Notification Bubble Button am: 9adfe6a20c am: bf4131708a am: 339f4426e9 am: 9c70efef93
Change-Id: Id32cff98d32ba719bf3cf9c1d61837cecb936889
2020-04-14 12:07:29 +00:00
Susi Kharraz-Post
ee1c6b1b70 Merge "Rename sharesheet started atom proto fields." into rvc-dev am: 1faa960005 am: 6f47791a45 am: 1a9937fac8 am: 027f2f6a3e
Change-Id: I553e5602c0c3c58e7355d4f8eb64314eb73aa78f
2020-04-14 12:06:26 +00:00
Mady Mellor
339f4426e9 Notification Bubble Button am: 9adfe6a20c am: bf4131708a
Change-Id: Iab279ae35352186d4acedc6bc9224f9f6251d93e
2020-04-14 11:47:20 +00:00
Mady Mellor
5bed4a8ab4 Notification Bubble Button am: 9adfe6a20c
Change-Id: I879feee141b1584624dee3236851f59024b8ac22
2020-04-14 11:28:41 +00:00
Mady Mellor
bf4131708a Notification Bubble Button am: 9adfe6a20c
Change-Id: If6d8ab22f41e448746698a06c077d05a971b3f89
2020-04-14 11:27:44 +00:00
Julia Reynolds
c026d54cd7 Merge changes from topic "bubble_settings_wooo" into rvc-dev
* changes:
  Changes to enable bubble settings CTS
  Notification Bubble Button
  Make bubble settings a pref with an int rather than a bool
2020-04-14 11:22:14 +00:00
Susi Kharraz-Post
1a9937fac8 Merge "Rename sharesheet started atom proto fields." into rvc-dev am: 1faa960005 am: 6f47791a45
Change-Id: I9875e3fba25d125054b3ddba0c0d6d8c812ad610
2020-04-14 11:16:49 +00:00
Susi Kharraz-Post
714d0434d3 Merge "Rename sharesheet started atom proto fields." into rvc-dev am: 1faa960005
Change-Id: Ibe864e6a59b447418d7b2e537677e65a84d78f2f
2020-04-14 11:08:23 +00:00
Susi Kharraz-Post
1faa960005 Merge "Rename sharesheet started atom proto fields." into rvc-dev 2020-04-14 10:49:57 +00:00
PETER LIANG
1284ecb10f Merge "Migrate AccessibilityButtonChooserActivity into dialog folder and renaming." into rvc-dev am: 40dff7cd01 am: 80b70f7697 am: c4422c1807 am: db5a00f714
Change-Id: I2f785a38ca302c65f2cab0bca76124e6885dcc54
2020-04-14 10:06:14 +00:00
PETER LIANG
c4422c1807 Merge "Migrate AccessibilityButtonChooserActivity into dialog folder and renaming." into rvc-dev am: 40dff7cd01 am: 80b70f7697
Change-Id: I4c97b2766eb95b3dd7c280e0e57ab3807582fb65
2020-04-14 09:19:08 +00:00
PETER LIANG
76a496305a Merge "Migrate AccessibilityButtonChooserActivity into dialog folder and renaming." into rvc-dev am: 40dff7cd01
Change-Id: Ie78d4914ce91702dc3bc990eb441c628426825c7
2020-04-14 09:02:34 +00:00
Peter_Liang
8b7c9dada1 Migrate AccessibilityButtonChooserActivity into dialog folder and renaming.
1. Migrate and renaming file, functions.
2. Revise java doc and annotations.

Bug: 151294664
Bug: 147655054
Test: manual test
Change-Id: Ie791bce32b21495f9c2bf499feb8f6601c941f1d
2020-04-14 03:24:59 +00:00