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

Commit eabf1e51 authored by Daichi Hirono's avatar Daichi Hirono
Browse files

Don't drop AppFuse constants by ProGuard.

BUG=23093747

Change-Id: I2998358e6219b73f7883aa397af6abc72febbbde
parent bc2d5fe8
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -38,7 +38,10 @@ public class AppFuse {
     * Max read amount specified at the FUSE kernel implementation.
     * The value is copied from sdcard.c.
     */
    @UsedByNative("com_android_mtp_AppFuse.cpp")
    static final int MAX_READ = 128 * 1024;

    @UsedByNative("com_android_mtp_AppFuse.cpp")
    static final int MAX_WRITE = 256 * 1024;

    private final String mName;
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ import java.lang.annotation.Target;
/**
 * Annotation that shows the method is used by JNI.
 */
@Target(ElementType.METHOD)
@Target({ElementType.METHOD, ElementType.FIELD})
public @interface UsedByNative {
    /**
     * JNI file name that uses the method.