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

Commit 546878fb authored by Christopher Tate's avatar Christopher Tate Committed by Chris Tate
Browse files

Don't suggest now-deprecated APIs

Suggest getAvailableBlocksLong() instead of the now-deprecated
getAvailableBlocks() method.

Bug: 174799449
Test: m offline-sdk-docs
Change-Id: I34a36e00c3d1a16898b0a6f0a21e4cab9feb0d02
parent a36573fb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -109,7 +109,7 @@ public class StatFs {
     * The total number of blocks that are free on the file system, including
     * reserved blocks (that are not available to normal applications). This
     * corresponds to the Unix {@code statvfs.f_bfree} field. Most applications
     * will want to use {@link #getAvailableBlocks()} instead.
     * will want to use {@link #getAvailableBlocksLong()} instead.
     */
    public long getFreeBlocksLong() {
        return mStat.f_bfree;