diff options
author | Igor Murashkin <iam@google.com> | 2014-06-04 15:39:15 -0700 |
---|---|---|
committer | Igor Murashkin <iam@google.com> | 2014-06-09 17:54:09 -0700 |
commit | 77b7bbe039393c2d8c1107c07c65028886eef252 (patch) | |
tree | 21d0b05fd4d2c28d21fe45ae22af326a28c2531c /camera2/public/src/com/android/ex/camera2/utils/StateChangeListener.java | |
parent | 00a9b46b5a85c2e7ff03d94e517f732d397eb020 (diff) | |
download | android_frameworks_ex-77b7bbe039393c2d8c1107c07c65028886eef252.tar.gz android_frameworks_ex-77b7bbe039393c2d8c1107c07c65028886eef252.tar.bz2 android_frameworks_ex-77b7bbe039393c2d8c1107c07c65028886eef252.zip |
camera2: Add state waiters for the session state listener
Bug: 15474402
Change-Id: I4ae86166b5ce99a854c754c8ac6d6c23c683b14a
Diffstat (limited to 'camera2/public/src/com/android/ex/camera2/utils/StateChangeListener.java')
-rw-r--r-- | camera2/public/src/com/android/ex/camera2/utils/StateChangeListener.java | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/camera2/public/src/com/android/ex/camera2/utils/StateChangeListener.java b/camera2/public/src/com/android/ex/camera2/utils/StateChangeListener.java new file mode 100644 index 0000000..48cca17 --- /dev/null +++ b/camera2/public/src/com/android/ex/camera2/utils/StateChangeListener.java @@ -0,0 +1,21 @@ +/* + * Copyright 2014 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.android.ex.camera2.utils; + +public interface StateChangeListener { + public void onStateChanged(int state); +} |