History log of /packages/apps/Camera2/src/com/android/camera/one/OneCameraModule.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
00562dd0a8451eda80815b3d8fdcb8075e4b9db6 23-Mar-2015 Senpo Hu <senpo@google.com> OneCameraOpener should inform ActiveCameraDeviceTracker about camera open.

Therefore, people use OneCameraOpener to open a camera don't need to worry
about ActiveCameraDeviceTracker.

To make people don't need to depend on CameraActivity/AppController, move
setting scope generation into two utility methods:
* SettingsManager.getCameraSettingScope()
* SettingsManager.getModuleSettingScope()

Bug: 19892712
Change-Id: I04caae24ea72a41d7d8e0786a99912098c2cf1ef
/packages/apps/Camera2/src/com/android/camera/one/OneCameraModule.java
1d84d7107686aa428ee2eeb1a8caf0ea3e43b1df 12-Mar-2015 Paul Rohde <codelogic@google.com> Re-arrange camera initialization.

This change re-arranges several things to make it possible to know
the CameraId you are about to open before you actually open the
camera device. It also adds an explicit CameraId class for handling
both legacy and camera2 id comparisons, an active camera tracker,
and moves the camera id query mechanism into a hardware manager
class in prep for the subsequent camera release.

Bug: 19679820

Change-Id: I4c09b9a12a1ea5badcac3a6a073a56764f9a7eba
/packages/apps/Camera2/src/com/android/camera/one/OneCameraModule.java