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

* commit 'c9bdea0489bbb9ff2b960a3638a07e6f213adf9d':
  AtscTvInput: Switch to the new buildInputId/buildChannelsUriForXXX API
This commit is contained in:
Jae Seo
2014-07-18 03:58:22 +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);
}