am 689a6eb7: am c9bdea04: AtscTvInput: Switch to the new buildInputId/buildChannelsUriForXXX API

* commit '689a6eb7d69f01035a8be5a0a9f6672333e5f8ea':
  AtscTvInput: Switch to the new buildInputId/buildChannelsUriForXXX API
This commit is contained in:
Jae Seo
2014-07-18 13:13:10 +00:00
committed by Android Git Automerger

View File

@@ -69,9 +69,8 @@ public class AtscTvInputScanActivity extends Activity {
}
private void clearChannels() {
//Uri uri = TvContract.buildChannelsUriForInput(
// new ComponentName(this, AtscTvInputService.class));
Uri uri = null;
String id = TvContract.buildInputId(new ComponentName(this, AtscTvInputService.class));
Uri uri = TvContract.buildChannelsUriForInput(id);
getContentResolver().delete(uri, null, null);
}