summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Kensuke Miyagi <kemiyagi@google.com> 2021-07-16 12:22:57 -0700
committer Kensuke Miyagi <kemiyagi@google.com> 2021-07-16 21:49:23 +0000
commit4fb0c78cf1a70d326662d54eb740d59e00669e8c (patch)
treef36e42990ea32d89043586faa8a73dbda567e624
parent831f52e0d5ec5332b19f313a75cc07e128bb52a9 (diff)
Fix issue of TvInputManagerService not binding to TvInput services in Kids
Bug: 193923350 Bug: 179737219 Test: verified the binding happens Change-Id: Ie4cb63c5bc39d6f4986671554866a96e16386814
-rwxr-xr-xservices/core/java/com/android/server/tv/TvInputManagerService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/tv/TvInputManagerService.java b/services/core/java/com/android/server/tv/TvInputManagerService.java
index aa63c5215c21..8658334dba1d 100755
--- a/services/core/java/com/android/server/tv/TvInputManagerService.java
+++ b/services/core/java/com/android/server/tv/TvInputManagerService.java
@@ -467,9 +467,9 @@ public final class TvInputManagerService extends SystemService {
}
private void startProfileLocked(int userId) {
+ mRunningProfiles.add(userId);
buildTvInputListLocked(userId, null);
buildTvContentRatingSystemListLocked(userId);
- mRunningProfiles.add(userId);
}
private void switchUser(int userId) {