summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* DeskClock: introduce low priority alarm notification channelstaging/lineage-15.1Dan Pasanen2018-02-113-2/+13
| | | | | | | | | | | * Low priority alarms such as an upcoming alarm or snooze notification shouldn't make noise, vibrate or be intrusive. * In addition, set them as ongoing notifications (preventing a user from swiping them away) since they should have to intentionally cancel the alarm. Change-Id: I84ba2919dce39ecd4b002f501a397e2edf8ebd3c
* Provide upgrade path for cm-14.1 -> lineage-15.1Pavel Kirpichyov2018-02-116-11/+146
| | | | | | | | 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. Change-Id: Ibbb2b618ddeb6f93cd95a0fba3923bfd6d3fbbbb
* Deskclock: define app categoryJoey2018-02-111-0/+1
| | | | | Change-Id: I6963ed861d6b5115ea87d1c9e59186e696b5b1de Signed-off-by: Joey <joey@lineageos.org>
* DeskClock: Use accelerometer instead of orientation sensorKeith Mok2018-02-111-33/+46
| | | | | | | | | | | | Orientation sensor is deprecated, and usually it requires devices to have magnetic sensor for orientation sensor to be available. For flip action, we can just use accelerometer instead. Solve the problem that flip to action is not available for device without a magnetic sensor. FEIJ-539 Change-Id: I716bf5d43a4042bc4da5d8e68126f52974fb1e7d
* DeskClock: Add back flip and shake actionsWilhelm Fitzpatrick2018-02-118-2/+269
| | | | | | | | | | | | | | | | | | | | | | | 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> Dan Pasanen <dan.pasanen@gmail.com> - Android 8.1 port Change-Id: I222b6cd53a95db6f8662e7aef52aa6922d8a5d6a
* Make new menu entry to link to cLock widget settings.Martin Brabham2018-01-024-2/+115
| | | | | | [mikeioannina]: modified for O Change-Id: I13ca3156c34eccdd8f60d8585281ae0585aac58e
* DeskClock: start foreground service for alarmsDemon0002017-12-051-1/+1
| | | | Change-Id: I8a539acf9a4422c4bf8d53b2239dd531fd3f655a
* DeskClock: use non-Compat Notification classesDemon0002017-12-053-52/+53
| | | | Change-Id: Ide9326d028ec692ed58f95dea33ffa884f83e582
* DeskClock: move to NotificationChannelsDemon0002017-12-055-23/+94
| | | | Change-Id: I39a05acb0290578c9f794896dcbe25537a2afe51
* DeskClock : Improve the priority of power off alarm broadcastMao Jinlong2017-12-051-0/+2
| | | | | | | | | | If device power off before power off alarm action is received, power off alarm value will not be set to rtc. Then this function will not work. So set power off alarm broadcast to foreground action to make it be received in time. CRs-Fixed: 2075052 Change-Id: I6750565396fc79d98e102d2e6515963f3ef978c8
* DeskClock: FC due to proguardzekaiz2017-12-052-0/+34
| | | | | | | | | | Class PrefsFragment will be inflated via reflection but not be kept in proguard Add proguard file to keep this class Change-Id: I88fc061d1ce5d2aeefaa2adf34764a9e19868e64 CRs-Fixed: 2066006
* DeskClock : Add set and cancel power off alarm actionsMao Jinlong2017-12-051-0/+34
| | | | | | | | Power off alarm feature is based on DeskClock app. Add set and cancel power off alarm actions for this feature. CRs-Fixed: 2032439 change-Id: Ic03f87018e163adf6f6e6013963a497d340fbec7
* Snap for 4402249 from 0ad0417fac6a35b97778b49091dfb7dc91708a77 to oc-mr1-releaseandroid-build-team Robot2017-10-183-4/+4
|\ | | | | | | Change-Id: I43846083967f93ed8dcd3988c90963e48a6191b5
| * Import translations. DO NOT MERGEBill Yi2017-10-170-0/+0
| |\ | | | | | | | | | | | | | | | am: 5453fad5c7 -s ours Change-Id: I83462c68e0df3c8c7414ccf94839025aa0bdc3b6
| | * Import translations. DO NOT MERGEBill Yi2017-10-1627-36/+36
| | | | | | | | | | | | | | | | | | | | | | | | Auto-generated-cl: translation import Exempt-From-Owner-Approval: translation import Bug: 64712476 Change-Id: I752f4fefaaae44047732d0b06c354331400b643e
| * | Import translations. DO NOT MERGEBill Yi2017-10-163-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | Auto-generated-cl: translation import Exempt-From-Owner-Approval: translation import Bug: 64712476 Change-Id: I1452acb0866e804c3865b54af94f917b19fa96fe
* | | release-request-1f2fcfef-9736-44dc-8628-3ba96dac60db-for-git_oc-mr1-release- ↵android-build-team Robot2017-09-175-6/+6
|\| | | | | | | | | | | | | | | | | 4343541 snap-temp-L73700000103533431 Change-Id: I59dd89d0175caa7c0f8be1bc511eceb950e1a42a
| * | Import translations. DO NOT MERGEBill Yi2017-09-165-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | Auto-generated-cl: translation import Exempt-From-Owner-Approval: translation import Bug: 64712476 Change-Id: I8af27efe28747d57031d566d694ba8b5f9bd46bd
* | | release-request-fd631211-effa-4885-9314-559fcbd0a094-for-git_oc-mr1-release- ↵android-build-team Robot2017-08-3110-10/+10
|\| | | | | | | | | | | | | | | | | 4308825 snap-temp-L52700000098265170 Change-Id: Ibaaaa46ca1095e57f31996755f3120b9d136489b
| * | Import translations. DO NOT MERGEBill Yi2017-08-3010-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | Auto-generated-cl: translation import Exempt-From-Owner-Approval: translation import Bug: 64712476 Change-Id: I49a571d463fa56b5605c9b38375e7eeadcef9fed
* | | release-request-c924aaac-f0a2-4215-8dc4-e314f22460d9-for-git_oc-mr1-release- ↵android-build-team Robot2017-08-281-1/+1
|\| | | | | | | | | | | | | | | | | 4301796 snap-temp-L23200000097143969 Change-Id: I783e36d446ea08acc308a007e599801ca7c1b1b8
| * | Lock targetSdkVersion to 25Justin Klaassen2017-08-241-1/+1
| | | | | | | | | | | | | | | | | | Fixes: 62522184 Test: verified DeskClock now functions correctly Change-Id: Ic03a16f75505fae42e612338408276221a39d3ab
* | | release-request-a0f7506a-1cd6-4a03-927b-8d29e0c545e6-for-git_oc-mr1-release- ↵android-build-team Robot2017-08-1616-19/+798
|\| | | | | | | | | | | | | | | | | 4277764 snap-temp-L23600000093606242 Change-Id: I0c1d4cb071f9a7f4ee9d5f5ca7cd0eec7994f461
| * | Import translations. DO NOT MERGEBill Yi2017-08-1516-19/+798
| | | | | | | | | | | | | | | | | | | | | | | | Auto-generated-cl: translation import Exempt-From-Owner-Approval: translation import Bug: 64712476 Change-Id: I165a707829d947541b9b57046ab94094d46cde74
* | | release-request-d642586e-3e25-49f4-8b4c-acad0e3f63d8-for-git_oc-mr1-release- ↵android-build-team Robot2017-08-064-5/+784
|\| | | | | | | | | | | | | | | | | 4249777 snap-temp-L81500000089724408 Change-Id: Ia1e7144785e97e688469a6c550d4c3ce0f1f72c1
| * | Import translations. DO NOT MERGEBill Yi2017-08-054-5/+784
| | | | | | | | | | | | | | | | | | Change-Id: I1e7f4b05e09119537adc29816ce4d65c1a1b7eac Auto-generated-cl: translation import Exempt-From-Owner-Approval: translation import
| * | Import translations. DO NOT MERGEBill Yi2017-08-050-0/+0
| |\| | | | | | | | | | | | | | | | am: 2adfd68b36 -s ours Change-Id: Iffc58b7065ca2b118b5a8c0a6f5bad661a1de2ef
| | * Import translations. DO NOT MERGEBill Yi2017-08-0510-18/+18
| | | | | | | | | | | | | | | | | | Change-Id: Ieb640816593bd2add2e402b452d8b3f4064f5d25 Auto-generated-cl: translation import Exempt-From-Owner-Approval: translation import
* | | release-request-94878621-f29d-487c-a2aa-213f2be9d20c-for-git_oc-mr1-release- ↵android-build-team Robot2017-07-271-11/+11
|\| | | | | | | | | | | | | | | | | 4222039 snap-temp-L91400000086509174 Change-Id: I6678465d05df701530d04eed127bc6091b74ac89
| * | Import translations. DO NOT MERGE am: 99fbf770c4 -s ours am: c7dc8c2056 -s ↵Bill Yi2017-07-260-0/+0
| |\| | | | | | | | | | | | | | | | | | | | | | ours am: c41853b5b9 -s ours Change-Id: Ib91701016c7d6c6d719118884a7cd14db6af68a1
| | * Import translations. DO NOT MERGE am: 99fbf770c4 -s oursBill Yi2017-07-260-0/+0
| | |\ | | | | | | | | | | | | | | | | | | | | am: c7dc8c2056 -s ours Change-Id: Ib68ac0cbc4ffac427d08af634bb5e5af167244dd
| | | * Import translations. DO NOT MERGEBill Yi2017-07-260-0/+0
| | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | am: 99fbf770c4 -s ours Change-Id: I3602610b96a62b95723f222261c78d5ca3d3845f
| | | | * Import translations. DO NOT MERGEBill Yi2017-07-263-23/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I0bd0e700803321241d93027db7cbbb505bdf1aa3 Auto-generated-cl: translation import Exempt-From-Owner-Approval: translation import
| * | | | Merge "Import translations. DO NOT MERGE" into oc-mr1-devTreeHugger Robot2017-07-261-11/+11
| |\ \ \ \
| | * | | | Import translations. DO NOT MERGEBill Yi2017-07-261-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ideac2e9e77beb39e9fcbfb887b04aed1b902b80c Auto-generated-cl: translation import Exempt-From-Owner-Approval: translation import
| * | | | | Merge "Import translations. DO NOT MERGE" into oc-dr1-devBill Yi2017-07-260-0/+0
| |\ \ \ \ \ | | | |/ / / | | |/| | | | | | | | | | | | | | | | | | | | | am: adcf8606ef -s ours Change-Id: I26a77dedd22762856b0d801000c35cf1fc4bcd70
| | * | | | Merge "Import translations. DO NOT MERGE" into oc-dr1-devTreeHugger Robot2017-07-262-13/+13
| | |\ \ \ \
| | | * | | | Import translations. DO NOT MERGEBill Yi2017-07-262-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Id5ac9c5882929c4b420291bf0996e250d08818e3 Auto-generated-cl: translation import Exempt-From-Owner-Approval: translation import
| * | | | | | Import translations. DO NOT MERGE am: 12aa25bccf -s oursBill Yi2017-07-260-0/+0
| |\| | | | | | | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | am: 2a09b5cdb7 -s ours Change-Id: I4f5ace0c507b80182d8b8dbfe5040d63ca6e5969
| | * | | | Import translations. DO NOT MERGEBill Yi2017-07-260-0/+0
| | |\ \ \ \ | | | |/ / / | | |/| / / | | | |/ / | | | | | | | | | | am: 12aa25bccf -s ours Change-Id: Icc7239d05742796daead487f99b89844ec3c5401
| | | * | Import translations. DO NOT MERGEBill Yi2017-07-252-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Id22f5f35fff8d7af796598b164274a41e19932cd Auto-generated-cl: translation import Exempt-From-Owner-Approval: translation import
* | | | | release-request-05263112-375a-4b1f-a657-a14bb2a5c5a3-for-git_oc-mr1-release- ↵android-build-team Robot2017-07-164-5/+6
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4185249 snap-temp-L63000000082739046 Change-Id: Id20c740fefed5861fd2a569583be52bf50c95d94
| * | | | Update DeskClock to use v4 NotificationCompatIan Lake2017-07-132-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | Update DeskClock to use Compat notif text stylesIan Lake2017-07-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TextAppearance.AppCompat.Notification styles were moved to TextAppearance.Compat.Notification. Test: manual inspection BUG: 28983951 Change-Id: I26ee3ad7f59db8fcc841fe048d2bdeccb9143fbc
| * | | | Fix packages/DeskClock to rely on support libsIan Lake2017-07-111-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add explicit reference to support-compat and support-media-compat to ensure their resources are included in DeskClock. Test: mmma packages/apps/DeskClock BUG: 28983951 Change-Id: Ib21f05cc858be56153c3c01e4e647dca066212a7
* | | | | release-request-ccd04736-6e66-4825-a227-ecd69d8b5337-for-git_oc-mr1-release- ↵android-build-team Robot2017-07-072-2/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4163697 snap-temp-L79500000080559163 Change-Id: I07993b0477644f01de425978a20b5c6344270e04
| * | | | Import translations. DO NOT MERGEBill Yi2017-07-072-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I82480710f9d65b5bba706122e005ab554e9711db Auto-generated-cl: translation import Exempt-From-Owner-Approval: translation import
* | | | | release-request-d9dc98f7-19b2-484c-b4d1-f35dc43e9c05-for-git_oc-mr1-release- ↵android-build-team Robot2017-07-021-2/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4152006 snap-temp-L91700000079405440 Change-Id: I82893148a93e18e1540be94b6f965a346741d6a2
| * | | | Import translations. DO NOT MERGEBill Yi2017-06-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ib20f047066bc868f5aeb82a7a02b240279b0ea78 Auto-generated-cl: translation import
* | | | | release-request-1b0d6769-ebfa-4e2d-b128-039ac0dcd5c9-for-git_oc-mr1-release- ↵android-build-team Robot2017-06-281-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4140700 snap-temp-L81200000078275553 Change-Id: Icb807b71aa52bd9c4d57876d8d9b7229eea4325b