914073c7cf933229a3f51ddeddb63bb9725a70be |
|
30-Jan-2017 |
Yusuf Ozuysal <yusufo@google.com> |
Add postMessage APIs to customtabs support lib Adds CustomTabsSession#requestPostMessageChannel, CustomTabsSession#postMessage, CustomTabsCallback#onMessageChannelCreated, CustomTabsCallback#onPostMessage for sending an receiving postMessage requests to the mainframe of the initial url. Adds PostMessageService and PostMessageServiceConnection for handling the browser->client callback lifecycle and message routing BUG=32809427 Test: android.support.customtabs.PostMessageTest, android.support.customtabs.PostMessageConnectionTest Change-Id: I3324a382b81fad97000d48389f4a0411e0b6f89e
/frameworks/support/customtabs/src/android/support/customtabs/PostMessageService.java
|