<feed xmlns='http://www.w3.org/2005/Atom'>
<title>platform_packages_apps_DeskClock, branch android11-mainline-conscrypt-release</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_DeskClock/'/>
<entry>
<title>Snap for 7080740 from 51fba046e652d57434fd169afacc797b8017df96 to mainline-conscrypt-release</title>
<updated>2021-01-13T23:59:12+00:00</updated>
<author>
<name>android-build-team Robot</name>
<email>android-build-team-robot@google.com</email>
</author>
<published>2021-01-13T23:59:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_DeskClock/commit/?id=2f5bfe392d1beac8ef9bb24318721dbc581dbba4'/>
<id>2f5bfe392d1beac8ef9bb24318721dbc581dbba4</id>
<content type='text'>
Change-Id: Ib4fc310b12f7cf6e6d8ad7df8c96c67c02e38bb8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ib4fc310b12f7cf6e6d8ad7df8c96c67c02e38bb8
</pre>
</div>
</content>
</entry>
<entry>
<title>[automerger skipped] DeskClock - Moved the android:targetSdkVersion to 25 to fix "Clock has stopped" message displayed when Alarm trigger. am: e88d40eece am: f83beccc88 am: df9de353bb am: 7305e09159 am: f67daa199e am: c4c8f7b6c1 -s ours am: 5a38a3014f -s ours</title>
<updated>2020-09-23T00:33:36+00:00</updated>
<author>
<name>Raman Tenneti</name>
<email>rtenneti@google.com</email>
</author>
<published>2020-09-23T00:33:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_DeskClock/commit/?id=51fba046e652d57434fd169afacc797b8017df96'/>
<id>51fba046e652d57434fd169afacc797b8017df96</id>
<content type='text'>
am skip reason: Change-Id I75a96e1ed4acebd118c212b51b7d0e57482a66bb with SHA-1 e6351b3b85 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/DeskClock/+/12661641

Change-Id: Id54c2aae395b6d0288c4f2f49112b0ab70f82c45
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
am skip reason: Change-Id I75a96e1ed4acebd118c212b51b7d0e57482a66bb with SHA-1 e6351b3b85 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/DeskClock/+/12661641

Change-Id: Id54c2aae395b6d0288c4f2f49112b0ab70f82c45
</pre>
</div>
</content>
</entry>
<entry>
<title>[automerger skipped] DeskClock - Moved the android:targetSdkVersion to 25 to fix "Clock has stopped" message displayed when Alarm trigger. am: e88d40eece am: f83beccc88 am: df9de353bb am: 7305e09159 am: f67daa199e am: c4c8f7b6c1 -s ours</title>
<updated>2020-09-23T00:14:09+00:00</updated>
<author>
<name>Raman Tenneti</name>
<email>rtenneti@google.com</email>
</author>
<published>2020-09-23T00:14:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_DeskClock/commit/?id=5a38a3014f11efd77914b055805b9c3990611836'/>
<id>5a38a3014f11efd77914b055805b9c3990611836</id>
<content type='text'>
am skip reason: Change-Id I75a96e1ed4acebd118c212b51b7d0e57482a66bb with SHA-1 e6351b3b85 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/DeskClock/+/12661641

Change-Id: I66f59d40cb59067b1dc6537d3a2a8b80d6be3b5a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
am skip reason: Change-Id I75a96e1ed4acebd118c212b51b7d0e57482a66bb with SHA-1 e6351b3b85 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/DeskClock/+/12661641

Change-Id: I66f59d40cb59067b1dc6537d3a2a8b80d6be3b5a
</pre>
</div>
</content>
</entry>
<entry>
<title>DeskClock - Moved the android:targetSdkVersion to 25 to fix "Clock has stopped" message displayed when Alarm trigger. am: e88d40eece am: f83beccc88 am: df9de353bb am: 7305e09159 am: f67daa199e</title>
<updated>2020-09-22T23:57:39+00:00</updated>
<author>
<name>Raman Tenneti</name>
<email>rtenneti@google.com</email>
</author>
<published>2020-09-22T23:57:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_DeskClock/commit/?id=c4c8f7b6c15091096cb8d1f00243b3d3f66e6556'/>
<id>c4c8f7b6c15091096cb8d1f00243b3d3f66e6556</id>
<content type='text'>
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/DeskClock/+/12661641

