* Update desc_padding to 20dp * Update dimens * Update welcome wizard texts * Remove unused dimen * Update welcome slide layouts * Add dimen: grant_button_padding * Welcome slides: use dimen/dots_height as marginBottom * Update ic_location * Add @dimen/welcome_title * Remove res-auto/autoSizeTextType Add @dimen/slide_desc * Add dimen for 540dp TV displays * Add FirstStartActivity#isRunningOnTV detection * Updated translations * Increase default slide_desc textSize to 16sp (fixes #126) * Add dimens for devics with at least 320dp * Update dimens defintions * Detect missing "ignore doze" dialog on Android TV's (fixes #192)
1.7 KiB
nVidia Shield TV's Android OS seem to lack the "regular" battery optimization consent and settings dialogs as they are known from mobile phones and tablets. Because of the missing functionality, you can't setup Syncthing-Fork on those TV's without making some steps to prepare the installation of the Syncthing-Fork app first.
The following instructions to solve the problem by preparing the Android TV for running the app have been contributed by @o-l-a-v :
-
Enable Developer options (rapidly tab build info inside Settings > About)
-
Enable "USB debugging" and then "Network debugging" inside Developer options
-
Wait for ip:port to show
-
Locate / Download Google platform-tools, navigate to folder where adb.exe resides. Open Command Prompt here
-
Type the following:
adb start-server
adb connect ip:port (example: adb connect 192.168.1.76:5555)
-
Enable "Allow Network debugging" on the prompt that pops up on the nVidia Shield Android TV
-
Then type the following to check weather you are successfully connected. Should state one device, and "connected"
adb devices
-
To whitelist Syncthing-Fork from doze / Android Battery Optimization, type the following
adb shell dumpsys deviceidle whitelist +com.github.catfriend1.syncthingandroid
adb shell dumpsys deviceidle whitelist +com.github.catfriend1.syncthingandroid.debug
-
If you ever want to revert this change, type the following in ADB
adb shell dumpsys deviceidle whitelist -com.github.catfriend1.syncthingandroid
adb shell dumpsys deviceidle whitelist -com.github.catfriend1.syncthingandroid.debug
Related: