summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Rasheed Lewis <rasheedlewis@google.com> 2022-11-23 15:48:03 +0000
committer Rasheed Lewis <rasheedlewis@google.com> 2022-12-17 19:56:39 +0000
commite00edd6df653f56253dd7d87aa85107c796b2e88 (patch)
treef2476934325ae261b490d47b5e00b7062e098d36 /api/api.go
parent96f5e4321efe51ceb8f9a8a7b7a9d593523568aa (diff)
Add Start Activity API for TileServices
This API allows developers to add a pendingIntent to a CustomTile, which will allow the tile to start a new activity. There are two ways of using this functionality: 1. Call TileService#startActivityAndCollapse(pendingIntent) to immediately start a new activity 2. Set a pendingIntent in advance with Tile#setActivityLaunchForClick(pendingIntent), and the activity will start when the user clicks on the tile Bug: 241766793 Test: atest CustomTileTest Test: atest TileServicesTest Change-Id: I07ad73ae468eed7a03202babfaeab271d4f7f3ae
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions