Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b79064bd authored by Elliott Hughes's avatar Elliott Hughes Committed by android-build-merger
Browse files

Merge "The NDK samples moved a while back." am: 9653790d

am: 1ac526df

* commit '1ac526df':
  The NDK samples moved a while back.
parents b62c3420 1ac526df
Loading
Loading
Loading
Loading
+2 −10
Original line number Diff line number Diff line
@@ -45,16 +45,8 @@ import java.io.File;
 * is no need to derive from this class; you can simply declare it in your
 * manifest, and use the NDK APIs from there.
 *
 * <p>A typical manifest would look like:
 *
 * {@sample development/ndk/platforms/android-9/samples/native-activity/AndroidManifest.xml
 *      manifest}
 *
 * <p>A very simple example of native code that is run by NativeActivity
 * follows.  This reads input events from the user and uses OpenGLES to
 * draw into the native activity's window.
 *
 * {@sample development/ndk/platforms/android-9/samples/native-activity/jni/main.c all}
 * <p>A <a href="https://github.com/googlesamples/android-ndk/tree/master/native-activity">sample
 * native activity</a> is available in the NDK samples.
 */
public class NativeActivity extends Activity implements SurfaceHolder.Callback2,
        InputQueue.Callback, OnGlobalLayoutListener {