|
|
@ -1215,8 +1215,13 @@ public class CameraView extends FrameLayout { |
|
|
|
// Request a layout pass for onMeasure() to do its stuff.
|
|
|
|
// Request a layout pass for onMeasure() to do its stuff.
|
|
|
|
// Potentially this will change CameraView size, which changes Surface size,
|
|
|
|
// Potentially this will change CameraView size, which changes Surface size,
|
|
|
|
// which triggers a new Preview size. But hopefully it will converge.
|
|
|
|
// which triggers a new Preview size. But hopefully it will converge.
|
|
|
|
|
|
|
|
uiHandler.post(new Runnable() { |
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
public void run() { |
|
|
|
requestLayout(); |
|
|
|
requestLayout(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|