|
|
|
@ -7,6 +7,7 @@ import android.content.Intent;
|
|
|
|
|
import android.graphics.Bitmap;
|
|
|
|
|
import android.graphics.BitmapFactory;
|
|
|
|
|
import android.graphics.ImageDecoder;
|
|
|
|
|
import android.media.midi.MidiDevice;
|
|
|
|
|
import android.os.Looper;
|
|
|
|
|
import android.os.Message;
|
|
|
|
|
import android.os.SystemClock;
|
|
|
|
@ -586,6 +587,7 @@ public class RawActivity extends AppCompatActivity {
|
|
|
|
|
|
|
|
|
|
mPhotoId = intent.getLongExtra("videoId", 0);
|
|
|
|
|
|
|
|
|
|
MicroPhotoService.infoLog("RawActivity created PHOTOID=" + Long.toString(mPhotoId));
|
|
|
|
|
|
|
|
|
|
mTextureView.setAspectRatio(width, height);
|
|
|
|
|
}
|
|
|
|
@ -628,6 +630,13 @@ public class RawActivity extends AppCompatActivity {
|
|
|
|
|
super.onPause();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
protected void onDestroy() {
|
|
|
|
|
super.onDestroy();
|
|
|
|
|
|
|
|
|
|
MicroPhotoService.infoLog("RawActivity destroyed PHOTOID=" + Long.toString(mPhotoId));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Sets up state related to camera that is needed before opening a {@link CameraDevice}.
|
|
|
|
|
*/
|
|
|
|
|