23949 Commits

Author SHA1 Message Date
TreeHugger Robot
5e8e9e5f1a Merge "Hide empty state icon and button in landscape mode." into rvc-dev 2020-03-26 12:19:56 +00:00
Eugene Susla
2f54a864d5 Merge "Switch auto-revoke manifest flag to a tri-state" into rvc-dev 2020-03-25 17:03:32 +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
Galia Peycheva
a17d04545b Merge "Make Dream background black" into rvc-dev 2020-03-25 13:34:15 +00:00
Galia Peycheva
b34292164a Make Dream background black
Bug: 150861483

Test: m && flash && start Clock dream
Change-Id: I7761cd49b5c24449250feeea3985b05f3f281637
2020-03-25 11:49:10 +01:00
Eugene Susla
49b84c3495 Switch auto-revoke manifest flag to a tri-state
Test: presubmit
Bug: 146513245
Change-Id: I179f91d10d1de7f2907cebe3e2bc0cfb0ab2300d
2020-03-24 11:54:01 -07:00
TreeHugger Robot
a653dc5dfe Merge "Update strings for location services notification" into rvc-dev 2020-03-24 14:00:21 +00:00
Antoan Angelov
1a1b593449 Merge "Add button state to the "Turn on work" button." into rvc-dev 2020-03-24 12:19:26 +00:00
Eran Messeri
c04e06e67d Update strings for location services notification
Update the strings in the notification that is shown when the admin is
using setLocationEnabled - turning on location services device-wide.

Tested manually:
* Factory reset a device.
* Install testdpc from go/testdpc
* Set TestDPC as device owner.
* Navigate to Settings > Location, turn off location services.
* Use TestDPC to set location enabled.

Bug: 151919526
Test: Manual, see above.
Change-Id: I04069493116162621f7bc95579db7572247c2cc6
2020-03-24 12:08:47 +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
TreeHugger Robot
ffdb6361b8 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-03-23 23:23:14 +00:00
Bill Yi
f89b4d00a1 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I5634e87a7f723605ed863253fc26f13d13189b20
2020-03-23 13:51:03 -07: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
arangelov
dff0da5a01 Add button state to the "Turn on work" button.
Test: manual
Fixes: 151074096

Change-Id: I71bd27bb0cd0cd36a965f5b5e5251095ce7afc74
2020-03-23 16:55:04 +00:00
TreeHugger Robot
e39a7b6a80 Merge "Don't notify about explicit personal app suspension." into rvc-dev 2020-03-23 15:29:31 +00:00
Ben Murdoch
801f12923d Merge "Move config_useKeyguardUserSwitcher from sysui overlay to framework." into rvc-dev 2020-03-23 14:58:01 +00:00
Pavel Grafov
64d1fc040b Don't notify about explicit personal app suspension.
Notification about personal apps suspension should only be shown
in cases when apps are suspended because of maximum work profile
time off policy violation, not via an explicit call to suspend.

+ updated strings. Note, some strings are not used yet.

Test: manual, with TestDPC, suspended apps explicitly, checked
    that the notification is not shown.
