Merge "Fix NPE when setting bubble bar bounds" into main

This commit is contained in:
Liran Binyamin
2024-04-09 14:04:19 +00:00
committed by Android (Google) Code Review
@@ -836,7 +836,9 @@ public class SystemUiProxy implements ISystemUiProxy, NavHandle {
*/
public void setBubbleBarBounds(Rect bubbleBarBounds) {
try {
mBubbles.setBubbleBarBounds(bubbleBarBounds);
if (mBubbles != null) {
mBubbles.setBubbleBarBounds(bubbleBarBounds);
}
} catch (RemoteException e) {
Log.w(TAG, "Failed call setBubbleBarBounds");
}