Mycroft-Android icon indicating copy to clipboard operation
Mycroft-Android copied to clipboard

Refactoring

Open Sonderful opened this issue 6 years ago • 1 comments

  • 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.

Sonderful avatar Nov 24 '18 09:11 Sonderful

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">

bd0n4lds avatar Jun 01 '19 03:06 bd0n4lds