Remove private ANativeWindow_fromSurfaceTexture

ANativeWindow_fromSurfaceTexture was a private API that is now deprecated
and is being removed in a separate CL.  This change replaces all the
known uses by the preferred API ANativeWindow_fromSurface.

Note: a Surface can be derived from a SurfaceTexture by:

    SurfaceTexture st = ...;
    Surface s = new Surface(st);
    // use s
    s.release();

Change-Id: Ia55c023fc1487177ec76ae406ed77193083c9eac
2 files changed
tree: a74783bb70e0fa30e5d7b9fe1777922ab5a5fdcf
  1. doc/
  2. include/
  3. src/
  4. tests/
  5. tools/