mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 780928 - Fix rawtypes usage in LayerView.java. r=kats
Fix unnecessary usage of raw Class type.
This commit is contained in:
parent
8934430ca5
commit
5b80d64763
@ -67,7 +67,7 @@ public class LayerView extends FrameLayout {
|
||||
|
||||
try {
|
||||
// and then we can only use it if we have a hardware accelerated window
|
||||
Method m = View.class.getMethod("isHardwareAccelerated", new Class[0]);
|
||||
Method m = View.class.getMethod("isHardwareAccelerated", (Class[]) null);
|
||||
return (Boolean) m.invoke(this);
|
||||
} catch (Exception e) {
|
||||
Log.i(LOGTAG, "Not using TextureView: caught exception checking for hw accel: " + e.toString());
|
||||
|
Loading…
Reference in New Issue
Block a user