feat: Add fallback method for notch info retrieval using DisplayCutout API

This commit is contained in:
k1ngsterr1
2026-02-08 20:48:11 +05:00
parent 2d96f6f390
commit aa47a46334
4 changed files with 88 additions and 11 deletions

View File

@@ -1,6 +1,5 @@
package com.rosetta.messenger.baselineprofile
import androidx.benchmark.macro.ExperimentalBaselineProfilesApi
import androidx.benchmark.macro.junit4.BaselineProfileRule
import androidx.test.ext.junit.runners.AndroidJUnit4
import androidx.test.filters.LargeTest
@@ -31,7 +30,7 @@ class BaselineProfileGenerator {
val baselineProfileRule = BaselineProfileRule()
@Test
fun generateBaselineProfile() = baselineProfileRule.collectBaselineProfile(
fun generateBaselineProfile() = baselineProfileRule.collect(
packageName = "com.rosetta.messenger"
) {
// 1. Cold start — запуск приложения