Files
frameworks_base/tests/UsageStatsTest/AndroidManifest.xml
Amith Yamasani 62ec27e97f App Time Limits API in UsageStats
Allow setting groups of apps to control usage time limits on.
Applies only to activity time in the foreground.

Updated UsageStatsTest app to be able to add an observer for
a 30 second timeout across multiple comma separated package
names.

Bug: 74335821
Test: atest FrameworksServicesTests:AppTimeLimitControllerTests
      Install and run frameworks/base/tests/UsageStatsTest

Change-Id: I677c30b4f211f7acf72c9766df3d8c1ac56a4b4e
2018-03-15 17:07:28 -07:00

27 lines
835 B
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
Note: Add android:sharedUserId="android.uid.system" to the root element to simulate the system UID
caller case.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.tests.usagestats"
>
<uses-permission android:name="android.permission.PACKAGE_USAGE_STATS" />
<application android:label="Usage Access Test">
<activity android:name=".UsageStatsActivity"
android:label="Device Usage History">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".UsageLogActivity" />
</application>
</manifest>