mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-14 19:59:05 +01:00
Fixed an NPE, improved thread safety of camera code.
This commit is contained in:
@@ -1,11 +1,14 @@
|
||||
package org.briarproject.android.util;
|
||||
|
||||
import android.hardware.Camera;
|
||||
import android.support.annotation.UiThread;
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
public interface PreviewConsumer {
|
||||
|
||||
@UiThread
|
||||
void start(Camera camera);
|
||||
|
||||
@UiThread
|
||||
void stop();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user