-
Notifications
You must be signed in to change notification settings - Fork 29.2k
Closed
flutter/engine
#55002Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listc: tech-debtTechnical debt, code quality, testing, etc.Technical debt, code quality, testing, etc.engineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-androidAndroid applications specificallyAndroid applications specificallyteam-androidOwned by Android platform teamOwned by Android platform teamtriaged-androidTriaged by Android platform teamTriaged by Android platform team
Description
The method WindowManager#getDefaultDisplay
used to get the display that the WindowManager
is associated with was deprecated in API 30. The usages of this method in the engine should be replaced with DisplayManager#getDisplay()
.
Note that the documentation suggests using Context#getDisplay
for API 30+, but the DisplayManager
API provides the same functionality for API 17+.
Part of #98602.
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listc: tech-debtTechnical debt, code quality, testing, etc.Technical debt, code quality, testing, etc.engineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-androidAndroid applications specificallyAndroid applications specificallyteam-androidOwned by Android platform teamOwned by Android platform teamtriaged-androidTriaged by Android platform teamTriaged by Android platform team