fix a typo bug in TrackRecordingServiceConnectionUtils

This commit is contained in:
Jimmy Shih
2012-08-16 14:34:10 -07:00
parent 6039c5e1d4
commit 883b4bc9a8
2 changed files with 2 additions and 2 deletions
@@ -148,7 +148,7 @@ public class TrackListActivity extends FragmentActivity implements DeleteOneTrac
recordingTrackPaused = PreferencesUtils.getBoolean(TrackListActivity.this,
R.string.recording_track_paused_key,
PreferencesUtils.RECORDING_TRACK_PAUSED_DEFAULT);
updateList = key != null;
updateList = updateList || key != null;
}
if (updateList) {
resourceCursorAdapter.notifyDataSetChanged();
@@ -91,7 +91,7 @@ public class TrackRecordingServiceConnectionUtils {
try {
ITrackRecordingService service = trackRecordingServiceConnection.getServiceIfBound();
if (service != null) {
service.resumeCurrentTrack();
service.pauseCurrentTrack();
}
} catch (RemoteException e) {
Log.e(TAG, "Unable to resume track.", e);