Set Android Things time zone
问题 After installing Android Things on a Raspberry Pi, time is not correct. My time zone is GMT+2, and using date +%Z I see RPi's time zone is GMT. How can I set time zone? 回答1: Update (based on Michal Harakal's comment): Since Developer Preview 6 TimeManager class provides access to device settings related to time (NB! TimeManager requires <uses-permission android:name="com.google.android.things.permission.SET_TIME" /> ). You can use .setTimeZone() method of for time zone set: private void