summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaman Tenneti <rtenneti@google.com>2021-09-23 14:36:56 -0700
committerRaman Tenneti <rtenneti@google.com>2021-09-23 21:44:23 +0000
commit1f37195e810fd7362c4dacc993f47ebe1332abe2 (patch)
tree7801bf2ec0008e7666793aca28117525d6a2f6ee
parentc4a1eccbdb54b8414667ca51955ca8c0f2b8401e (diff)
downloadDeskClock-1f37195e810fd7362c4dacc993f47ebe1332abe2.tar.gz
AOSP/DeskClock - Move API level 24 for Alarm, Timer and basic functionality to work.
DeskClock is generating the following error. To fix the issue, moved the API level to 24. keyboard_arrow_down android.app.RemoteServiceException: Bad notification for startForeground android.app.RemoteServiceException at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run at com.android.internal.os.ZygoteInit.main at android.app.ActivityThread.throwRemoteServiceException(ActivityThread.java:1930) BUG: 199820402 BUG: 199822689 BUG: 199820401 Test: manual - Tested the DeskClock UI manually and tested the alarm. + Verified by setting up the alaram, lock the screen and waiting for the alarm to go off. + Verified timer is going off. + Verified screen saver settings is set to DeskClock's time. + Verified all of the above bugs are fixed. $ make -j 40 $ adb install -r out/target/product/bonito/product/app/DeskClock/DeskClock.apk $ adb install -d -r out/target/product/bonito/testcases/DeskClockTests/arm64/DeskClockTests.apk $ adb shell am instrument -w com.android.deskclock.tests com.android.deskclock.ringtone.RingtonePickerActivityTest:.... com.android.deskclock.timer.ExpiredTimersActivityTest:. com.android.deskclock.timer.TimerFragmentTest:......................................... com.android.deskclock.timer.TimerItemFragmentTest:. com.android.deskclock.timer.TimerServiceTest:.. com.android.deskclock.timer.TimerSetupViewTest:........ com.android.deskclock.uidata.FormattedStringModelTest:... com.android.deskclock.uidata.PeriodicCallbackModelTest:.... com.android.deskclock.uidata.TabModelTest:.. com.android.deskclock.worldclock.CitySelectionActivityTest:.. Time: 87.313 OK (68 tests) + Verified by setting up the alaram, lock the screen and waiting for the alarm to go off. Change-Id: Id2e48481c0e5b04fb33a368a2804a117983586cf
-rw-r--r--AndroidManifest.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index fde03a384..3819f4006 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -22,7 +22,7 @@
<original-package android:name="com.android.alarmclock" />
<original-package android:name="com.android.deskclock" />
- <uses-sdk android:minSdkVersion="23" android:targetSdkVersion="30" />
+ <uses-sdk android:minSdkVersion="23" android:targetSdkVersion="24" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.WAKE_LOCK" />