Support the toast Window to show on the secondary display.
1) Looking for the specific display when add a toast window. 2) Modify the enqueueToast interface to support the toast with specific dispaly Id. 2.1 Toast get the specific display id from context. 2.1 Toast use the new interface with display id to communicate with the Notification manager servcie. 3) Support to add/remove toast window token according to the displayId. Bug: 80001975 Test: atest WindowManagerSmokeTest ActivityManagerMultiDisplayTests Test: atest android.widget.cts.ToastTest Test: manual, use ActivityView & launch a toast testing app in virtual display 1. Make a toast. 2. Verify the toast if show on the virtual display Change-Id: I3a95c291af647ed9c6e966b2a90924097df19b6a
Loading
Please register or sign in to comment