Unbundle RemoteService on TV - part 3
- New service TVRemoteService triggered by SystemServer - Provider service proxy and watcher for maintaining connections to unbundled services which have the BIND_TV_REMOTE_SERVICE permission. - Shared library to facilitate connections between unbundled service and TVRemoteService. - Unbundled service needs TV_VIRTUAL_REMOTE_CONTROLLER permission to be fully functional. b/23792608 Change-Id: Ief5c6995883d1f7268a73bdd0c920c4c3f42cddb
This commit is contained in:
@@ -90,6 +90,7 @@ import com.android.server.statusbar.StatusBarManagerService;
|
||||
import com.android.server.storage.DeviceStorageMonitorService;
|
||||
import com.android.server.telecom.TelecomLoaderService;
|
||||
import com.android.server.trust.TrustManagerService;
|
||||
import com.android.server.tv.TvRemoteService;
|
||||
import com.android.server.tv.TvInputManagerService;
|
||||
import com.android.server.twilight.TwilightService;
|
||||
import com.android.server.usage.UsageStatsService;
|
||||
@@ -1111,6 +1112,10 @@ public final class SystemServer {
|
||||
mSystemServiceManager.startService(MediaResourceMonitorService.class);
|
||||
}
|
||||
|
||||
if (mPackageManager.hasSystemFeature(PackageManager.FEATURE_LEANBACK)) {
|
||||
mSystemServiceManager.startService(TvRemoteService.class);
|
||||
}
|
||||
|
||||
if (!disableNonCoreServices) {
|
||||
traceBeginAndSlog("StartMediaRouterService");
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user