API Changes and Update Activity

This change adds the ability for apps to report jank stats back to the
platform. It adds the reporting api surface to the view class and
instantiates the JankTracker object inside an Activity.

It also adds a callback to the DecorView that allows it to obtain a
reference to the JankTracker object contained in the Activity.

Bug: 375487792
Test: atest CoreAppJankTestCases
Flag: android.app.jank.detailed_app_jank_metrics_api
API-Coverage-Bug: 377714256

Change-Id: If5de4008beba82ecaf9601baea93e69b3cba9299
diff --git a/tests/AppJankTest/AndroidManifest.xml b/tests/AppJankTest/AndroidManifest.xml
index ae97339..abed179 100644
--- a/tests/AppJankTest/AndroidManifest.xml
+++ b/tests/AppJankTest/AndroidManifest.xml
@@ -18,7 +18,7 @@
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
           package="android.app.jank.tests">
 
-    <application>
+    <application android:appCategory="news">
         <uses-library android:name="android.test.runner" />
         <activity android:name=".EmptyActivity"
                   android:label="EmptyActivity"