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

Commit 2d19d202 authored by Narayan Kamath's avatar Narayan Kamath
Browse files

Make getAssetInt throw unconditionally.

All callers have been moved over to getNativeAsset, and
this method has been hidden from the public API internally.

Change-Id: I5f29b5ddb4449adadf426e49a4085c7320289a15
parent bbfc08b3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -537,7 +537,7 @@ public final class AssetManager {
    
    public final class AssetInputStream extends InputStream {
        public final int getAssetInt() {
            return (int) mAsset;
            throw new UnsupportedOperationException();
        }
        /**
         * @hide