RESTRICT AUTOMERGE Revert "Camera: Fix missing onPhysicalCameraUnavailable"
This reverts commit 08c0efb03a.
Reason for revert: GCA incompatible, need to submit along with b/263549589
Change-Id: I16501fab74e154aca97bd687340118e11c3200bf
Bug: 265424740
This commit is contained in:
@@ -2313,15 +2313,6 @@ public final class CameraManager {
|
||||
final AvailabilityCallback callback = mCallbackMap.keyAt(i);
|
||||
|
||||
postSingleUpdate(callback, executor, id, null /*physicalId*/, status);
|
||||
|
||||
// Send the NOT_PRESENT state for unavailable physical cameras
|
||||
if (isAvailable(status) && mUnavailablePhysicalDevices.containsKey(id)) {
|
||||
ArrayList<String> unavailableIds = mUnavailablePhysicalDevices.get(id);
|
||||
for (String unavailableId : unavailableIds) {
|
||||
postSingleUpdate(callback, executor, id, unavailableId,
|
||||
ICameraServiceListener.STATUS_NOT_PRESENT);
|
||||
}
|
||||
}
|
||||
}
|
||||
} // onStatusChangedLocked
|
||||
|
||||
|
||||
Reference in New Issue
Block a user