Loading media/java/android/media/tv/interactive/TvIAppView.java +2 −2 Original line number Diff line number Diff line Loading @@ -114,7 +114,7 @@ public class TvIAppView extends ViewGroup { } public TvIAppView(@NonNull Context context, @Nullable AttributeSet attrs, int defStyleAttr) { super(context, /* attrs = */null, /* defStyleAttr = */0); super(context, attrs, defStyleAttr); int sourceResId = Resources.getAttributeSetSourceResId(attrs); if (sourceResId != Resources.ID_NULL) { Log.d(TAG, "Build local AttributeSet"); Loading @@ -127,7 +127,7 @@ public class TvIAppView extends ViewGroup { } mDefStyleAttr = defStyleAttr; resetSurfaceView(); mTvIAppManager = (TvIAppManager) getContext().getSystemService("tv_interactive_app"); mTvIAppManager = (TvIAppManager) getContext().getSystemService(Context.TV_IAPP_SERVICE); } /** Loading services/core/java/com/android/server/tv/interactive/TvIAppManagerService.java +1 −0 Original line number Diff line number Diff line Loading @@ -158,6 +158,7 @@ public class TvIAppManagerService extends SystemService { } iAppState.mInfo = info; iAppState.mUid = getIAppUid(info); iAppState.mComponentName = info.getComponent(); iAppMap.put(iAppServiceId, iAppState); iAppState.mIAppNumber = count; } Loading Loading
media/java/android/media/tv/interactive/TvIAppView.java +2 −2 Original line number Diff line number Diff line Loading @@ -114,7 +114,7 @@ public class TvIAppView extends ViewGroup { } public TvIAppView(@NonNull Context context, @Nullable AttributeSet attrs, int defStyleAttr) { super(context, /* attrs = */null, /* defStyleAttr = */0); super(context, attrs, defStyleAttr); int sourceResId = Resources.getAttributeSetSourceResId(attrs); if (sourceResId != Resources.ID_NULL) { Log.d(TAG, "Build local AttributeSet"); Loading @@ -127,7 +127,7 @@ public class TvIAppView extends ViewGroup { } mDefStyleAttr = defStyleAttr; resetSurfaceView(); mTvIAppManager = (TvIAppManager) getContext().getSystemService("tv_interactive_app"); mTvIAppManager = (TvIAppManager) getContext().getSystemService(Context.TV_IAPP_SERVICE); } /** Loading
services/core/java/com/android/server/tv/interactive/TvIAppManagerService.java +1 −0 Original line number Diff line number Diff line Loading @@ -158,6 +158,7 @@ public class TvIAppManagerService extends SystemService { } iAppState.mInfo = info; iAppState.mUid = getIAppUid(info); iAppState.mComponentName = info.getComponent(); iAppMap.put(iAppServiceId, iAppState); iAppState.mIAppNumber = count; } Loading