ConfigActivity: Log state transitions
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
b2357e58e3
commit
632f3f73a2
@ -95,6 +95,9 @@ public class ConfigActivity extends BaseConfigActivity {
|
||||
* @param shouldBeEditing Whether or not the config should be in the editing state.
|
||||
*/
|
||||
private void moveToState(final Config config, final boolean shouldBeEditing) {
|
||||
Log.d(getClass().getSimpleName(), "moveToState: config=" +
|
||||
(config != null ? config.getName() : null) + " shouldBeEditing=" + shouldBeEditing);
|
||||
|
||||
// Update the saved state.
|
||||
setCurrentConfig(config);
|
||||
setIsEditing(shouldBeEditing);
|
||||
|
Loading…
Reference in New Issue
Block a user