Age | Commit message (Collapse) | Author |
|
* We never build on these, so the code and annotations are useless
Change-Id: I791370b531ecadcbddb63ca04d5c4c51aafe1bc1
|
|
* Since Android 12 introduced a new style, try to mimic it for this app
* Due to AndroidX and the support libraries still being old, we have to,
like Settings does with SettingsLib, create our own styles in the
desired looks
* Also adjust the color scheme to reflect Material You
* We deviated from AOSP already quite a bit, so we don't need to really
care about the change's footprint
* Clean up behind us by removing (now unused) resources and includes in
files that were modified anyways (and adjust order while on it)
* Copy CollapsibleToolbarBaseActivity and required resources from
SettingsLib - that way we can mimic the style easily without having
to move this app to system_ext or using privileged_api
* Since we always use dark layout, modify slightly so it works for us
* Remove things we don't need so we don't have to copy too many files
from SettingsLib
Change-Id: I4c81e03c71f468a9e468426a8233ad96059cb05d
|
|
* Not used anywhere besides one leftover import
Change-Id: Idff1d89226e858124b916413e6d3828e56f258f7
|
|
* When adding a new timer, the left FAB will change to a "delete" icon
* Switching to another tab and returning will not display it anymore,
resulting in the requirement to actually start a new timer to be able
to access already running ones
* Test:
- Default FAB visibility is GONE until a valid value is inserted
- Changing from and to tab will display it again if value was already
inserted
- Start timer
- Click "Add" (right button)
- Delete button will appear
- Delete button will be visible after swicthing tab and returning
Change-Id: I311faa96ea9e0320c630fa858227f2ad4625eb4e
|
|
* As per recommendations
Change-Id: I467c5eec9e7de1cb8084a173e942832c6ac44e27
|
|
[BadDaemon] This is needed so we get the early
dismiss button again
Co-authored-by: Michael W <baddaemon87@gmail.com>
Change-Id: Ib7aff8f74a4a854f3dc76c4db9737e6d81e626c7
|
|
The nightmode option checkbox for clock screensaver is updated to the actual value of the setting
Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/3816
Change-Id: I1139c333f2abb991c1ee3b07dd6644b4241a6f4a
|
|
Minimum volume for a STREAM_ALARM is 1 (or 4, if caller is unprivile-
ged). Substract the minimum volume from Seekbar's value in order to set
proper volume. Also add permission MODIFY_AUDIO_SETTINGS to be able to
set the volume to 1.
Test: Open DeskClock settings, set alarm volume to 1.
Reopen app, verify volume is still at 1 (minimum).
Verify alarm volume is at 1 in settings (minimum).
Signed-off-by: Timi Rautamäki <timi.rautamaki@gmail.com>
Change-Id: Icdb5bf7ebc0daefa12edcd28d03c444709cf75c6
|
|
* This includes all the java changes that were made to DeskClock
during the conversion to kotlin.
Squash of the following:
AOSP/DeskClock - Add Kotlin code for alarmclock/ files
Test: none currently, DeskClockKotlin target builds successfully, testing is a work in progress
BUG: 157255731
Original-Change-Id: I4c245d209ac733c4fb5ec527bc9ed84444b8cbd6
AOSP/DeskClock - Add Kotlin file for DataModel
Test: manual - Ran the following on Sargo phone. Tested all app
interactions (alarms, stopwatch, timer, cities, settings).
$ source build/envsetup.sh
$ lunch aosp_sargo-userdebug
$ make DeskClockKotlin -j
$ adb install out/target/product/sargo/product/app/DeskClockKotlin/DeskClockKotlin.apk
BUG: 157255731
Original-Change-Id: I2fe53bbdddc9f473ece01bacb386e9ad08efcdc7
AOSP/DeskClock - Add Kotlin file for RingtonePickerActivity
Test: manual testing by running the following (1) on Sargo phone and testing
the UI, also unit tests ran as follows (2)
(1)
$ source build/envsetup.sh
$ lunch aosp_sargo-userdebug
$ make DeskClockKotlin -j
$ adb install out/target/product/sargo/product/app/DeskClockKotlin/DeskClockKotlin.apk
(2)
$ make DeskClockTests
$ adb install
out/target/product/sargo/testcases/DeskClockTests/arm64/DeskClockTests.apk
$ adb shell am instrument -w com.android.deskclock.tests
BUG: 157255731
Original-Change-Id: I1eff3fe6e19a19aa35c6fbda541bce72b369b6ae
AOSP/DeskClock - Add Kotlin files for TimerService, SetupView, Receiver
Additionally, a small bug was fixed in the TimerModel and DataModel
Kotlin code (found by new unit tests).
Test: manual, ensuring the DeskClock UI is correct, also unit tests were
run as follows
$ source build/envsetup.sh
$ lunch aosp_sargo-userdebug
$ make DeskClockKotlin -j
$ adb install out/target/product/sargo/product/app/DeskClockKotlin/DeskClockKotlin.apk
$ make DeskClockTests
$ adb install out/target/product/sargo/testcases/DeskClockTests/arm64/DeskClockTests.apk
$ adb shell am instrument -w com.android.deskclock.tests
BUG: 157255731
Original-Change-Id: I82a4836ab55281a73168d35ea4f50d39279ce5da
AOSP/DeskClock - Add Kotlin files for Timer classes
Test: manual, ensuring the DeskClock UI and Timers function correctly,
as well as unit tests, ran as follows
$ source build/envsetup.sh
$ lunch aosp_sargo-userdebug
$ make DeskClockKotlin -j
$ adb install out/target/product/sargo/product/app/DeskClockKotlin/DeskClockKotlin.apk
$ make DeskClockTests
$ adb install out/target/product/sargo/testcases/DeskClockTests/arm64/DeskClockTests.apk
$ adb shell am instrument -w com.android.deskclock.tests
BUG: 157255731
Original-Change-Id: Idb33290c6bf11ee6147f547c85b5f6e3859c17b7
AOSP/DeskClock - Add Kotlin file for ExpiredTimersActivity
Test: manual, tested the DeskClock UI including running timers to
expiration. Also ran the unit tests as follows
$ source build/envsetup.sh
$ lunch aosp_sargo-userdebug
$ make DeskClockKotlin
$ adb install out/target/product/sargo/product/app/DeskClockKotlin/DeskClockKotlin.apk
$ make DeskClockTests
$ adb install out/target/product/sargo/testcases/DeskClockTests/arm64/DeskClockTests.apk
$ adb shell am instrument -w com.android.deskclock.tests
BUG: 157255731
Original-Change-Id: I93ec96bae36dc353c0c252c0ef6769965a7172e7
AOSP/DeskClock - Add Kotlin file for TimerFragment
Test: manual, tested the DeskClock UI and Timers specifically. As well,
unit tests were ran as follows
$ source build/envsetup.sh
$ lunch aosp_sargo-userdebug
$ make DeskClockKotlin
$ adb install out/target/product/sargo/product/app/DeskClockKotlin/DeskClockKotlin.apk
$ make DeskClockTests
$ adb install out/target/product/sargo/testcases/DeskClockTests/arm64/DeskClockTests.apk
$ adb shell am instrument -w com.android.deskclock.tests
BUG: 157255731
Original-Change-Id: Ib3769584161d6e712a8eafde977f58b3c55f69e3
AOSP/DeskClock - Add Kotlin for FormattedStringModel, PeriodicCallbackModel
Test: manual - Tested the DeskClock UI. As well, unit tests were ran as
follows
$ source build/envsetup.sh
$ lunch aosp_sargo-userdebug
$ make DeskClockKotlin
$ adb install out/target/product/sargo/product/app/DeskClockKotlin/DeskClockKotlin.apk
$ make DeskClockTests
$ adb install out/target/product/sargo/testcases/DeskClockTests/arm64/DeskClockTests.apk
$ adb shell am instrument -w com.android.deskclock.tests
BUG: 157255731
Original-Change-Id: I7cc4fb5aa20cd32be51e65de1b2b6a12a7cfa795
AOSP/DeskClock - Add Kotlin for Tab related UI Data files
Test: manual - Tested the DeskClock UI and tab interactions. As well,
unit tests were run as follows
$ source build/envsetup.sh
$ lunch aosp_sargo-userdebug
$ make DeskClockKotlin
$ adb install out/target/product/sargo/product/app/DeskClockKotlin/DeskClockKotlin.apk
$ make DeskClockTests
$ adb install out/target/product/sargo/testcases/DeskClockTests/arm64/DeskClockTests.apk
$ adb shell am instrument -w com.android.deskclock.tests`
BUG: 157255731
Original-Change-Id: Ibd7871edf20e548a1cd548246f0a6be88f5cfb88
AOSP/DeskClock - Add Kotlin file for CitySelectionActivity
Test: manual - tested DeskClock UI. As well, tests were run as follows
$ source build/envsetup.sh
$ lunch aosp_sargo-userdebug
$ make DeskClockKotlin
$ adb install out/target/product/sargo/product/app/DeskClockKotlin/DeskClockKotlin.apk
$ atest DeskClockTests
BUG: 157255731
Original-Change-Id: I3bd0952f753130e655d1b9f3c911863f34e6e41a
AOSP/DeskClock - Add Kotlin files for BaseActivity, CircleButtonsLayout
Test: manual - Tested the DeskClock UI. As well, tests were run as
follows
$ source build/envsetup.sh
$ lunch aosp_sargo-userdebug
$ make DeskClockKotlin
$ adb install out/target/product/sargo/product/app/DeskClockKotlin/DeskClockKotlin.apk
$ atest DeskClockTests
BUG: 157255731
Original-Change-Id: I019825f173305756633389a26a0bb0e973f2172c
AOSP/DeskClock - Add Kotlin file for DeskClock class
The onNewIntent call in TimerFragmentTest was changed to setIntent since the
visibility of the protected onNewIntent method in Kotlin was more
restrictive than before.
Test: manual - Tested the DeskClock UI. As well tests were ran as
follows
$ source build/envsetup.sh
$ lunch aosp_sargo-userdebug
$ make DeskClockKotlin
$ adb install out/target/product/sargo/product/app/DeskClockKotlin/DeskClockKotlin.apk
$ atest DeskClockTests
BUG: 157255731
Original-Change-Id: I9711dd8068a29fc0a25ee1f364ecb1b6ef326d6a
Change-Id: I3d63f95cffc257734f803683d477bf3ecf88f208
|
|
* Right now, the dismiss animation starts and ends with the accent
color, which is a very light yellow
* Especially when you use "snooze" as in "I want to continue sleeping a
little more", the whole screen turning bright isn't helping
* Mimic the behavior of the dismiss button, which starts and ends with
a shade of gray
Change-Id: I7d0e387a247015d6e0eb5cfab7b393d9b48996e3
|
|
Update AlarmActivity.java to pass DKGRAY to animator.
Better for dismiss alarms in darkness
Change-Id: Ie7f87595c55357d0a35372aaa96f61d9ed8c4898
|
|
This just takes care of making the database is up to date with cm-14.1
* Increasing alarm and switch to profile still need to be implemented.
Includes the following changes:
Author: Michael W <baddaemon87@gmail.com>
Date: Thu Jul 9 23:55:59 2020 +0200
DeskClock: Remove references to org.lineageos.platform.internal
* Was used for a feature that isn't used anymore
* We need to create new tables because dropping columns isn't supported
-> create temp tables, copy over values, remove old tables, rename temp
tables
* Also fixes alarm inserts, which partially failed due to increasing
volume and profile being indexed wrong:
"CursorWindow: Failed to read row 0, column 11 from a CursorWindow which
has 1 rows, 11 columns."
* Above fix is required for "new Alarms(cursor)" to not fail so we can
actually get a valid Alarms object to insert into our (temp) database
Change-Id: I80e495792dcb65955de09268c7df9c6846cee559
Author: Michael Bestas <mkbestas@lineageos.org>
Date: Sat Jul 11 22:51:10 2020 +0300
DeskClock: Stop depending on platform APIs
* We can build with sdk_version = current after latest changes
Change-Id: Ie424ffd156e9595082dc8ad935fb1c9e8e22bd87
Change-Id: Ibbb2b618ddeb6f93cd95a0fba3923bfd6d3fbbbb
|
|
* The alarm volume setting doesn't look as it should
* Copied "preference_volume_slider" from Settings (used in Settings->
Sound) and stripped by stuff we don't need (suppression_text,
widget_frame)
* Looks like without providing an initial icon, the layout would not
inflate the space for it properly, so provide the default one
Test: manual - Tested the DeskClock UI manually and checked that
alarm volume preference is aligned to the rest of the preferences
Change-Id: Ib1e36c36c8fb5c91992dc8163fe84564b647bdbd
|
|
* Otherwise onStart() in StopwatchFragment will be called
when app still believes it's running in the background and
thus will remove FLAG_KEEP_SCREEN_ON window flag.
Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/2258
Change-Id: I196051d0d03f479c7ee3d0f7735cf8e64b70d70d
|
|
* The getTimer() method returns null when we call getFabTargetVisibility()
before the onCreateView method gets called, resulting in the FAB not
being shown
* A video how to reproduce the issue can be found on the bug report linked
below
* Fix: Always return the first timer (if one exists) so we can properly
decide if the FAB needs to be shown
Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/2250
Change-Id: Id16686c729ee41d14c890827dc441e81511c8405
|
|
Change-Id: Iaadfb417f0ca8638936875113ec2f39853f2a39c
|
|
* Wrap the desk_clock layout into a LinearLayout so the Snackbar
appears above the BottomNavigationView
* Change the icon tint and text color to reflect the changes for the dark
layout
* Use a BottomNavigationView instead of a TabLayout
* Reorder imports - looks like someone didn't care before
Co-authored-by: Arian <arian.kulmer@web.de>
Co-authored-by: Jesse Chan <jc@lineageos.org>
Signed-off-by: Jesse Chan <jc@lineageos.org>
Change-Id: I780713dcbeb58256b2660a9631d48e5f7259fb11
|
|
Change-Id: Ia2c7e28e161f1a0f01de13deff4d02a78c34f8d5
|
|
... we have cookies
* Move minSdkVersion to 24 so the notification actions don't use the
icons anymore and we can just tint the icons black to fit onto the new
accent color used e.g. for the FABs
* Move accent color to an own color name which is defined differently
for values and values-night
* Background: Keep blue for light theme but use grey for night one
Change-Id: Ib14044fc9c6de15453891638581a7e3f4d10c6c5
|
|
* Copied from:
frameworks/base/packages/overlays/IconPackCircularSettingsOverlay/res/drawable/ic_delete.xml
frameworks/base/packages/SystemUI/res-keyguard/drawable/ic_backspace_black_24dp.xml
https://materialdesignicons.com
https://material.io
Change-Id: I84de4bfb9e38a88de182586e849c4e47d8d59b69
|
|
Use POWER_OFF_ALARM permission to send set and cancel power off alarm
actions.
CRs-fixed: 2282053
Change-Id: I1a7984cb90db289d1bd7377963dbd28aa866eb10
|
|
1. Add set and cancel power off alarm actions
Power off alarm feature is based on DeskClock app. Add set and cancel
power off alarm actions for the feature.
2. update alarm if it is handled in min framework
Update the alarm instance status when the power off alarm is handled
in min framework mode.
CRs-Fixed: 2200664
Change-Id: I9442b05b8c4d6213676943163e3c0b995047d903
|
|
Allow the alarm to be dismissed/snoozed by flipping or shaking
Picked from:
http://review.cyanogenmod.org/#/c/29894
http://review.cyanogenmod.org/#/c/80342
http://review.cyanogenmod.org/#/c/81204
http://review.cyanogenmod.org/#/c/94950
Authors/Contributors:
Artem Chep <artemchep@gmail.com>
Danny Baumann <dannybaumann@web.de>
Ronald Ramsay II <ronaldramsayii@gmail.com>
Danesh M <daneshm90@gmail.com>
Michael Bestas <mikeioannina@gmail.com>
Martin Brabham <mbrabham@cyngn.com>
Keith Mok <kmok@cyngn.com> - Use accelerometer instead of orientation sensor
Dan Pasanen <dan.pasanen@gmail.com> - Android 8.1 port
Change-Id: I222b6cd53a95db6f8662e7aef52aa6922d8a5d6a
|
|
Test: manual, tested the DeskClock UI. As well tests were ran as follows
$ source build/envsetup.sh
$ lunch aosp_sargo-userdebug
$ make DeskClock
$ adb install out/target/product/sargo/product/app/DeskClock/DeskClock.apk
$ atest DeskClockTests
$ make DeskClockJava
$ adb install out/target/product/sargo/product/app/DeskClockJava/DeskClockJava.apk
$ atest DeskClockTests
BUG: 157255731
Change-Id: I4fafbc1021102dc7da7ad592a8840a9220d320cd
|
|
Test: manual, tested the DeskClock UI. As well tests were ran as follows
$ source build/envsetup.sh
$ lunch aosp_sargo-userdebug
$ make DeskClock
$ adb install out/target/product/sargo/product/app/DeskClock/DeskClock.apk
$ atest DeskClockTests
$ make DeskClockJava
$ adb install out/target/product/sargo/product/app/DeskClockJava/DeskClockJava.apk
$ atest DeskClockTests
BUG: 157255731
Change-Id: Iecbbe5b390e8121bd6131431b2fd2f2c56467428
|
|
Test: manual, tested the DeskClock UI. As well tests were ran as follows
$ source build/envsetup.sh
$ lunch aosp_sargo-userdebug
$ make DeskClock
$ adb install out/target/product/sargo/product/app/DeskClock/DeskClock.apk
$ atest DeskClockTests
$ make DeskClockJava
$ adb install out/target/product/sargo/product/app/DeskClockJava/DeskClockJava.apk
$ atest DeskClockTests
BUG: 157255731
Change-Id: I85888a5c511a277cfb17f8a3e431ec5b11ea6bd8
|
|
Kotlin AndroidX upgrades, as well as Java AndroidX upgrades to ensure
both DeskClock and DeskClockJava targets pass the tests.
Test: manual, tested the DeskClock UI. As well tests were ran as follows
$ source build/envsetup.sh
$ lunch aosp_sargo-userdebug
$ make DeskClock
$ adb install out/target/product/sargo/product/app/DeskClock/DeskClock.apk
$ atest DeskClockTests
$ make DeskClockJava
$ adb install out/target/product/sargo/product/app/DeskClockJava/DeskClockJava.apk
$ atest DeskClockTests
BUG: 157255731
Change-Id: I4e038932e913a125265bcf5c0091f69e34ec16ce
|
|
* Alarm notifications etc. are important and should be on high
importance level.
* On contrast, upcoming alarms etc. should not have sounds or vibrations
attached to them.
* In addition, we need to fix strings for notification channel.
* In order to achieve this, we need to create some new channels because
you can't change the priority for existing channels
* Delete old channels on boot and update the names of existing channels if
they already exist (they get created with the first notification
requiring them)
* Move creation of upcoming alarm notifications into one place
Test: manual - Tested the DeskClock UI manually and tested that every possible
notification behaves as expected.
Co-authored-by: Wang Han <416810799@qq.com>
Change-Id: I6d2e9abd6a822a62b3313c62b0617d8d9211948e
|
|
notification.
Root cause: Because alarm notification is IMPORT_DEFAULT in AOSP R,
there is no alarm alert pop up when alarm on time.
Solution: Improve the priority to IMPORT_HIGH.
Merging b/153362039#comment6 and I have added HIGH at one of the missed locations.
Changed IMPORTANCE_DEFAULT to IMPORTANCE_HIGH in showHighPriorityNotification,
updateUpcomingAlarmGroupNotification and updateMissedAlarmGroupNotification methods.
BUG: 153362039
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 6117353 Jul 13 11:35 out/target/product/bonito/product/app/DeskClock/DeskClock.apk
$ adb install -r out/target/product/bonito/product/app/DeskClock/DeskClock.apk
+ Verified by setting up the alaram and waiting for the alarm to go off.
Change-Id: I7d97fe6a39b016a9b9850849b38e1a1b98410807
|
|
not destroyed. Fixes the crash bug. Code matches internal code.
BUG: 153590150
Test: manual - Tested the DeskClock UI manually and tested the timer.
$ make -j 40
... 6117353 Jul 7 15:27 out/target/product/bonito/product/app/DeskClock/DeskClock.apk
$ adb install -r -d -t out/target/product/bonito/product/app/DeskClock/DeskClock.apk
Change-Id: I582013ebffef2c8d1ec16255ea531d874d14a968
|
|
Due to androids limited dnd implementation all notifications with
category_alarm will make sound even in dnd mode. Not all DeskClock's
notifications are actually alarms. Change appropriate notifications
to category_event, so that notifications sounds an be muted when
Do not disturb is turned on.
Change-Id: I5a5eb26fac85357e108e3008f7b57f053f81b599
|
|
Test: Mechanical refactoring. Builds.
Bug: 151112929
Change-Id: I68a304c7f10164dd482f9313a85e247448fcd52f
|
|
+ Fixed all the comments from jplemieux@ in CL: https://android-review.googlesource.com/c/platform/packages/apps/DeskClock/+/1161143
+ Incorporated changes from Luca Stefani (https://android-review.googlesource.com/c/platform/packages/apps/DeskClock/+/1162919)
BUG: 133177396
BUG: 143990962
Test: manual - Tested the DeskClock UI manually and tested the alarm, stopwatch and timer.
$ make -j 40
$ ls -l out/target/product/generic/system/product/app/DeskClock/DeskClock.apk
-rw-r--r-- 1 rtenneti .... 6436375 Nov 11 16:09 out/target/product/generic/system/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.
"Clock has stopped" wasn't displayed. Noted there were no exceptions in the logs. (b/135587258)
++ The following are the results from logcat with manual alaram testing
On x20web site in my home directory - ~rtenneti/android/
logcat.out.1111.1610
logcat.out.1112.1603
++ Verified there were no java exceptions.
$ grep -n -i 'exception' ~rtenneti/android/logcat.out.1111.1610 | wc -l
0
++ Verified Alarm was firing (results are in x20web site)
$ grep -n -i 'alarm' ~rtenneti/android/logcat.out.1111.1610
(for an alarm that was set to 19:12:00 at 19:11:19. Results from Alarm firing).
6880:11-11 19:11:19.403 8813 8863 I AlarmClock: Registering instance: 1
6881:11-11 19:11:19.405 8813 8863 I AlarmClock: Setting high notification state to instance 1
6882:11-11 19:11:19.406 8813 8863 V AlarmClock: *** notifyChange() id: 1 url content://com.android.deskclock/instances/1
6883:11-11 19:11:19.408 8813 8863 V AlarmClock: Displaying high priority notification for alarm instance: 1
6884:11-11 19:11:19.414 8813 8863 I AlarmClock: Scheduling state change 5 to instance 1 at Mon 7:12 PM (1573517520000)
6885:11-11 19:11:19.419 8813 8863 I AlarmClock: Setting upcoming AlarmClockInfo for alarm: 1
6887:11-11 19:11:19.423 1329 1329 V SettingsProvider: Notifying for 0: content://settings/system/next_alarm_formatted
....
7143:11-11 19:12:00.031 1329 1329 V SettingsProvider: Notifying for 0: content://settings/system/next_alarm_formatted
7144:11-11 19:12:00.032 1329 1329 D ConditionProviders.SCP: onReceive android.app.action.NEXT_ALARM_CLOCK_CHANGED
....
7152:11-11 19:12:00.055 8813 8813 I AlarmClock: Setting fire state to instance 1
7153:11-11 19:12:00.105 8813 8813 V AlarmClock: *** notifyChange() id: 1 url content://com.android.deskclock/instances/1
7154:11-11 19:12:00.112 8813 8813 D Events : [Alarm] [Fire]
7155:11-11 19:12:00.113 8813 8813 I AlarmClock: Scheduling state change 6 to instance 1 at Mon 7:22 PM (1573518120000)
7156:11-11 19:12:00.118 8813 8813 I AlarmClock: Canceling upcoming AlarmClockInfo
7157:11-11 19:12:00.123 8813 8813 V AlarmClock: AlarmService.start with instance: 1
7158:11-11 19:12:00.124 8813 8813 V AlarmClock: Displaying alarm notification for alarm instance: 1
7159:11-11 19:12:00.130 8813 8813 V AlarmClock: Clearing notifications for alarm instance: 1
7161:11-11 19:12:00.145 8813 8813 V AlarmClock: AlarmKlaxon.start()
...
Change-Id: I005530d5d82568e028acb4cbad1f3212fc9c61a2
|
|
Reason for revert: https://b.corp.google.com/issues/144125913 - DeskClock exits when alarm goes off.
Change-Id: I55b1a95632c52235429365ca64c36840b23bb005
|
|
BUG: 133177396
BUG: 143990962
Test: manual - Tested the DeskClock UI manually and tested the alarm, stopwatch and timer.
$ make -j 40
$ ls -l out/target/product/generic/system/product/app/DeskClock/DeskClock.apk
-rw-r--r-- 1 rtenneti primarygroup 6432279 Nov 6 19:07 out/target/product/generic/system/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. "Clock has stopped" wasn't displayed. Noted there were no exceptions in the logs. (b/135587258)
Change-Id: Ic946cb58ddc8430c034b73854080c586a1939d4a
|
|
androidx.design_design was a target created temporarily while
the com.google.android.material_material was being added.
This migrated to the final material design class packages.
Exempt-From-Owner-Approval: Large scale refactor
Test: make -j DeskClock
Change-Id: Ic8c30be209332d8692e06d9f6a7581259a4be251
|
|
Test: compile and open
Bug: 76692459
Change-Id: Ibf8e95a917fbe3e364340ed1c5fba6e66f2d8afd
|
|
Bug; 70336445
Test: make -j100 && cts-tradefed run cts-dev -m CtsAlarmClockTestCases
&& adb shell am start -a android.intent.action.DISMISS_TIMER
Change-Id: I3e0bf02bd2280cc4a00bd8a1377db558c4e7477e
|
|
Bug: 38475809
Test: adb shell am start -a android.intent.action.DISMISS_TIMER
Change-Id: Ifa0b3caa9b021334d573f8d312acbb4236273e4e
|
|
v7 NotificationCompat's DecoratedCustomViewStyle
has been deprecated and folded into the v4
NotificationCompat. By updating the imports, we
avoid using the deprecated versions and fully
switch to the new versions.
Test: mmma packages/apps/DeskClock
BUG: 28983951
Change-Id: I9028f3f048fc3857a24fa83f5ed075107d85e7cf
|
|
- Set Theme.DeskClock for Screensaver so that app-level theme attributes
such as ?colorAccent can be resolved succcessfully.
- Also did some minor cleanup of Screensaver and ScreensaverActivity.
Bug: 35330855
Test: manually verified that crash does not occur when using Screensaver
or ScreensaverActivity on API 19 and 25 devices.
Change-Id: I107fdd51af5a97f41464942dc3e2f7730f11b5c2
|
|
Bug: 35155691
Test: Flash device, complete setup wizard, open clock, no Home city visible
Merged-In: I741db13cb2a0f7062dc63a9b65fe3a7ab34a3089
Change-Id: I8ad3bf8ec2520c4c008a2ef76acbe8ce481a6e8c
|
|
Change-Id: I7d9442eb36b0dcdbf18c3857bfdd93afefbc1536
|
|
ub-deskclock-huddle
|
|
Bug: 34863910
Test: Manually create a new timer and observe the fab
Change-Id: Ib0a1e3ffa84f459c590a3ef82a18b848404741f5
|
|
Bug: 34856983
Test: Manually test adjusting all combinations of clock style and seconds
This has two benefits:
1) the unseen clock no longer schedules one second callbacks to update a
GONE component
2) It avoids the reported exception caused by Activity.recreate()
Change-Id: I0a1a3e30a5e4ae6c751a2285ca25f4470fc2bb9d
|
|
Test: N/A
Change-Id: I8c1d33cdf0470dd9c21c84395f9014abfa7e0ba6
|
|
Bug: 34846906
Test: SettingsDAOTest
This grants more time for the setup wizard to be completed and
to know that Clock is sampling the most appropriate time zone
value from the underlying VM.
Change-Id: I63757bc94e0cc984fa9bb7d9dc7f4bbd3e568379
|
|
into ub-deskclock-huddle
|
|
Bug: 34819444
Test: Manually launch the ringtone picker
Change-Id: Id91e051cd18d08dcc87eda70d0519c61e9568961
|