Merge "Fix NPE when passing displayId through handler" into sc-v2-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
d9dede17af
@@ -2252,6 +2252,9 @@ public final class DisplayManagerService extends SystemService {
|
||||
int displayId = msg.arg1;
|
||||
final LogicalDisplay display =
|
||||
mLogicalDisplayMapper.getDisplayLocked(displayId);
|
||||
if (display == null) {
|
||||
break;
|
||||
}
|
||||
uids = display.getPendingFrameRateOverrideUids();
|
||||
display.clearPendingFrameRateOverrideUids();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user