Commit Graph

13417 Commits

Author SHA1 Message Date
Automerger Merge Worker
ba50e8e635 Merge "Merge "Hide empty state icon and button in landscape mode." into rvc-dev am: 5e8e9e5f1a am: 27fcb96242" into rvc-d1-dev-plus-aosp am: 5612bb2979 am: f5dbcd5479
Change-Id: I58c060c4bc4baa82a069ac40fefd0b59131577a4
2020-03-26 13:03:39 +00:00
TreeHugger Robot
27fcb96242 Merge "Hide empty state icon and button in landscape mode." into rvc-dev am: 5e8e9e5f1a
Change-Id: I8e58e9cc4af96deebe46f01881362c3cc6ea92c0
2020-03-26 12:21:16 +00:00
TreeHugger Robot
5e8e9e5f1a Merge "Hide empty state icon and button in landscape mode." into rvc-dev 2020-03-26 12:19:56 +00:00
TreeHugger Robot
52fd7e1cf6 Merge "Do not mount whitelisted package in storage data and obb dirs" into rvc-dev am: e5d60ed552 am: 11dfc1132e am: 4528003b22 am: 196f780902
Change-Id: I9cd526f03e6a930082743e0c4e754dd69d91ed02
2020-03-26 12:07:17 +00:00
TreeHugger Robot
4528003b22 Merge "Do not mount whitelisted package in storage data and obb dirs" into rvc-dev am: e5d60ed552 am: 11dfc1132e
Change-Id: Ia3ac8b0475d904937d55d48bf664eeaefcc20287
2020-03-26 11:37:38 +00:00
TreeHugger Robot
bdc1efb903 Merge "Do not mount whitelisted package in storage data and obb dirs" into rvc-dev am: e5d60ed552
Change-Id: I0cddbfd4a280ed2cfd8d13ea62c1c24ae6e2f2ad
2020-03-26 11:13:55 +00:00
TreeHugger Robot
e5d60ed552 Merge "Do not mount whitelisted package in storage data and obb dirs" into rvc-dev 2020-03-26 11:01:12 +00:00
Menghan Li
ec65a6a138 Merge "Accessibility Service & Shortcut Redesign - Remove “volume key shortcut” setting (5/n)" into rvc-dev am: fea8d184c2 am: 5664cb5315 am: 21f36c7bfb am: b10fbb7a4e
Change-Id: I995d4e7e20d12235d6fd57c8e8d437c8cb727fb6
2020-03-26 01:27:47 +00:00
Menghan Li
21f36c7bfb Merge "Accessibility Service & Shortcut Redesign - Remove “volume key shortcut” setting (5/n)" into rvc-dev am: fea8d184c2 am: 5664cb5315
Change-Id: Ibb1c94b1c8fc5df59caba66d2a16215800297a00
2020-03-26 00:54:21 +00:00
Menghan Li
835bda5744 Merge "Accessibility Service & Shortcut Redesign - Remove “volume key shortcut” setting (5/n)" into rvc-dev am: fea8d184c2
Change-Id: I276c3ab248480a37ae4905fc364a3e8325be0d7e
2020-03-26 00:38:20 +00:00
Menghan Li
fea8d184c2 Merge "Accessibility Service & Shortcut Redesign - Remove “volume key shortcut” setting (5/n)" into rvc-dev 2020-03-26 00:21:50 +00:00
Ricky Wai
2cd955e79d Do not mount whitelisted package in storage data and obb dirs
We now pass 2 booleans from AM to zygote about:
- If CE and DE data dirs need to be mounted
- If storage data and obb dirs need to be mounted

And also, separate whitelisted package from same uid packages, as same
uid packages do not need to be mounted in storage data and obb dir case,
it's needed to be mounted for CE and DE data dirs only. Otherwise
whtelisted packages will also be mounted in storage data and obb dirs,
which apps should not have access to it.

