From 9bf671f8ee72b156f16fcf05a3d1c6e093ecba67 Mon Sep 17 00:00:00 2001 From: Sungsoo Lim Date: Sat, 19 Jul 2014 12:59:51 +0900 Subject: TIF: revise API names - TvInputManager: TvInputCallback -> TvInputListenter - TvParentalControlManager: ParentalControlCallback -> ParentalControlListener - TvView: unblockContent -> requestUnblockContent Change-Id: I58220e86a4e59ee7d8f28fab833f09cd603b1e38 --- services/core/java/com/android/server/tv/TvInputManagerService.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'services') diff --git a/services/core/java/com/android/server/tv/TvInputManagerService.java b/services/core/java/com/android/server/tv/TvInputManagerService.java index 78b6883..0115366 100644 --- a/services/core/java/com/android/server/tv/TvInputManagerService.java +++ b/services/core/java/com/android/server/tv/TvInputManagerService.java @@ -1035,7 +1035,8 @@ public final class TvInputManagerService extends SystemService { } @Override - public void unblockContent(IBinder sessionToken, String unblockedRating, int userId) { + public void requestUnblockContent( + IBinder sessionToken, String unblockedRating, int userId) { final int callingUid = Binder.getCallingUid(); final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), callingUid, userId, "unblockContent"); @@ -1044,7 +1045,7 @@ public final class TvInputManagerService extends SystemService { synchronized (mLock) { try { getSessionLocked(sessionToken, callingUid, resolvedUserId) - .unblockContent(unblockedRating); + .requestUnblockContent(unblockedRating); } catch (RemoteException e) { Slog.e(TAG, "error in unblockContent", e); } -- cgit v1.1