Fullscreen pages (e.g. Now) are focusable via keyboard.

Change-Id: I962551651aeb9ac7b57bb51b195adc3140db30d8
This commit is contained in:
Tony Wickham committed 2015-12-03 14:27:55 -08:00
1 parent af78b59af1
commit 0fa5ada226
2 files changed
+45 -1

No files matched your search

+2
View File
@@ -651,6 +651,8 @@ public class Workspace extends PagedView
parent.removeView(customContent);
}
customScreen.removeAllViews();
customContent.setFocusable(true);
customContent.setOnKeyListener(new FullscreenKeyEventListener());
customScreen.addViewToCellLayout(customContent, 0, 0, lp, true);
mCustomContentDescription = description;