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

Commit ff52fa4d authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Update BrightnessSynchronizer Logic" into tm-dev am: 5b0c795a

parents 864d1882 5b0c795a
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -51,6 +51,12 @@ filegroup {
    srcs: ["android/tracing/TraceReportParams.aidl"],
}

filegroup {
    name: "framework-internal-display-sources",
    srcs: ["com/android/internal/display/BrightnessSynchronizer.java"],
    visibility: ["//frameworks/base/services/tests/mockingservicestests"],
}

// These are subset of framework-core-sources that are needed by the
// android.test.mock library. The implementation of android.test.mock references
// private members of various components to allow mocking of classes that cannot
+318 −111

File changed.

Preview size limit exceeded, changes collapsed.

+1 −0
Original line number Diff line number Diff line
@@ -2503,6 +2503,7 @@ public final class DisplayManagerService extends SystemService {
        }
        pw.println();
        mDisplayModeDirector.dump(pw);
        mBrightnessSynchronizer.dump(pw);
    }

    private static float[] getFloatArray(TypedArray array) {
+1 −0
Original line number Diff line number Diff line
@@ -37,6 +37,7 @@ android_test {
    srcs: [
        "src/**/*.java",
        "src/**/*.kt",
        ":framework-internal-display-sources",
    ],

    static_libs: [
+255 −0

File added.

Preview size limit exceeded, changes collapsed.