Amith Yamasani b0c8a88729 Retry crashed bound foreground service with some delay
After quick crashes, back-off for 30 minutes and try again.
Keep backing-off up to 10 times and then give up.

Bug: 63075467
Test: runtest -x frameworks/base/tests/ServiceCrashTest

Change-Id: I3819aefac5fd48b49a70b1765e07696f2ad61328
2017-09-05 16:51:51 -07:00

24 lines
815 B
XML

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.tests.servicecrashtest">
<application android:label="Service Crash Test">
<uses-library android:name="android.test.runner" />
<service android:name=".CrashingService"
android:process=":badservice" />
<activity android:name=".MainActivity" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
</activity>
</application>
<instrumentation android:label="Test bound service crash restart"
android:name="android.test.InstrumentationTestRunner"
android:targetPackage="com.android.tests.servicecrashtest" />
</manifest>