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
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
Filter out changes that are: logging only, older then enabled after P,
newer then enabled after Q.
Added missing @Test that broke builds.
Test: atest com.android.server.compat.PlatformCompatTest
Bug: 151299145
Change-Id: Ic4c12ceec3f4018a1f206b8498e8216466ecf960
Modify SoftInputShowHideHistory class to include additional information. New data in entry object:
- Current focused window
- show/hide soft input request window
- Editor info
- Full screen mode or not
Fixes: 141738570
Test: manual by calling "adb shell dumpsys input_method"
Change-Id: I793f2e3ca478496616a83b8090440986b2ccfb19
Revert "Show only listUIChanges instead of all"
Revert submission 10721220-hide
Reason for revert: Caused build breakage - b/151857606
Reverted Changes:
I7c725a1ec:Show only listUIChanges instead of all
Iec8755171:Introduce listUIChanges API for developer UI
Change-Id: I53ea91ee96bb6cb45e31e5fce58826cc59e58df6
When iterating across `proc` directories, occasionally a directory would
disappear due to a process finishing. This often throws `IOException`
when accessing the directory, but can throw `DirectoryIteratorException`
if this happens during iteration:
java.nio.file.DirectoryIteratorException: java.nio.file.NoSuchFileException: /proc/8708/task
This change catches `DirectoryIteratorException`.
Test: Build only (bug is difficult to reproduce).
Bug: 150888564
Change-Id: I7484d28231d0040b25dafc59b12b64a9342098a4
(cherry picked from commit 52474456b7)
If KernelCpuThreadReader init failed, then the null instance was passed
to KernelCpuThreadReaderDiff, which then failed when invoked.
Test: Build only (bug is difficult to reproduce).
Bug: 150988957
Change-Id: Id46d466b931d816dda85c4f068a4bec53c6f3032
(cherry picked from commit 478c873fe4)
Filter out changes that are: logging only, older then enabled after P,
newer then enabled after Q.
Test: atest com.android.server.compat.PlatformCompatTest
Bug: 151299145
Change-Id: Iec87551716ee47c4d1ad4fd8c72b33f1d86d0950
Also make "Turn on" work profile button and spinner
use the system accent color.
Test: none
Fixes: 149737133
Fixes: 151686022
Change-Id: I218de254ef87d5fc62d230d39fbe7a7e8b544766
Before device setup is complete, we shouldn't ever show the "using this
app outside your work profile" toast. This toast is confusing in the
context of Setup Wizard.
Fixes: 150451876
Test: atest com.android.internal.app.IntentForwarderActivityTest
Test: Manually verified no toast during setup
Test: Manually verified toast appears after setup
Change-Id: I661cc18c625609726388f3705c7b893517e23323
Also adds listeners to update the values on settings change
Bug: 146004827
Test: atest DisplayPolicyInsetsTests DisplayPolicyLayoutTests AlwaysOnDisplayPolicyTest
Change-Id: Ia3344f3bef8f3439fc2c60d9f4e83dc0163f83dd
Previously the expand button could run into the header
And the content had no padding at the end.
Also, the content was incorrectly padded when collapsed.
Bug: 150905003
Test: add messagingLayout, observe UI
Change-Id: I3178b21dc8831f986a8249ee1e22aebffff75ef1
Enables gwp-asan in system_server with a small probability, same as any
native process or system app.
Bug: 149991821
Test: kill system_server in a loop - find "GWP" in /proc/$PID/maps
eventually
Change-Id: I3900f5d277d28987883a918d62fe9390c780ac30
(cherry picked from commit 2bb1dba5c7)
invoke can read flags after object has been returned to
pool/recycled.
Skip reading isRecycled in that case.
Bug: 151407445
Test: See repro instructions in bug
Change-Id: I0ae42c4fcd121d42dfaedb26d186ac7d51508f6c
* changes:
Decrease avatar and sender name sizes in MessagingStyle
Fixed various conversation layout appearences
Implemented FacePile if no group icon is present
Fixed the behavior of headers in conversation groups
Ensured correct coloring of badge in dark mode
Fixed an issue where the bubble badge was visible independent of the icon
Improved transitions for expanding messaging notifications
Adjusted single line representation to include a colon
Made the expand button positioning conditional on expanded state
Ensured that the sender of the first message is hidden
Baseline for the new ConversationLayout