The Android documentation says
Call syncState() from your Activity's onPostCreate to synchronize the indicator with the state of the linked DrawerLayout after onRestoreInstanceState has occurred.
https://developer.android.com/reference/android/support/v4/app/ActionBarDrawerToggle.html
But the Navigation Drawer activity already implemented as a ready-made activity in Android Studio 3.0 calls that method in onCreate
.
So which one is correct? Have there been changes recently?