Skip to content

Commit

Permalink
Templates: back button goes to preferences not conversation list
Browse files Browse the repository at this point in the history
Change-Id: Ib12e521b5049b0139ad638edb3a1583c3410cac5
  • Loading branch information
jt1134 authored and scotthartbti committed Apr 16, 2013
1 parent e23ac44 commit 64227b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/com/android/mms/templates/TemplatesListActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

import com.android.mms.R;
import com.android.mms.templates.TemplatesProvider.Template;
import com.android.mms.ui.ConversationList;
import com.android.mms.ui.MessagingPreferenceActivity;

public class TemplatesListActivity extends Activity implements
LoaderManager.LoaderCallbacks<Cursor> {
Expand Down Expand Up @@ -180,7 +180,7 @@ public boolean onCreateOptionsMenu(Menu menu) {
public boolean onOptionsItemSelected(MenuItem item) {
switch (item.getItemId()) {
case android.R.id.home:
Intent intent = new Intent(this, ConversationList.class);
Intent intent = new Intent(this, MessagingPreferenceActivity.class);
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
startActivity(intent);
return true;
Expand Down

0 comments on commit 64227b7

Please sign in to comment.