Update App Indexing Code Generation Functionality
App Indexing API is updated to v2, so we have to update codes generated for
App Indexing.
Foturnately, new API has less dependencies, which make codes simpler.
This change follows https://firebase.google.com/docs/app-indexing/android/migrate
to migrate codes to new API.
This change also removes denpendencies adding functionality,
because new App Indexing API is part of Firebase SDK, we can add api
dependencies through "Add Dependency" action in Firebase Assistant.
cl/140329785 will make it happen.
To run this code in your local Studio, please follow:
1. cherry pick this CL and then cherry pick ag/1676966
2. open firebase assistant and click through
"App Indexing"-> "Get Started with App Indexing"
3. Click button in Step 2 to add App Indexing dependency into your test
app module.
4. Click right button of your mice to trigger popup menu
5. Click "Generating" -> "App Indexing Code" in activity source file to
see generated code.
Test: Add new test cases, update some existing test cases with new
generated content, and remove unused test cases.
Change-Id: I066e4a3867a0a093c2242b0c632620d6ba8e1c27
(cherry picked from commit 4de8ae5346ffa19d91f02b72a5d3a923c9ce9ec7)
38 files changed