From ab981c5653ed7f54247e589437a96b3190b48eb7 Mon Sep 17 00:00:00 2001 From: Sungsoo Lim Date: Thu, 19 Jun 2014 23:58:27 +0900 Subject: [PATCH] Make getAvailability() always return true Bug: 15745402 Change-Id: If40ecef74e5bd7124e0020fcdbcd4637b2d82d97 --- .../java/com/android/server/tv/TvInputManagerService.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/services/core/java/com/android/server/tv/TvInputManagerService.java b/services/core/java/com/android/server/tv/TvInputManagerService.java index cbbcc58854b07..99b5b03d5256a 100644 --- a/services/core/java/com/android/server/tv/TvInputManagerService.java +++ b/services/core/java/com/android/server/tv/TvInputManagerService.java @@ -631,7 +631,9 @@ public final class TvInputManagerService extends SystemService { } finally { Binder.restoreCallingIdentity(identity); } - return false; + // STOPSHIP: Redesign the API around the availability change. For now, the service + // will be always available. + return true; } @Override