Change-Id: I3b3fd672583bfba367cec3acd94cb6141beb4c50
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/DeskClock/+/12661641

Change-Id: I3b3fd672583bfba367cec3acd94cb6141beb4c50
</pre>
</div>
</content>
</entry>
<entry>
<title>DeskClock - Moved the android:targetSdkVersion to 25 to fix "Clock has stopped" message displayed when Alarm trigger. am: e88d40eece am: f83beccc88 am: df9de353bb am: 7305e09159</title>
<updated>2020-09-22T23:43:13+00:00</updated>
<author>
<name>Raman Tenneti</name>
<email>rtenneti@google.com</email>
</author>
<published>2020-09-22T23:43:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_DeskClock/commit/?id=f67daa199ec6f9dc5d9bb917136556340867122d'/>
<id>f67daa199ec6f9dc5d9bb917136556340867122d</id>
<content type='text'>
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/DeskClock/+/12661641

Change-Id: I66061d294210a845de87c95ed0963959f53300f1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/DeskClock/+/12661641

Change-Id: I66061d294210a845de87c95ed0963959f53300f1
</pre>
</div>
</content>
</entry>
<entry>
<title>DeskClock - Moved the android:targetSdkVersion to 25 to fix "Clock has stopped" message displayed when Alarm trigger. am: e88d40eece am: f83beccc88 am: df9de353bb</title>
<updated>2020-09-22T23:07:19+00:00</updated>
<author>
<name>Raman Tenneti</name>
<email>rtenneti@google.com</email>
</author>
<published>2020-09-22T23:07:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_DeskClock/commit/?id=7305e091592628a5e1d067726906ef6514df58b2'/>
<id>7305e091592628a5e1d067726906ef6514df58b2</id>
<content type='text'>
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/DeskClock/+/12661641

Change-Id: Ie9cbf4b17553f0374b7375856a75696066d38473
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/DeskClock/+/12661641

Change-Id: Ie9cbf4b17553f0374b7375856a75696066d38473
</pre>
</div>
</content>
</entry>
<entry>
<title>DeskClock - Moved the android:targetSdkVersion to 25 to fix "Clock has stopped" message displayed when Alarm trigger. am: e88d40eece am: f83beccc88</title>
<updated>2020-09-22T22:46:53+00:00</updated>
<author>
<name>Raman Tenneti</name>
<email>rtenneti@google.com</email>
</author>
<published>2020-09-22T22:46:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_DeskClock/commit/?id=df9de353bbec2aa391289e9d4d3442ff1b30f881'/>
<id>df9de353bbec2aa391289e9d4d3442ff1b30f881</id>
<content type='text'>
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/DeskClock/+/12661641

Change-Id: Ibd8de47cd1a04d26d8dcece2765b2589c46856f0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/DeskClock/+/12661641

Change-Id: Ibd8de47cd1a04d26d8dcece2765b2589c46856f0
</pre>
</div>
</content>
</entry>
<entry>
<title>DeskClock - Moved the android:targetSdkVersion to 25 to fix "Clock has stopped" message displayed when Alarm trigger. am: e88d40eece</title>
<updated>2020-09-22T22:29:50+00:00</updated>
<author>
<name>Raman Tenneti</name>
<email>rtenneti@google.com</email>
</author>
<published>2020-09-22T22:29:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_DeskClock/commit/?id=f83beccc886827702d0522b38513f4a74086737a'/>
<id>f83beccc886827702d0522b38513f4a74086737a</id>
<content type='text'>
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/DeskClock/+/12661641

Change-Id: I5c3a52325f7a9c8582f5e27cd767432196a1a703
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/DeskClock/+/12661641

