onyx-intl / OnyxAndroidDemo

148 stars 40 forks source link

Can't prevent automatic screen updates via EpdDeviceManager #89

Open kabukky opened 2 years ago

kabukky commented 2 years ago

Here's what I do:

  1. Create a simple WebView and point it to https://time.is/
  2. Call EpdDeviceManager.setUpdateMode(webView, UpdateMode.None);

But the clock is still running and refreshing the screen constantly. How can I prevent this? My guess is that the WebView calls a system drawing method that overrides the update mode. But I can't be sure.

kabukky commented 1 year ago

Any idea about this?