summaryrefslogtreecommitdiffstats
path: root/core/java/android/os/PooledStringReader.java
diff options
context:
space:
mode:
Diffstat (limited to 'core/java/android/os/PooledStringReader.java')
-rw-r--r--core/java/android/os/PooledStringReader.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/java/android/os/PooledStringReader.java b/core/java/android/os/PooledStringReader.java
index 7795957..6fc71c7 100644
--- a/core/java/android/os/PooledStringReader.java
+++ b/core/java/android/os/PooledStringReader.java
@@ -36,6 +36,10 @@ public class PooledStringReader {
mPool = new String[size];
}
+ public int getStringCount() {
+ return mPool.length;
+ }
+
public String readString() {
int idx = mIn.readInt();
if (idx >= 0) {