Change-Id: I5c3a52325f7a9c8582f5e27cd767432196a1a703
</pre>
</div>
</content>
</entry>
<entry>
<title>DeskClock - Moved the android:targetSdkVersion to 25 to fix "Clock has stopped" message displayed when Alarm trigger.</title>
<updated>2020-09-22T18:40:46+00:00</updated>
<author>
<name>Raman Tenneti</name>
<email>rtenneti@google.com</email>
</author>
<published>2019-06-20T23:06:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_DeskClock/commit/?id=e88d40eecee133ae9e05f3e60d228c33dfb7284b'/>
<id>e88d40eecee133ae9e05f3e60d228c33dfb7284b</id>
<content type='text'>
+ Added android.permission.FOREGROUND_SERVICE permission to fix the following exception.

  06-20 22:07:00.155  4690  4690 E AndroidRuntime: java.lang.RuntimeException: Unable to start service com.android.deskclock.alarms.AlarmService@bd4eda3 with Intent { act=change_state cat=[ALARM_MANAGER] dat=content://com.android.deskclock/instances/1 flg=0x10000004 cmp=com.android.deskclock/.alarms.AlarmService (has extras) }: java.lang.SecurityException: Permission Denial: startForeground from pid=4690, uid=10061 requires android.permission.FOREGROUND_SERVICE

Bug: 135587258
Bug: 168883433
Bug: 140846467

Test: manual - Ran the following tests on Pixel phone. Tested the clock for Alarm.

$ make -j 40
 -rw-r--r-- 1 rtenneti primarygroup 4842448 Jun 20 15:17 ./target/product/marlin/system/product/app/DeskClock/DeskClock.apk

$ adb install -d -r out/target/product/marlin/system/product/app/DeskClock/DeskClock.apk
  Performing Streamed Install
  Success

$ adb logcat -c
$ adb logcat &gt;&gt; ~/temp/logcat/0620/logcat.out.0620.1603

+ Set up the alarm and wait for the alarm to go off. The following is from the logcat output. "Clock has stopped" wasn't displayed. Noted there were no exceptions in the logs.

06-19 11:37:03.706   929   929 D ConditionProviders.SCP: evaluateSubscriptionLocked cal=ScheduleCalendar[mDays={1, 2, 3, 4, 5, 6, 7}, mSchedule=ScheduleInfo{days=[1, 2, 3, 4, 5, 6, 7], startHour=22, startMinute=0, endHour=7, endMinute=0, exitAtAlarm=true, nextAlarm=Thu Jan 01 00:00:00 GMT 1970 (0)}], now=Wed Jun 19 11:37:03 GMT 2019 (1560944223706), nextUserAlarmTime=Thu Jun 20 11:37:00 GMT 2019 (1561030620000)
06-19 11:37:03.706   929   929 D ConditionProviders.SCP: notifyCondition condition://android/schedule?days=1.2.3.4.5.6.7&amp;start=22.0&amp;end=7.0&amp;exitAtAlarm=true STATE_FALSE reason=!meetsSchedule
06-19 11:37:03.708   929   929 D ConditionProviders.SCP: Scheduling evaluate for Wed Jun 19 22:00:00 GMT 2019 (1560981600000), in +10h22m56s294ms, now=Wed Jun 19 11:37:03 GMT 2019 (1560944223706)
06-19 11:37:03.711  2915  2915 D KeyguardClockSwitch: Updating clock: 1137
06-19 11:37:03.719  4385  4385 I AlarmClock: Setting upcoming AlarmClockInfo for alarm: 4
06-19 11:37:03.721  4385  4385 D Events  : [Alarm] [Dismiss] [DeskClock]
06-19 11:37:03.722   929   929 D ConditionProviders.SCP: onReceive android.app.action.NEXT_ALARM_CLOCK_CHANGED
06-19 11:37:03.723   929   929 D ConditionProviders.SCP: evaluateSubscriptionLocked cal=ScheduleCalendar[mDays={1, 2, 3, 4, 5, 6, 7}, mSchedule=ScheduleInfo{days=[1, 2, 3, 4, 5, 6, 7], startHour=22, startMinute=0, endHour=7, endMinute=0, exitAtAlarm=true, nextAlarm=Thu Jun 20 11:37:00 GMT 2019 (1561030620000)}], now=Wed Jun 19 11:37:03 GMT 2019 (1560944223722), nextUserAlarmTime=Thu Jun 20 11:37:00 GMT 2019 (1561030620000)
06-19 11:37:03.723   929   929 D ConditionProviders.SCP: notifyCondition condition://android/schedule?days=1.2.3.4.5.6.7&amp;start=22.0&amp;end=7.0&amp;exitAtAlarm=true STATE_FALSE reason=!meetsSchedule
06-19 11:37:03.723   929   929 D ConditionProviders.SCP: Scheduling evaluate for Wed Jun 19 22:00:00 GMT 2019 (1560981600000), in +10h22m56s278ms, now=Wed Jun 19 11:37:03 GMT 2019 (1560944223722)
06-19 11:37:03.729   929   988 I DropBoxManagerService: add tag=system_app_strictmode isTagEnabled=true flags=0x2
06-19 11:37:03.747  2915  2915 D KeyguardClockSwitch: Updating clock: 1137
06-19 11:37:03.765  4385  4385 V AlarmClock: AlarmService.onStartCommand() with Intent { act=STOP_ALARM dat=content://com.android.deskclock/instances/3 cmp=com.android.deskclock/.alarms.AlarmService }
06-19 11:37:03.765  4385  4385 V AlarmClock: AlarmService.stop with instance: 3
06-19 11:37:03.765  4385  4385 V AlarmClock: AlarmKlaxon.stop()
06-19 11:37:03.765  4385  4385 D AsyncRingtonePlayer: Posting stop.
06-19 11:37:03.765  4385  5050 I AsyncRingtonePlayer: Stop ringtone via android.media.Ringtone.
06-19 11:37:03.767  4385  5050 D AsyncRingtonePlayer: Ringtone.stop() invoked.
06-19 11:37:03.767   806  3934 D NuPlayerDriver: reset(0xed43b600) at state 5

Change-Id: I75a96e1ed4acebd118c212b51b7d0e57482a66bb
Merged-In: I75a96e1ed4acebd118c212b51b7d0e57482a66bb
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
+ Added android.permission.FOREGROUND_SERVICE permission to fix the following exception.

  06-20 22:07:00.155  4690  4690 E AndroidRuntime: java.lang.RuntimeException: Unable to start service com.android.deskclock.alarms.AlarmService@bd4eda3 with Intent { act=change_state cat=[ALARM_MANAGER] dat=content://com.android.deskclock/instances/1 flg=0x10000004 cmp=com.android.deskclock/.alarms.AlarmService (has extras) }: java.lang.SecurityException: Permission Denial: startForeground from pid=4690, uid=10061 requires android.permission.FOREGROUND_SERVICE

Bug: 135587258
Bug: 168883433
Bug: 140846467

Test: manual - Ran the following tests on Pixel phone. Tested the clock for Alarm.

$ make -j 40
 -rw-r--r-- 1 rtenneti primarygroup 4842448 Jun 20 15:17 ./target/product/marlin/system/product/app/DeskClock/DeskClock.apk

$ adb install -d -r out/target/product/marlin/system/product/app/DeskClock/DeskClock.apk
  Performing Streamed Install
  Success

$ adb logcat -c
$ adb logcat &gt;&gt; ~/temp/logcat/0620/logcat.out.0620.1603

+ Set up the alarm and wait for the alarm to go off. The following is from the logcat output. "Clock has stopped" wasn't displayed. Noted there were no exceptions in the logs.

06-19 11:37:03.706   929   929 D ConditionProviders.SCP: evaluateSubscriptionLocked cal=ScheduleCalendar[mDays={1, 2, 3, 4, 5, 6, 7}, mSchedule=ScheduleInfo{days=[1, 2, 3, 4, 5, 6, 7], startHour=22, startMinute=0, endHour=7, endMinute=0, exitAtAlarm=true, nextAlarm=Thu Jan 01 00:00:00 GMT 1970 (0)}], now=Wed Jun 19 11:37:03 GMT 2019 (1560944223706), nextUserAlarmTime=Thu Jun 20 11:37:00 GMT 2019 (1561030620000)
06-19 11:37:03.706   929   929 D ConditionProviders.SCP: notifyCondition condition://android/schedule?days=1.2.3.4.5.6.7&amp;start=22.0&amp;end=7.0&amp;exitAtAlarm=true STATE_FALSE reason=!meetsSchedule
06-19 11:37:03.708   929   929 D ConditionProviders.SCP: Scheduling evaluate for Wed Jun 19 22:00:00 GMT 2019 (1560981600000), in +10h22m56s294ms, now=Wed Jun 19 11:37:03 GMT 2019 (1560944223706)
06-19 11:37:03.711  2915  2915 D KeyguardClockSwitch: Updating clock: 1137
06-19 11:37:03.719  4385  4385 I AlarmClock: Setting upcoming AlarmClockInfo for alarm: 4
06-19 11:37:03.721  4385  4385 D Events  : [Alarm] [Dismiss] [DeskClock]
06-19 11:37:03.722   929   929 D ConditionProviders.SCP: onReceive android.app.action.NEXT_ALARM_CLOCK_CHANGED
06-19 11:37:03.723   929   929 D ConditionProviders.SCP: evaluateSubscriptionLocked cal=ScheduleCalendar[mDays={1, 2, 3, 4, 5, 6, 7}, mSchedule=ScheduleInfo{days=[1, 2, 3, 4, 5, 6, 7], startHour=22, startMinute=0, endHour=7, endMinute=0, exitAtAlarm=true, nextAlarm=Thu Jun 20 11:37:00 GMT 2019 (1561030620000)}], now=Wed Jun 19 11:37:03 GMT 2019 (1560944223722), nextUserAlarmTime=Thu Jun 20 11:37:00 GMT 2019 (1561030620000)
06-19 11:37:03.723   929   929 D ConditionProviders.SCP: notifyCondition condition://android/schedule?days=1.2.3.4.5.6.7&amp;start=22.0&amp;end=7.0&amp;exitAtAlarm=true STATE_FALSE reason=!meetsSchedule
06-19 11:37:03.723   929   929 D ConditionProviders.SCP: Scheduling evaluate for Wed Jun 19 22:00:00 GMT 2019 (1560981600000), in +10h22m56s278ms, now=Wed Jun 19 11:37:03 GMT 2019 (1560944223722)
06-19 11:37:03.729   929   988 I DropBoxManagerService: add tag=system_app_strictmode isTagEnabled=true flags=0x2
06-19 11:37:03.747  2915  2915 D KeyguardClockSwitch: Updating clock: 1137
06-19 11:37:03.765  4385  4385 V AlarmClock: AlarmService.onStartCommand() with Intent { act=STOP_ALARM dat=content://com.android.deskclock/instances/3 cmp=com.android.deskclock/.alarms.AlarmService }
06-19 11:37:03.765  4385  4385 V AlarmClock: AlarmService.stop with instance: 3
06-19 11:37:03.765  4385  4385 V AlarmClock: AlarmKlaxon.stop()
06-19 11:37:03.765  4385  4385 D AsyncRingtonePlayer: Posting stop.
06-19 11:37:03.765  4385  5050 I AsyncRingtonePlayer: Stop ringtone via android.media.Ringtone.
06-19 11:37:03.767  4385  5050 D AsyncRingtonePlayer: Ringtone.stop() invoked.
06-19 11:37:03.767   806  3934 D NuPlayerDriver: reset(0xed43b600) at state 5

Change-Id: I75a96e1ed4acebd118c212b51b7d0e57482a66bb
Merged-In: I75a96e1ed4acebd118c212b51b7d0e57482a66bb
</pre>
</div>
</content>
</entry>
<entry>
<title>DeskClock: Fix alarm clock screen show black  when screen locked; am: 504dfe5e4b am: 5e8ac047f6 am: de55e49230</title>
<updated>2020-08-19T23:04:54+00:00</updated>
<author>
<name>Raman Tenneti</name>
<email>rtenneti@google.com</email>
</author>
<published>2020-08-19T23:04:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_DeskClock/commit/?id=22f102e87580556e2f88f0df3385e1c36bf6f8b0'/>
<id>22f102e87580556e2f88f0df3385e1c36bf6f8b0</id>
<content type='text'>
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/DeskClock/+/12409395

Change-Id: I77897a6240f603590f2ec952b6e9550623510607
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/DeskClock/+/12409395

Change-Id: I77897a6240f603590f2ec952b6e9550623510607
</pre>
</div>
</content>
</entry>
</feed>