Test: manual, with TestDPC, set maximum work profile time off,
    adjusted the clock, checked that the notification is there.`
Bug: 151918490
Bug: 149076989
Change-Id: Idd4c7ec11af416c303c9218495d55c73154c7a5f
2020-03-23 13:35:22 +00:00
TreeHugger Robot
659bf328e4 Merge "Update R accessibility assets and strings (9/n)" into rvc-dev 2020-03-21 14:23:53 +00:00
Daniel Bright
85e1a77433 Merge "Strings file for Sim Depersonalisation" into rvc-dev 2020-03-21 03:52:44 +00:00
TreeHugger Robot
905e01f8f5 Merge "permlab_systemCamera: Change privileg | system -> privileged or system." into rvc-dev 2020-03-21 03:03:46 +00:00
Selim Cinek
f6ff283033 Merge "Improved transitions for conversations" into rvc-dev 2020-03-21 02:31:07 +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
eb0d8bff9b Merge "Add application name to expanded conversation view" into rvc-dev 2020-03-21 00:53:04 +00:00
Winson Chiu
373749fc31 Merge "Add actor attr and QueriesOverlayable styleable" into rvc-dev 2020-03-21 00:50:18 +00:00
TreeHugger Robot
fd8d9650ac Merge "Add importance ring around conversation badge" into rvc-dev 2020-03-21 00:46:13 +00:00
Daniel Bright
1eb98be720 Strings file for Sim Depersonalisation
Test: bootup phone
Bug: 69389695
Change-Id: If10bd0c0fba672002abae003ebc90a77887a322e
2020-03-20 17:44:41 -07:00
Nicholas Ambur
aceabbf758 Merge changes from topic "enrollment-app-permission" into rvc-dev
* changes:
  fix enrollment application permission check
  add KEYPHRASE_ENROLLMENT_APPLICATION permission
2020-03-21 00:39:35 +00:00
TreeHugger Robot
51c178ae43 Merge "Limit GlobalActions strings to 24 chars." into rvc-dev 2020-03-20 23:56:14 +00:00
Selim Cinek
ecf248f633 Improved transitions for conversations
The conversation titles weren't transforming before and
fading in / out before as a result. Also the icon and
its background was animating which was leading to some
strange flickers.

Bug: 150905003
Test: add group message, observe normal transitions
Change-Id: I8fa3b0e4ba4beae2661025b8456222ead7f5faaa
2020-03-20 23:25:23 +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
Winson
65c308fcb2 Add actor attr and QueriesOverlayable styleable
For implementing querying actors, overlays, and targets
with overlayables.

Bug: 144157481

Test: builds

Change-Id: I33482437ff93cab3dfd0c6b5200c562b9b5050bd
2020-03-20 15:17:20 -07: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
Jayant Chowdhary
f234fb2bc5 permlab_systemCamera: Change privileg | system -> privileged or system.
Bug: 139874147

Test: N/A

Change-Id: Ifc0ab60efd9da84598b8f58423c7f959c1642d61
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2020-03-20 14:55:54 -07:00
Aran Ink
9cec62f275 Limit GlobalActions strings to 24 chars.
Also add a translation string for the Power diambiguation button.

Test: None, strings change only.

Bug: 141690074
Change-Id: I60693aa0713a18ce2c0234fadb10b2de65c9afff
2020-03-20 16:57:59 -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
Nicholas Ambur
5a207846e6 add KEYPHRASE_ENROLLMENT_APPLICATION permission
Split the model management permission controll into two separate
permissions. KEYPHRASE_ENROLLMENT_APPLICATION is reserved for enrollment
applications detected by KeyphraseEnrollmentInfo class while
MANAGE_VOICE_KEYPHRASES is reserved for VoiceInteractionService
implementations.

Keyphrase enrollment applications are allowed to enroll at anytime,
and VoiceInteractionService implementations are only allowed to enroll
when they are the active service (see VoiceInteractionManagerService).

Bug: 151405284
Test: Enroll voice model from both enrollment application and active
voiceinteraction service.
Change-Id: I12eeb09e308af9aa934174dd059f47f789a9ce39

Change-Id: Iffdfeab1d09ec6c8cf4b30a9768ef6efc9bdfa01
2020-03-20 12:05:26 -07:00
Daniel Sandler
f728cd324a Merge "Updated direct share string" into rvc-dev 2020-03-20 17:51:41 +00:00
TreeHugger Robot
2fdc10b5b3 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-03-20 16:57:40 +00:00
TreeHugger Robot
dd7b1691ab Merge "Put accessibility labels for tabs." into rvc-dev 2020-03-20 15:56:05 +00:00
Betty Chang
52a836d49c Merge "Revert "Revert "[Telephony Mainline] To mark @hide for mainline ..."" into rvc-dev 2020-03-20 15:46:42 +00:00
menghanli
5bada134bd Update R accessibility assets and strings (9/n)
- Refines the selection menu dialog title in edit mode

Bug: 148837311
Test: Manual test
Change-Id: Id8c9acc93b91ce918a391d1fda231b132f4a90cd
2020-03-20 23:13:59 +08:00
Ben Murdoch
63322a6d7a Move config_useKeyguardUserSwitcher from sysui overlay to framework.
This will enable access to this resource from other packages, e.g.
Settings.

Bug: 151221154
Test: Manual verification with overlay true / false.
Change-Id: Ia53d5edcb55b8df0f5d68f88740b3e8f64aae5c5
2020-03-20 13:47:34 +00:00
arangelov
e204da4040 Center the work tab empty state spinner inside the empty state view.
Fixes: 151072614
Test: manual
Change-Id: I5f2e8a9c2c4d2eac1a5e1a59447a6de9a5e215e5
2020-03-20 13:39:00 +00:00
arangelov
791509de7f Put accessibility labels for tabs.
Fixes: 151694643
Test: manual
Change-Id: I3fba76302bc3f99a96bc692fe78b35d141fa6b5c
2020-03-20 13:01:53 +00:00
Menghan Li
3de894efa7 Merge "Update R accessibility assets and strings (7/n)" into rvc-dev 2020-03-20 12:04:33 +00:00
menghanli
c0598eb360 Update R accessibility assets and strings (7/n)
- Volume key shortcut confirm dialog strings

Bug: 148837311
Test: Manual test
Change-Id: If4dd012117886d66851d6b42a017ffa066f2edae
2020-03-20 18:04:15 +08:00
PETER LIANG
5ae93e4b58 Merge "Revise strings to up to date for accessibility button chooser." into rvc-dev 2020-03-20 09:16:42 +00:00
Peter_Liang
0d31267250 Revise strings to up to date for accessibility button chooser.
Bug: 151294664
Test: manual test
Change-Id: I78bcc08aaa390871067e625c26c3566e896b7e9b
2020-03-20 14:59:53 +08:00