Don't display a toast after pairing has completed

This commit is contained in:
Cameron Gutman 2014-11-16 16:37:41 -08:00
parent 7c39e5c974
commit d08eeb8a2d
2 changed files with 2 additions and 2 deletions

View File

@ -324,7 +324,8 @@ public class PcView extends Activity {
message = getResources().getString(R.string.pair_fail);
}
else if (pairState == PairingManager.PairState.PAIRED) {
message = getResources().getString(R.string.pair_success);
// Just navigate to the app view without displaying a toast
message = null;
success = true;
}
else {

View File

@ -16,7 +16,6 @@
<string name="pair_pairing_msg">Please enter the following PIN on the target PC:</string>
<string name="pair_incorrect_pin">Incorrect PIN</string>
<string name="pair_fail">Pairing failed</string>
<string name="pair_success">Paired successfully</string>
<!-- WOL messages -->
<string name="wol_pc_online">Computer is online</string>