Mycroft-Android
Mycroft-Android copied to clipboard
Refactoring
- DiscoveryActivity is unreachable for a normal user of the app. It seems to have been untouched for two years. Removing for now, easy to revive if someone still needs it.
- Also removing the location permission that was required for beacons. Missed in previous commits.
- Many dependencies were out of date, so I updated them.
- Several dependencies were unused (palette library).
- Unit test dependencies were JUnit 4, switched to JUnit 5 and MockK for Kotlin, instead of Mockito.
- Removed Powermock, which was completely unnecessary for mocking the android.util.Log class.
- Removed example unit test class.
There is an Invalided context in activity_display.xml
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" tools:context="mycroft.ai.wear.MycroftDisplayActivity" tools:deviceIds="wear">