If an Icon carries package designator, LocalImageResolver has now
ignored it. This could lead to loading of a wrong icon in cases where
the ID collided with the same ID in android package.
This is fixes that corner-case.
Bug: 241066484
Test: atest LocalImageResolverTest - the new test checks for pkg
correctness and fails on devices without this cl
manual test: bluejay device with known, reproducible resource
collision in media player notification. In reproducible case,
icon appears as a broken block.
After applying this patch, small icon in media notification loads
correctly for the collision case.
Change-Id: Ic79c0d4acb1d347a24282972e009a5a079ce6c21
CL[1] add a new HIDE_BUBBLES reason but didn't add
it into the InputMethodDebug. Add this reason for
showing correct debugging information.
[1]: I09f27b3c187a7bcfbef663cd3101a74ad8ab95ab
Bug: 244258828
Test: Verify this reason showing in SoftInputShowHideHistory
Change-Id: Ia571de9a00a05ab490152d40329a200fc40f0d6a
* changes:
Enable the new footer actions in team food.
Add screenshot test for the footer actions (2/2)
Implement LaunchableView for footer actions Views.
Wire the new FooterActions implementation behind a flag
Implementation of the FooterActions following the MAD (1/3)
Add BroadcastDispatcher.broadcastFlow
Extract QSSecurityFooterUtils out of QSSecurityFooter
Make the logic of QSSecurityFooter reusable
Add some fakes to SystemUI-test-utils
Allow preventing unrestricted Apps from being Stopped
performHandwritingGesture should take an optional IntConsumer
& executor to provide result of Gesture operation back to IME.
Bug: 210039666
Bug: 239783077
Test: atest InputConnectionEndToEndTests
Change-Id: I2ca7eaa182159b7ffef0812d970512ffcf817ce2
Editors should declare which Scribe Gestures do they support
as a means of providing this info to IME.
Bug: 239783077
Test: atest CtsInputMethodTestCases
Change-Id: Ic52a48c0a04d405e65ad49e9d447d603fefb4eb0
The ArrayEquals, ArrayHashCode, ArrayToString, and
ArraysAsListPrimitiveArray errorprone findings were
demoted from errors to warnings. Fix existing
occurrences of them so they can be made errors again.
Bug: 242630963
Test: RUN_ERROR_PRONE=true m javac-check
Change-Id: Ia6f216cc36ad0a5758f39fd9b34962cd4adf9d8e
This CL adds a flag to allow toggling the behavior on whether or not
the foreground service task manager should show a stop button for
unrestricted apps.
Bug: 230449539
Test: Manual - device_config put systemui \
show_stop_button_for_user_allowlisted_apps true|false
Test: atest FgsManagerControllerTest
Change-Id: I4cfe54933d7c6807a7ffbac9ee709c7d8d6b83d3
Merged-In: I4cfe54933d7c6807a7ffbac9ee709c7d8d6b83d3
1. When the system removes the last known stylus device
and has no other stylus available, remove the Ink window.
2. Create InkWindow only if the device+IME combination supports
handwriting and the stylus is being used.
Bug: 243571274
Bug: 239121683
Bug: 210039666
Test: atest StylusHandwritingTest
Change-Id: Icd3eea91fe144cff7100d3ecf19191c064c0d196
Moves the fixUris call from onTargetSelected directly to the intent
launch to ensure the intent which is actually started is updated with
userId specific URIs.
Bug:242165528
Bug:242605257
Test: manually share image from personal profile to work gmail,
first with chat target then backing up and selecting the main target
Change-Id: Iabf5dcf2612fe718f2f0886e2e5e9b76f37af1e1
This causes the permission error to be thrown from the thread that
creates the JankMonitor rather than some background thread. This makes
it easier to debug the permission error and can prevent crashes due to
unhandled exceptions from background threads.
Change-Id: I942c705342962ce6e15ae5cd6041dc85f6f83a95
Add millisSinceLastUserActivity and lastUserActivityEvent to PowerGroup log when dozing.
Add timeout to PMS log when dozing.
Bug: 243518837
Test: atest BatteryStatsTests
Test: atest PowerManagerServiceTest
Test: manually observe logs using logcat / adb bugreport
NoNonSdkCheck: USER_ACTIVITY_TYPES is only accessed indirectly by apps through dumpLocked() method.
Change-Id: I835992a08bd4a07350e36ef671c6273c8fee43a0
(cherry picked from commit bf794e4585)
Merged-In: I835992a08bd4a07350e36ef671c6273c8fee43a0
In zh_TW, the "suggested" translated as "suggested language"
in language/region picker. Using different words to translate to
"suggested language" and "suggested region".
Bug: 243016620
Test: Manually check the UI.
Change-Id: I2edf82039b8dd37ca27ce831efa1cfa1474c8efb
Merged-In: I2edf82039b8dd37ca27ce831efa1cfa1474c8efb
In zh_TW, the "suggested" translated as "suggested language"
in language/region picker. Using different words to translate to
"suggested language" and "suggested region".
Bug: 243016620
Test: Manually check the UI.
Change-Id: I2edf82039b8dd37ca27ce831efa1cfa1474c8efb
This reverts commit 62242bdca3.
Reason for revert: ramdumps on ToT related to battersystats parcel parsing
Bug: 243434675
Change-Id: I18522929f5a1499f56a0cc19606c28a2ed9fc26d
During a stylus handwriting session, user can perform a
stylus gesture operation like Select, delete, insert on an
area of text. IME needs APIs to perform these gestures on text.
This CL introduces API signature for Select, delete, insert gestures.
Design doc: go/scribe-gestures-api
Bug: 239783077
Bug: 210039666
Test: Manually build & compile HandwritingIme
Change-Id: I53bcb62e03ac1c371feb60d1385c88c921754092
This reverts commit ab0cbeffdf.
Reason for revert: Droidmonitor-triggered revert due to breakage
Bug: b/243389642
Change-Id: I2121840da7bba800d3a6fbe2228ce70c952d11e6