Skip to content

Commit

Permalink
Error in search activity result fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
cstdvd committed Jun 22, 2015
1 parent a7589d6 commit a7a3a40
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,9 @@ protected void onDestroy(){

@Override
public void onActivityResult(int requestCode, int resultCode, Intent data) {
if(data == null)
return;

if(requestCode == Parameters.REQUEST_ENABLE_BT) {
if(resultCode != Activity.RESULT_OK){
Toast.makeText(getApplicationContext(),getString(R.string.bluetooth_not_enable), Toast.LENGTH_SHORT).show();
Expand Down

0 comments on commit a7a3a40

Please sign in to comment.