diff options
| author | Yuncheol Heo <ycheo@google.com> | 2020-06-16 19:58:17 -0700 |
|---|---|---|
| committer | Yuncheol Heo <ycheo@google.com> | 2020-06-17 22:53:43 +0000 |
| commit | a3ad5576552386ddfe240c07a4754c834baaa597 (patch) | |
| tree | 2bcdfb0ce435f48a0b7862097cf99910ff0c93bd /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java | |
| parent | 4add155920047750977340d2930bdf08fb9bef74 (diff) | |
Gets the userId from Context for AccessibilityManager in ToastPresenter.
- In Android Auto, android.widget.cts.ToastTest#testShow_whenTextToast_sendsAccessibilityEvent failed is failed, since AccessibilityManager in ToastPresenter is initialized with the wrong userId.
- ToastUI creates the Context from the uid of the received message, so we can get the correct userId from the Context.
Bug: 154644563
Test: atest android.widget.cts29.ToastTest android.widget.cts.ToastTest
android.server.wm.ToastWindowTest ToastUITest
NotificationManagerServiceTest LegacyToastTest
Change-Id: I138620a0a52e65429157719f588c4be56b075368
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions
