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:
Andreas Gampe
2018-03-05 17:30:50 -08:00
parent be04ebd707
commit b59365c3db

View File

@@ -354,7 +354,7 @@ public class FrameManager {
assertNotRunning();
FrameSlot slot = getSlot(name);
slot.releaseFrame();
mFrameSlots.remove(slot);
mFrameSlots.remove(name);
}
/**