Skip to content
This repository was archived by the owner on Mar 2, 2018. It is now read-only.

Commit 36d9a7d

Browse files
committed
release capella
1 parent 10f78ae commit 36d9a7d

File tree

1 file changed

+2
-7
lines changed
  • VideoOverlaySample/app/src/main/java/com/projecttango/experiments/videooverlaysample

1 file changed

+2
-7
lines changed

VideoOverlaySample/app/src/main/java/com/projecttango/experiments/videooverlaysample/MainActivity.java

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,8 @@
4141
* context and connect to the camera we want by using connectToTangoCamera class.Once the connection
4242
* is established we need to manually update the TangoCameraPreview's texture by using the
4343
* onFrameAvailable callbacks.
44-
* Note:
45-
* To use TangoCameraPreview class we need to ask the user permissions for MotionTracking
46-
* at the minimum level. This is because in Java all the call backs such as
47-
* onPoseAvailable,onXyzIjAvailable, onTangoEvents, onFrameAvailable are set together at once.
44+
* NOTE: It is important to declare the CAMERA permission in the Android Manifest to access
45+
* the device camera.
4846
*/
4947
public class MainActivity extends Activity {
5048
private TangoCameraPreview tangoCameraPreview;
@@ -56,9 +54,6 @@ protected void onCreate(Bundle savedInstanceState) {
5654
super.onCreate(savedInstanceState);
5755
tangoCameraPreview = new TangoCameraPreview(this);
5856
mTango = new Tango(this);
59-
startActivityForResult(
60-
Tango.getRequestPermissionIntent(Tango.PERMISSIONTYPE_MOTION_TRACKING),
61-
Tango.TANGO_INTENT_ACTIVITYCODE);
6257
setContentView(tangoCameraPreview);
6358
}
6459

0 commit comments

Comments
 (0)