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
Use this cmd to enable the feature:
adb shell device_config put systemui append_direct_share_enabled true
Use this cmd to adjust timeout threshold (in millisecond):
adb shell device_config put systemui share_sheet_direct_share_timeout 15000
Bug: 151112858
Test: manually tested both prod flow and prototype flow on phones.
Change-Id: I328ecefc9dffad40ec412c033da54e0443f8889a
Rename the method to setBlockable. Also rename isBlockableSystem in the
same way.
Fixes: 151311073
Test: atest NotificationChannelTest
Change-Id: Ie25f8aed3c22b74d9ad2329863c4ffebbace03f7
This introduces extra attributes on <application/> tag corresponding to
requesting to be shown in UI for the user to disable auto-revoke
(allowDontAutoRevokePermissions)
and being whitelisted by the installer (dontAutoRevokePermissions)
Test: presubmit
Bug: 146513245
Change-Id: I07902632812b70ea418a667d343b74d7ae170bb9
The method is blocking, so we shouldn't call it from the UI thread.
This CL also fixes comparison of UserHandle objects, as they should
use Object#equals() instead of "==".
Test: manual
Fixes: 151072826
Change-Id: I1a107fb9e20ed7eaad470057942870cc427b00b5
Since we're now allowing auth-per-use credential keys, we need to
pass the operationId to SystemUI, which owns the call to verify
credential. Upon receiving a non-null HAT, it should be sent to
KeyStore.
Bug: 148425329
Test: atest com.android.systemui.biometrics
Test: atest com.android.server.biometrics
Change-Id: Iea737bf2dc0d81d87419df96d5cb43d51f10c6e3