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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user