-
Notifications
You must be signed in to change notification settings - Fork 318
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates captureToBitmap in ViewCapture to treat API 34 the same way t…
…hat all previous API works. Because API 34 wasn't getting the surface, it was including the action bar and messing up the screenshots. By removing it, it will use the surface instead and it works perfectly. API 28 still does not work right with dialog boxes, but that is a known issue that we don't have a fix for yet. To test this, I added tests for every API level and fixed a bug where the action bar wasn't showing up in the test. PiperOrigin-RevId: 588915479
- Loading branch information
1 parent
d9655d6
commit 56f67d2
Showing
2 changed files
with
2 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters