summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorBernardo Rufino <brufino@google.com>2019-12-20 18:35:30 +0000
committerBernardo Rufino <brufino@google.com>2020-01-27 11:13:27 +0000
commitab338ac42c3fb33537d7f83477de430ee780b74f (patch)
treea14db337126ac31334711a37e304907d474f82d9 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent4a8fc13dd9711bcd9fb37a2f2ee1fcf9c1accc33 (diff)
Move text toast creation to system UI
In order to do that, NotificationManager now calls StatusBar.showToast(), which is in SystemUI. StatusBar then calls a new component, ToastUI, which is responsible for rendering the toast. The code for rendering the toast was extracted from the Toast class, so it should behave identically. Also refactored the code a bit on NotificationManagerService, creating two children of ToastRecord (one for custom, other for text toasts). The change is gated in Toast class in this CL, but it's also gated on the system server, so apps can't circumvent the background block. Bug: 128611929 Bug: 144754526 Test: atest android.widget.cts.ToastTest Merged-In: Id0021cdc6f72f41b55ff1c5a4f09ae7687586460 Change-Id: Id0021cdc6f72f41b55ff1c5a4f09ae7687586460
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions