Please, tell me, who knows. How to programmatically open the channel editing menu in Android TV?
enter image description here
I tried:
public void showCustomizeChannelsMenu() {
Intent intent = new Intent();
intent.setComponent(new ComponentName("com.google.android.tvlauncher", "com.google.android.tvlauncher.settings.AppChannelPermissionActivity"));
if (intent.resolveActivity(getPackageManager()) != null) {
startActivity(intent);
} else {
Toast.makeText(getApplicationContext(), "Не удалось открыть настройки каналов", Toast.LENGTH_SHORT).show();
}
}
New contributor
Pogodin Max is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.