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

Commit ccd4290c authored by Ming-Shin Lu's avatar Ming-Shin Lu
Browse files

[PTS]: Run uibench on OEM devices (1/N)

This CL requires to set the target/min sdk Version of UiBench apk to 31.
As perfetto trace recording officially supports on non-rooted devices
since Android 12.

Bug: 274719146
Test: build/install UiBench.apk on the non-rooted OEM device in
      api level 31+ successfully.
Change-Id: I50d7c4d9cdea8aa0e9aeb6408e6d519589456523
parent e9f30dae
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -10,7 +10,10 @@ package {
android_test {
    name: "UiBench",
    sdk_version: "current",
    min_sdk_version: "21",
    // As Perfetto trace recording is supported on non-rooted devices
    // since Android 12. Set min/target sdk version to 31.
    target_sdk_version: "31",
    min_sdk_version: "31",
    // omit gradle 'build' dir
    srcs: ["src/**/*.java"],
    // use appcompat/support lib from the tree, so improvements/