There is a bug when first initializing the ScreenManager for adjust the device brightness and resolution. This is a known bug with Android Things Preview 6.1 which will be addressed by Google in an upcoming release. This bug can cause a crash of the application, but it happens randomly. If anyone experiences this issue, just ignore it until the app properly starts, it should then run stable afterwards.
There is a bug when first initializing the ScreenManager for adjust the device brightness and resolution. This is a known bug with Android Things Preview 6.1 which will be addressed by Google in an upcoming release. This bug can cause a crash of the application, but it happens randomly. If anyone experiences this issue, just ignore it until the app properly starts, it should then run stable afterwards.