{"id":850,"date":"2017-11-30T20:50:01","date_gmt":"2017-11-30T18:50:01","guid":{"rendered":"http:\/\/mattiesworld.gotdns.org\/weblog\/?p=850"},"modified":"2017-11-30T20:50:01","modified_gmt":"2017-11-30T18:50:01","slug":"onscreenclock-v0-4-1","status":"publish","type":"post","link":"https:\/\/mattiesworld.gotdns.org\/weblog\/2017\/11\/30\/onscreenclock-v0-4-1\/","title":{"rendered":"OnScreenClock v0.4.1"},"content":{"rendered":"<p>This is a small update before the big changes come in \ud83d\ude09<\/p>\n<p>I noticed sometimes the clock disappears due to high system load. Normally, the android system automatically relaunches the service afterwards, but sometimes this does not seem to happen. I&#8217;m not sure what&#8217;s the cause, but I added a trigger: when the service is destroyed by the system, it sends out a broadcast event just before dying to restart the service. Not sure if it will help..<\/p>\n<pre>v0.4.1 2017-11-30\r\n=================\r\n* try restarting service when it is killed by the system to free resources\r\n* fix NPE crash when back button is pressed before webview is fully loaded<\/pre>\n<p><a href=\"https:\/\/play.google.com\/store\/apps\/details?id=mattiesworld.gotdns.org.onscreenclock&amp;pcampaignid=MKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1\"><img decoding=\"async\" src=\"https:\/\/play.google.com\/intl\/en_us\/badges\/images\/generic\/en_badge_web_generic.png\" alt=\"Get it on Google Play\" width=\"40%\" height=\"40%\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is a small update before the big changes come in \ud83d\ude09 I noticed sometimes the clock disappears due to high system load. Normally, the android system automatically relaunches the service afterwards, but sometimes this does not seem to happen. I&#8217;m not sure what&#8217;s the cause, but I added a trigger: when the service is &hellip; <a href=\"https:\/\/mattiesworld.gotdns.org\/weblog\/2017\/11\/30\/onscreenclock-v0-4-1\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">OnScreenClock v0.4.1<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[40],"tags":[],"class_list":["post-850","post","type-post","status-publish","format-standard","hentry","category-onscreenclock"],"_links":{"self":[{"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/posts\/850","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/comments?post=850"}],"version-history":[{"count":2,"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/posts\/850\/revisions"}],"predecessor-version":[{"id":852,"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/posts\/850\/revisions\/852"}],"wp:attachment":[{"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/media?parent=850"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/categories?post=850"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/tags?post=850"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}