Bug: 151218156
Test: atest AdoptableHostTest
Change-Id: If7c20a7ed3b845d8657c937469161cb7ed3da07f
2020-03-25 16:40:46 +00:00
Automerger Merge Worker
e7c7b5257e Merge "Merge "Fix calculation of the collapsible height" into rvc-dev am: 5cb264d9df am: 0d9c6a8fce" into rvc-d1-dev-plus-aosp am: a68d2cfc67 am: 3c6bcfc2ab
Change-Id: I01e2350b376632b8d57b73882f250a7cd11d4f6d
2020-03-25 16:32:06 +00:00
arangelov
c5fb839d31 Hide empty state icon and button in landscape mode.
This is to accommodate for the case when the user
has max font size and max display size. The rest of
the empty state screen won't fit unless we hide the
icon and "Turn on work" button.

Test: manual
Fixes: 149817494
Fixes: 152274446
Change-Id: I95b90461ac36b4bbf6b0e4c4dd223e941d8c75cb
2020-03-25 13:48:10 +00:00
TreeHugger Robot
91253a6acb Merge "Fix calculation of the collapsible height" into rvc-dev am: 5cb264d9df am: 0d9c6a8fce
Change-Id: I6194ce3affb91934bb63bb7aee10fe67274f76dc
2020-03-25 13:32:36 +00:00
TreeHugger Robot
af4ed634cf Merge "Fix calculation of the collapsible height" into rvc-dev am: 5cb264d9df
Change-Id: I5759366868bdd770959f20ac0c6cf04031f8b11f
2020-03-25 13:32:05 +00:00
TreeHugger Robot
5cb264d9df Merge "Fix calculation of the collapsible height" into rvc-dev 2020-03-25 13:25:56 +00:00
menghanli
390f8f9be9 Accessibility Service & Shortcut Redesign - Remove “volume key shortcut” setting (5/n)
- Target to fix migration issue to support a user revoked the accessibility shortcut before upgrading to R, but wants to to apply new hardware shortcut design in R.
- The switchbar of accessibility_shortcut_enabled was removed in (1/n), so we should also remove related checker in controller.

Bug: 142529032
Test: atest AccessibilityShortcutControllerTest
Change-Id: I48f8d88c4192e894b9e210221e5dc7e701344623
2020-03-25 07:46:41 +08:00
arangelov
685a1766c2 Fix calculation of the collapsible height
Test: manual
Fixes: 146654842
Change-Id: Ia63fcbb654218a2972596f19c409028db71dab79
2020-03-24 13:11:39 +00:00
TreeHugger Robot
07027ff0d0 Merge changes I3f220769,I4c9af08c into rvc-dev am: c1b17d656d am: d170c6428c am: b0b1bfc26f am: d02859e5ec
Change-Id: I132387a549ebe2b5a9120f1cce826055624c08cb
2020-03-24 05:22:51 +00:00
TreeHugger Robot
b0b1bfc26f Merge changes I3f220769,I4c9af08c into rvc-dev am: c1b17d656d am: d170c6428c
Change-Id: Ibfa99ad309239b0cf15580fe88bc2f5acab9a185
2020-03-24 04:56:48 +00:00
TreeHugger Robot
0ae44e1b8f Merge changes I3f220769,I4c9af08c into rvc-dev am: c1b17d656d
Change-Id: I90300d507761b84191238a339a3f49273b3de3ac
2020-03-24 04:43:31 +00:00
Selim Cinek
d00d01a298 Fixed the coloring of the background of the conversation icons
Since we moved it to an ImageView, the background tinting didn't work anymore.

Bug: 150905003
Test: add conversation in darkmode
Change-Id: I3f22076926c130f22445d06405dff75ac8fdbb0a
2020-03-24 02:28:57 +00:00
Selim Cinek
bf322ee05a Add back the conversation icon in the expanded view
The conversation icon now shrinks instead of disappearing
as does the face-pile. This also requirements some adjustments
for when the conversation is inside a group since the app
name disappears there.

