davidhubbard / gobbed

Free Software for connecting to your vehicle's data buses
Other
3 stars 0 forks source link

Fix API 9 (Gingerbread) support #8

Open davidhubbard opened 8 years ago

davidhubbard commented 8 years ago

gobbed is compiled with MIN_SDK_TARGET of API 9 (Android 2.3 Gingerbread). There are still a lot of Gingerbread devices in the wild.

But WebViewFragment ended up being the cleanest way to get around Android's "feature" that it will tear down and re-create your MainActivity every time the screen is rotated...and for some other changes which I can't remember at the moment.

This bug is to fix the tricky balancing act of creating a WebView and attaching all the notifications to it but only if the device is below API 11.

davidhubbard commented 8 years ago

Please vote using the reaction button only. Any comment which contains a vote will be deleted (even if it has other content).