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

Commit d846da12 authored by Nick Chameyev's avatar Nick Chameyev Committed by Android (Google) Code Review
Browse files

Merge "Extract FoldableDeviceStateProvider to a library" into main

parents fb287dc6 21f32069
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
package {
    default_applicable_licenses: ["frameworks_base_license"],
}

java_library {
    name: "foldable-device-state-provider",
    srcs: [
        "src/**/*.java"
    ],
    libs: [
        "services",
    ],
}
+3 −0
Original line number Diff line number Diff line
# Foldable Device State Provider library

This library provides foldable-specific classes that could be used to implement a custom DeviceStateProvider.
 No newline at end of file
+12 −0
Original line number Diff line number Diff line
{
  "presubmit": [
    {
      "name": "foldable-services-tests",
      "options": [
        {
          "exclude-annotation": "androidx.test.filters.FlakyTest"
        }
      ]
    }
  ]
}
+537 −0

File added.

Preview size limit exceeded, changes collapsed.

+30 −0
Original line number Diff line number Diff line
package {
    default_applicable_licenses: ["frameworks_base_license"],
}

android_test {
    name: "foldable-device-state-provider-tests",
    srcs: ["src/**/*.java"],
    libs: [
        "android.test.runner",
        "android.test.base",
        "android.test.mock",
    ],
    jni_libs: [
        "libdexmakerjvmtiagent",
        "libmultiplejvmtiagentsinterferenceagent",
        "libstaticjvmtiagent",
    ],
    static_libs: [
        "services",
        "foldable-device-state-provider",
        "androidx.test.rules",
        "junit",
        "truth-prebuilt",
        "mockito-target-extended-minus-junit4",
        "androidx.test.uiautomator_uiautomator",
        "androidx.test.ext.junit",
        "testables",
    ],
    test_suites: ["device-tests"]
}
Loading