2012-07-24 04:43:55 +00:00
|
|
|
/**
|
2011-12-20 18:20:44 +00:00
|
|
|
* Copyright (C) 2011 Whisper Systems
|
2012-07-24 04:43:55 +00:00
|
|
|
*
|
2011-12-20 18:20:44 +00:00
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
2012-07-24 04:43:55 +00:00
|
|
|
*
|
2011-12-20 18:20:44 +00:00
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
package org.thoughtcrime.securesms;
|
|
|
|
|
|
|
|
import android.os.Bundle;
|
|
|
|
|
2013-05-23 23:36:24 +00:00
|
|
|
import com.actionbarsherlock.app.SherlockFragmentActivity;
|
2012-07-24 04:43:55 +00:00
|
|
|
import com.actionbarsherlock.view.MenuItem;
|
2013-06-21 18:56:59 +00:00
|
|
|
import org.thoughtcrime.securesms.util.DynamicTheme;
|
2012-07-24 04:43:55 +00:00
|
|
|
|
2013-05-23 23:36:24 +00:00
|
|
|
public class ReviewIdentitiesActivity extends SherlockFragmentActivity {
|
2013-06-21 18:56:59 +00:00
|
|
|
|
|
|
|
private final DynamicTheme dynamicTheme = new DynamicTheme();
|
|
|
|
|
|
|
|
@Override
|
2013-05-23 23:36:24 +00:00
|
|
|
public void onCreate(Bundle bundle) {
|
2013-06-21 18:56:59 +00:00
|
|
|
dynamicTheme.onCreate(this);
|
2013-05-23 23:36:24 +00:00
|
|
|
super.onCreate(bundle);
|
|
|
|
setContentView(R.layout.review_identities);
|
|
|
|
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
|
2011-12-20 18:20:44 +00:00
|
|
|
}
|
|
|
|
|
2013-06-21 18:56:59 +00:00
|
|
|
@Override
|
|
|
|
public void onResume() {
|
|
|
|
super.onResume();
|
|
|
|
dynamicTheme.onResume(this);
|
|
|
|
}
|
|
|
|
|
2012-07-24 04:43:55 +00:00
|
|
|
@Override
|
|
|
|
public boolean onOptionsItemSelected(MenuItem item) {
|
|
|
|
switch (item.getItemId()) {
|
2013-05-23 23:36:24 +00:00
|
|
|
case android.R.id.home: finish(); return true;
|
2012-07-24 04:43:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
return false;
|
|
|
|
}
|
2013-05-23 23:36:24 +00:00
|
|
|
}
|