Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Disable HW acceleration in the tray to make downloads icon clipping work
Browse files Browse the repository at this point in the history
  • Loading branch information
keianhzo committed Apr 9, 2020
1 parent e2ec144 commit 94b584e
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ public TrayWidget(Context aContext, AttributeSet aAttrs, int aDefStyle) {
}

private void initialize(Context aContext) {
// Downloads icon progress clipping doesn't work if HW acceleration is enabled.
setIsHardwareAccelerationEnabled(false);

mTrayViewModel = new ViewModelProvider(
(VRBrowserActivity)getContext(),
ViewModelProvider.AndroidViewModelFactory.getInstance(((VRBrowserActivity) getContext()).getApplication()))
Expand Down

0 comments on commit 94b584e

Please sign in to comment.