Camera: Fix map access
Found by Errorprone. Bug: 73288226 Test: m javac-check-SmartCamera RUN_ERROR_PRONE Change-Id: I6f6105f5d4a6ed5d28262bcdcd83764e6e8d5544
This commit is contained in:
@@ -354,7 +354,7 @@ public class FrameManager {
|
||||
assertNotRunning();
|
||||
FrameSlot slot = getSlot(name);
|
||||
slot.releaseFrame();
|
||||
mFrameSlots.remove(slot);
|
||||
mFrameSlots.remove(name);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user