From 2ba4efff8bece69f95401768e48db1b20afd077d Mon Sep 17 00:00:00 2001 From: Narayan Kamath Date: Thu, 16 Jan 2014 19:00:32 +0000 Subject: [PATCH] Hide AssetInputStream.getAssetInt (Take 2) This reverts commit b1bd1fe7fd9ed6b6e4518713ef5f5716a84d97e8. --- api/current.txt | 1 - core/java/android/content/res/AssetManager.java | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/api/current.txt b/api/current.txt index 1c3bd6b0c2ed..a057cb216ea4 100644 --- a/api/current.txt +++ b/api/current.txt @@ -7837,7 +7837,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; diff --git a/core/java/android/content/res/AssetManager.java b/core/java/android/content/res/AssetManager.java index c77ce0d43e12..168928cda4dd 100644 --- a/core/java/android/content/res/AssetManager.java +++ b/core/java/android/content/res/AssetManager.java @@ -536,6 +536,9 @@ public final class AssetManager { } public final class AssetInputStream extends InputStream { + /** + * @hide + */ public final int getAssetInt() { return mAsset; } -- 2.11.0