Merge "Fix NPE when setting bubble bar bounds" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
60d4e8d3b8
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user