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

Commit b69ce803 authored by Kristian Monsen's avatar Kristian Monsen Committed by Android (Google) Code Review
Browse files

Merge "Part of fix for bug 5584571 Add HTTP request header with app name"

parents 423208d6 008c37d8
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -91,6 +91,16 @@ class JniUtil {
        return sCacheDirectory;
    }

    /**
     * Called by JNI. Gets the application's package name.
     * @return String The application's package name
     */
    private static synchronized String getPackageName() {
        checkInitialized();

        return sContext.getPackageName();
    }

    private static final String ANDROID_CONTENT = "content:";

    /**