Merge "Fix NPE when setting bubble bar bounds" into main
This commit is contained in:
commit
60d4e8d3b8
1 file changed
+3
-1
@@ -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