This commit adds an app banner in Android TV and introduces several changes including refactoring AppManager to make all features accessible with D-pad navigation.
Currently this app has the exact same user interface on Android TV as on normal Android devices but one should create a TV-specific user interface in the future.
P.S. Only tested in Android emulator. More testing might be needed.
* Refine exceptions handling when parsing per-app config string
* Remove redundant profiles Preference
* Move Network Traffic to title bar
* Add ripple to title text
* Animate using animateLayoutChanges
* Hide connection test in NAT mode
* Refine UI.
* Change notification action button icon for hidpi device
* Fix FAB ripple
* Fix usability problem
* Fix changes not commited when snackbar being swiped
* Show import/export as action
* Drop unused drawables
* Move TaskerSettings
* Fix action icons
* Prevent switching to an invalid profile
* Fix line wrap when screen width is small
* Refine exceptions handling when parsing per-app config string
* Remove redundant profiles Preference
* Move Network Traffic to title bar
* Add ripple to title text
* Animate using animateLayoutChanges
* Hide connection test in NAT mode
Bugfix: when NAT process is killed, Internet access is gone. Reproduce with:
adb shell killall com.github.shadowsocks:nat
One circumstance it cannot recover from is when updating to a new version, where both processes are killed at the same time. But a reset will be executed when the new version is launched.