Bug: 150905003
Test: add group conversations observe layout
Change-Id: I4c9af08cc6adbb1deea1b750a4fd20eaa06f087d
2020-03-24 02:28:37 +00:00
Antoan Angelov
3f82227b83 Merge "Center the work tab empty state spinner inside the empty state view." into rvc-dev am: 8c6b17b1ad am: 55007c4e71 am: 1221785e9a am: 7825557a6e
Change-Id: Id16aa78f23207b87f7f64276277df130baae2ae4
2020-03-23 17:57:13 +00:00
Antoan Angelov
55007c4e71 Merge "Center the work tab empty state spinner inside the empty state view." into rvc-dev am: 8c6b17b1ad
Change-Id: I9428292e142d3b99a8f14237bb92ab86abb240d7
2020-03-23 17:13:47 +00:00
Antoan Angelov
8c6b17b1ad Merge "Center the work tab empty state spinner inside the empty state view." into rvc-dev 2020-03-23 16:56:51 +00:00
Hui Yu
c30238be22 Merge "Update AppOps & UsageStats when app widget tapped." into rvc-dev am: aa3d42b129 am: aab97af060 am: 8b7fcb5766 am: d4d426a94c
Change-Id: Ib6ad73f64e04a4fdd1bf53cce628af06bc52139a
2020-03-21 20:52:54 +00:00
Hui Yu
8b7fcb5766 Merge "Update AppOps & UsageStats when app widget tapped." into rvc-dev am: aa3d42b129 am: aab97af060
Change-Id: I377586349ffe634a65e2c237224469a7c0f90149
2020-03-21 20:23:51 +00:00
Hui Yu
56deaab4c8 Merge "Update AppOps & UsageStats when app widget tapped." into rvc-dev am: aa3d42b129
Change-Id: I415deec0a9f7b168fc6ccdd5878be4fd57d53a58
2020-03-21 20:10:24 +00:00
Hui Yu
3dc45fbc57 Update AppOps & UsageStats when app widget tapped.
When the app widget on the launcher is tapped on:
1. Update AppOps. AppOps treats the underlying app as foreground so the app can get while-in-use
permission.
2. Report a USER_INTERACTION event to UsageStats so UsageStats can
update mLastTimeUsed and mLastTimeVisible of this package.

