Commit 8c6c3741 authored by Raman Tenneti's avatar Raman Tenneti Committed by Jesse Chan
Browse files

AOSP/DeskClock - Updated to sdkVersion 29.



Changed android:name for HandleApiCalls and HandleSetAlarmApiCalls to be same as
Google Playstore's Clock app. Updated minSdkVersion to "23"  ala Clock app.

BUG: 133177396
BUG: 143990962
BUG: 150612638

Test: manual - Tested the DeskClock UI manually and tested the alarm, stopwatch and timer.

$ make -j 40

$ ls -l  out/target/product/bonito/product/app/DeskClock/DeskClock.apk
-rw-r----- 1 rtenneti primarygroup 6125545 Apr 27 12:57 out/target/product/bonito/product/app/DeskClock/DeskClock.apk

$ adb install -r out/target/product/generic/system/product/app/DeskClock/DeskClock.apk

+ Verified by setting up the alaram and waiting for the alarm to go off.

Change-Id: I5f4c8a4701635f43c9057759a2ad702968a04020
Signed-off-by: default avatarJesse Chan <jc@lineageos.org>
parent 732cd5c2
......@@ -22,7 +22,7 @@
<original-package android:name="com.android.alarmclock" />
<original-package android:name="com.android.deskclock" />
<uses-sdk android:minSdkVersion="19" android:targetSdkVersion="25" />
<uses-sdk android:minSdkVersion="23" android:targetSdkVersion="29" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
......@@ -109,9 +109,11 @@
<!-- ============================================================== -->
<activity
android:name=".HandleApiCalls"
android:name="com.android.deskclock.HandleApiCalls"
android:directBootAware="true"
android:excludeFromRecents="true"
android:launchMode="singleInstance"
android:showWhenLocked="true"
android:taskAffinity=""
android:theme="@android:style/Theme.NoDisplay">
<intent-filter>
......@@ -127,9 +129,9 @@
</activity>
<activity-alias
android:name=".HandleSetAlarmApiCalls"
android:name="com.android.deskclock.HandleSetAlarmApiCalls"
android:permission="com.android.alarm.permission.SET_ALARM"
android:targetActivity=".HandleApiCalls">
android:targetActivity="com.android.deskclock.HandleApiCalls">
<intent-filter>
<action android:name="android.intent.action.SET_ALARM" />
<action android:name="android.intent.action.SET_TIMER" />
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment