Added an else block that finishes the ListActivity in onActivityResult()

if started via new ringer shortcut

refs #93

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
This commit is contained in:
2012-06-05 09:47:27 -04:00
parent 74ed68aef1
commit 188b5eb323

View File

@@ -120,6 +120,11 @@ public class ListActivity extends Activity implements OnItemClickListener, OnCli
});
}
}).start();
} else {
final String action = ListActivity.this.getIntent().getAction();
if(action != null)
if(action.equals(ACTION_NEW_RINGER))
finish();
}
}