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

Commit f8f09a15 authored by Narayan Kamath's avatar Narayan Kamath
Browse files

Hide AssetInputStream.getAssetInt.

It returns a pointer to a private data structure, so there's
no sensible use for it. Also, the emergence of 64 bit processors
means that the return value isn't wide enough to represent
values in the native heap.

Change-Id: If02d42a528b9d90f11cb25c3342404b7d5f7b625
parent 9efa3b6c
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -7836,7 +7836,6 @@ package android.content.res {
  public final class AssetManager.AssetInputStream extends java.io.InputStream {
    method public final int available() throws java.io.IOException;
    method public final void close() throws java.io.IOException;
    method public final int getAssetInt();
    method public final void mark(int);
    method public final boolean markSupported();
    method public final int read() throws java.io.IOException;
+3 −0
Original line number Diff line number Diff line
@@ -536,6 +536,9 @@ public final class AssetManager {
    }
    
    public final class AssetInputStream extends InputStream {
        /**
         * @hide
         */
        public final int getAssetInt() {
            return mAsset;
        }