Files
frameworks_base/core/java/android/content
Bjorn Bringert 212799338d Only decrement mRemaining once in read().
In the old code AssetFileDescriptor.AutoCloseInputStream.read()
called super.read(), which calls read(byte[] buffer, int offset, int count),
which decrements mRemaining. Then read() decremented mRemaining again
after super.read() returned.

I'm extending the CTS tests for AssetFileDescriptor.AutoCloseInputStream
to cover this.

Bug: 3240844
Change-Id: I70b945abc773d3ce5c1317dad23a0d797b31f111
2010-12-02 11:36:47 +00:00
..
2010-08-27 11:06:01 -07:00
2010-08-27 11:06:01 -07:00
2009-11-13 13:53:39 -08:00
2009-11-13 13:53:39 -08:00
2009-11-13 13:53:39 -08:00
2010-02-05 15:16:20 -08:00
2010-02-05 15:16:20 -08:00
2010-03-04 11:52:14 -08:00
2009-11-13 13:53:39 -08:00
2009-11-13 13:53:39 -08:00
2009-11-13 13:53:39 -08:00
2010-04-27 11:21:53 -07:00
2010-04-27 11:21:53 -07:00
2010-02-05 15:16:20 -08:00
2009-11-13 13:53:39 -08:00