Skip to content
Commit e00edd6d authored by Rasheed Lewis's avatar Rasheed Lewis
Browse files

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
parent 96f5e432
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment