What is the usage of onCreate method second implementation in Android Activities?
问题 I have alway used onCreate method inside my Activity lifecycle to start or restore from a saved state, but recently found that there is another onCreate method which contains a PersistableBundle : @Override public void onCreate(Bundle savedInstanceState, PersistableBundle persistentState) { super.onCreate(savedInstanceState, persistentState); } I only found that it has been added since Android 21. Could anyone please give a complete information about this method, when it calls and the usage?