mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Raise API level for reportFullyDrawn (flutter/engine#14146)
This commit is contained in:
parent
e479d6ad89
commit
168f41ba44
@ -938,7 +938,9 @@ public class FlutterActivity extends Activity
|
||||
public void onFlutterUiDisplayed() {
|
||||
// Notifies Android that we're fully drawn so that performance metrics can be collected by
|
||||
// Flutter performance tests.
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
|
||||
// This was supported in KitKat (API 19), but has a bug around requiring
|
||||
// permissions. See https://github.com/flutter/flutter/issues/46172
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
|
||||
reportFullyDrawn();
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user