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
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
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
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
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
For implementing querying actors, overlays, and targets
with overlayables.
Bug: 144157481
Test: builds
Change-Id: I33482437ff93cab3dfd0c6b5200c562b9b5050bd
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
Also add a translation string for the Power diambiguation button.
Test: None, strings change only.
Bug: 141690074
Change-Id: I60693aa0713a18ce2c0234fadb10b2de65c9afff
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
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
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