summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorSungsoo Lim <sungsoo@google.com>2014-07-19 12:59:51 +0900
committerWonsik Kim <wonsik@google.com>2014-07-19 21:22:16 +0900
commit9bf671f8ee72b156f16fcf05a3d1c6e093ecba67 (patch)
tree4955cc478c3c533af87a944aad6a62c51eed778c /services
parent6b11ea1ab1b2acb693a0e7afd100976f471c0505 (diff)
downloadframeworks_base-9bf671f8ee72b156f16fcf05a3d1c6e093ecba67.zip
frameworks_base-9bf671f8ee72b156f16fcf05a3d1c6e093ecba67.tar.gz
frameworks_base-9bf671f8ee72b156f16fcf05a3d1c6e093ecba67.tar.bz2
TIF: revise API names
- TvInputManager: TvInputCallback -> TvInputListenter - TvParentalControlManager: ParentalControlCallback -> ParentalControlListener - TvView: unblockContent -> requestUnblockContent Change-Id: I58220e86a4e59ee7d8f28fab833f09cd603b1e38
Diffstat (limited to 'services')
-rw-r--r--services/core/java/com/android/server/tv/TvInputManagerService.java5
1 files changed, 3 insertions, 2 deletions
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);
}