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

Commit 18a399bc authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Change some globals to static"

parents 17f50158 d41a9614
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -139,8 +139,8 @@ static stat_field_names stat_field_names[_NUM_CORE_HEAP] = {
        "nativePrivateClean", "nativeSharedClean", "nativeSwappedOut", "nativeSwappedOutPss" }
};

jfieldID otherStats_field;
jfieldID hasSwappedOutPss_field;
static jfieldID otherStats_field;
static jfieldID hasSwappedOutPss_field;

struct stats_t {
    int pss;
+1 −1
Original line number Diff line number Diff line
@@ -108,7 +108,7 @@ static struct arraymap_offsets_t {
  jmethodID put;
} gArrayMapOffsets;

jclass g_stringClass = nullptr;
static jclass g_stringClass = nullptr;

// ----------------------------------------------------------------------------