File tree Expand file tree Collapse file tree
app/src/main/java/com/github/mobile/ui/user Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -100,8 +100,6 @@ protected void onCreate(Bundle savedInstanceState) {
100100 getSupportLoaderManager ().initLoader (0 , null , this );
101101
102102 User org = (User ) getIntent ().getSerializableExtra (EXTRA_USER );
103- if (org == null && savedInstanceState != null )
104- org = (User ) savedInstanceState .getSerializable (EXTRA_USER );
105103 if (org != null ) {
106104 isDefaultUser = AccountUtils .isUser (this , org );
107105 setOrg (org );
@@ -161,14 +159,6 @@ protected void onResume() {
161159 reloadOrgs ();
162160 }
163161
164- @ Override
165- protected void onSaveInstanceState (Bundle outState ) {
166- super .onSaveInstanceState (outState );
167-
168- if (org != null )
169- outState .putSerializable (EXTRA_USER , org );
170- }
171-
172162 private void configureActionBar () {
173163 ActionBar actionBar = getSupportActionBar ();
174164 actionBar .setDisplayShowHomeEnabled (false );
You can’t perform that action at this time.
0 commit comments