package com.sometrik.framework;

import android.graphics.SurfaceTexture;
import android.view.Surface;

public class NativeSurface extends Surface{
  
  private int id;

  public NativeSurface(SurfaceTexture surfaceTexture) {
    super(surfaceTexture);
  }

  public int getId() {
    return id;
  }

  public void setId(int id) {
    this.id = id;
  }

}

@@ -47,31 +47,23 @@
 oid.
-graphics.SurfaceTexture
+content.Context
 ;%0D%0Ai
@@ -88,16 +88,20 @@
 .Surface
+View
 ;%0D%0A%0D%0Apub
@@ -139,16 +139,21 @@
  Surface
+View 
 %7B%0D%0A  %0D%0A 
@@ -165,17 +165,28 @@
 ate 
-int id
+Context context
 ;%0D%0A
+  
 %0D%0A  
@@ -210,73 +210,104 @@
 ace(
-SurfaceTexture surfaceTexture) %7B%0D%0A    super(surfaceTexture);%0D%0A  %7D
+Context context) %7B%0D%0A    super(context);%0D%0A    this.context = context;%0D%0A  %7D%0D%0A%0D%0A  private int id;%0D%0A
 %0D%0A%0D%0A

Change to NativeSurface to extend SurfaceView