Bug: 149043079
Test: manual test, tapped on a widget.
Change-Id: Ic8c91190881cf5dcf89f0f72cfd410b0c2e86bf6
2020-03-21 08:36:54 -07:00
Automerger Merge Worker
b2868b8cd9 Merge "Merge "Improved the transitions and layout of the app name in conversations" into rvc-dev am: 5568ff4a4c am: 373252297b" into rvc-d1-dev-plus-aosp am: 7c89674f4e am: 1d9632c057
Change-Id: I75532ae71a29ebdb829709e8f0aaf25ed22ef3c9
2020-03-21 01:54:16 +00:00
TreeHugger Robot
1e2886fa6a Merge "Add application name to expanded conversation view" into rvc-dev am: eb0d8bff9b am: 0ebdcb6c18 am: 38093a5116 am: d66659aa21
Change-Id: Ie464726873dcf272fafd0d457679d0c04b27ec9d
2020-03-21 01:46:34 +00:00
Automerger Merge Worker
0ac24fce94 Merge "Merge "Add importance ring around conversation badge" into rvc-dev am: fd8d9650ac am: 89a4b908a6" into rvc-d1-dev-plus-aosp am: 5e1f249f59 am: c64ef50233
Change-Id: I2aafd8f6cee07c50b6f8b667cf71d49a2cda1600
2020-03-21 01:44:25 +00:00
Selim Cinek
9b5a33212d Merge "Improved the transitions and layout of the app name in conversations" into rvc-dev am: 5568ff4a4c am: 373252297b
Change-Id: I4b5f55267bbfd69c0b457943c2fc07c8126f671f
2020-03-21 01:29:52 +00:00
Selim Cinek
f2ec0f0cc0 Merge "Improved the transitions and layout of the app name in conversations" into rvc-dev am: 5568ff4a4c
Change-Id: I3191df59e40fa29ce8b058a7482a42b810b20e57
2020-03-21 01:14:43 +00:00
Selim Cinek
5568ff4a4c Merge "Improved the transitions and layout of the app name in conversations" into rvc-dev 2020-03-21 01:04:00 +00:00
TreeHugger Robot
8378cc0d1b Merge "Made image messages display externally in the layout" into rvc-dev am: 4bd7796e1d am: df2d26f8fa am: 0fd8c4b9de am: 80cc6e27cb am: 8ccf3c812f
Change-Id: Ie5c7d62b27bd0a1a69c6aff862a39e2d1e8fe84b
2020-03-21 00:59:43 +00:00
TreeHugger Robot
0ebdcb6c18 Merge "Add application name to expanded conversation view" into rvc-dev am: eb0d8bff9b
Change-Id: I00a54a43411ab53a1fe0ccca11456d713c86c03e
2020-03-21 00:55:00 +00:00
TreeHugger Robot
eb0d8bff9b Merge "Add application name to expanded conversation view" into rvc-dev 2020-03-21 00:53:04 +00:00
TreeHugger Robot
89a4b908a6 Merge "Add importance ring around conversation badge" into rvc-dev am: fd8d9650ac
Change-Id: Ibfac285196b55e7cfec00cebdfd722ed8eff9f53
2020-03-21 00:48:23 +00:00
TreeHugger Robot
fd8d9650ac Merge "Add importance ring around conversation badge" into rvc-dev 2020-03-21 00:46:13 +00:00
TreeHugger Robot
8ccf3c812f Merge "Made image messages display externally in the layout" into rvc-dev am: 4bd7796e1d am: df2d26f8fa am: 0fd8c4b9de am: 80cc6e27cb
Change-Id: I479e804918cd0e0e04602d01042726369ca486d9
2020-03-20 23:09:49 +00:00
TreeHugger Robot
39d40ca27f Merge "Made image messages display externally in the layout" into rvc-dev am: 4bd7796e1d
Change-Id: Ibaf80e60c314d44c3630ee3a537099f882c09381
2020-03-20 22:26:30 +00:00
TreeHugger Robot
4bd7796e1d Merge "Made image messages display externally in the layout" into rvc-dev 2020-03-20 22:20:28 +00:00
Selim Cinek
cef53f36de Improved the transitions and layout of the app name in conversations
The transition was using getTop instead of absolute positions which
didn't work well for the conversation layout.
Also, we were fading in views that were GONE and making them VISIBLE
which lead to bugs during the transitions.
Additionally, the header text would become visible when a notification
was removed from a group and reset.

Bug: 150905003
Test: visual, add conversations in groups and non-groups
Change-Id: I3c31006a1fc79f7d58cc1dd3d5af44129c9f02bb
2020-03-20 18:03:34 -04:00
Steve Elliott
52440e988c Add application name to expanded conversation view
Bug: 150905003
Test: manual
Change-Id: Ibb16717028498c508beda423a76375499a6f6ad9
2020-03-20 18:03:34 -04:00
Steve Elliott
928bb16c9f Add importance ring around conversation badge
Bug: 150905003
Test: manual
Change-Id: I967122fcf6404491fb514bc42e5f9e64490b8024
2020-03-20 18:03:32 -04:00
Selim Cinek
514b52c091 Made image messages display externally in the layout
Previously image messages were embedded in the
messaging list instead of at the root.
Also rendering the images slightly differently such that
they don't always use the aspect ratio but can scale

Bug: 150905003
Test: add messaging layout with image, observe nice display
Change-Id: Iba25a1f81d77b58bfccbe2f9b8dfc502fdf8bdd4
2020-03-20 15:59:06 -04:00
TreeHugger Robot
f9518591d1 Merge "Put accessibility labels for tabs." into rvc-dev am: dd7b1691ab am: 034496d31e am: e0daed977e am: ac8e420d0e
Change-Id: If0627d2fe9f1ade15c1c99f6ed7c36daa1b01483
2020-03-20 16:34:38 +00:00