Support for notification panel key on ATV
Add activity intents to open and toggle notification panel (requires STATUS_BAR_SERVICE permission). Add protected broadcast intent to close notification panel. Make long-press-on-home configurable to open notification panel. Create TvNotificationPanel class which forwards notification panel requests to the configured handler. Bug: 158661029 Test: manually tested on ATV device with adapted launcher Change-Id: I555bb3801ac949c8985692b41b02323c56332ccd
This commit is contained in:
@@ -223,7 +223,7 @@ key 200 MEDIA_PLAY
|
||||
key 201 MEDIA_PAUSE
|
||||
# key 202 "KEY_PROG3"
|
||||
# key 203 "KEY_PROG4"
|
||||
# key 204 (undefined)
|
||||
key 204 NOTIFICATION
|
||||
# key 205 "KEY_SUSPEND"
|
||||
# key 206 "KEY_CLOSE"
|
||||
key 207 MEDIA_PLAY
|
||||
|
||||
Reference in New Issue
Block a user