aboutsummaryrefslogtreecommitdiff
path: root/doze/src (unfollow)
Commit message (Collapse)Author
2017-12-04msm8996-common: Doze: Re-integrate into SettingsBruno Martins
* Apply the default Oreo theme and inherit the layouts from Google for the Settings app, in order to keep UI consistency. * Get rid of SettingsDrawerActivity as it no longer fits in and include the back button in the action bar. * Kill the icon drawable not only because is a leftover, but also doesn't really serve any puropose in the new UI. Change-Id: I53b6d3bb99d63852ba34d71e16ae99f05223569e Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
2017-12-04msm8996-common: Doze: Apply LineageOS rebrandBruno Martins
Change-Id: I4daa1092494fdf207ef54dc79f787bcbe1d01a08 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
2017-12-04msm8996-common: Doze: Hide features if unsupportedBruno Martins
* This is required for lithium because the device has no ability to check for proximity sensor status during standby, due to sensor's native design Change-Id: I5d3ecfe3df96b5e58ffb0579dffd311c7c13e4a9 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
2017-12-04msm8996-common: Doze: Require non-wake up proximity sensorLuK1337
* getDefaultSensor(type) returns the first sensor and in case of capricorn it's wake-up one thus our doze package wouldn't work. Passing `false` as a second argument makes it work properly. Change-Id: If73bc43bc166945d27b95513c4255ae5a5590849 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
2017-12-04msm8996-common: Doze: RefactorBruno Martins
* Fix Ambient Display's switchbar on/off text. * Get rid of unnecessary receiver and all its related code, permissions and meta-data. * Keep the service running only if Doze is enabled system-wide along with at least one of the additional Ambient Display features. Change-Id: Id1f7f5e099f289a20f5757b7869e297e0ce74f7a Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
2017-12-04msm8996-common: Doze: Perform operations as current userGabriele M
* System processes should use the 'AsUser' variant of some methods Change-Id: Ic2457950b1f0e9f29f4fb06ef38f00dd919ad8f7 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
2017-12-04msm8996-common: doze: Set different timings for wave and pocket detectionMichael W
* One second is a little bit short for pocket Change-Id: Id27bba6f01a3a4d54ae9096fae87505f38ee5062 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
2017-12-04msm8996-common: doze: CleanupMichael W
* Rename missing OnePlus occurance * Remove unneccessary newlines * Remove redundancy * Remove unused variables and imports * Make variables local when sufficient Change-Id: I48f5dfc24275388f1deb31dc27716ed75aae898e Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
2017-12-04msm8996-common: doze: Commonize strings translationsAbhisek Devkota
* Translations moved to the new project android_packages_resources_devicesettings Change-Id: I06536915e1963a2fe464c3d6c46dd8728aba0cb4 Signed-off-by: Adrian DC <radian.dc@gmail.com> Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
2017-12-04msm8996-common: Bring DozeSettings up to dateSteve Kondik
* Rework the UI with a SwitchBar * Change to the preferences support library and use fragments * Use all the new fancy RemotePreference stuff * Slot into display settings instead of the dashboard Change-Id: I0850f7d9558a14f739f752f76002db993381a0e5 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
2017-12-04msm8996-common: doze clean upAltaf-Mahdi
* remove always enabled option * use stock fade in delay * squashed new and updated translations Change-Id: Ieebf13f88c02d5036a09b5ef83ca1b53bd6771ac Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
2017-12-04msm8996-common: doze improvementsAltaf-Mahdi
* restructure the app * add a tilt sensor from hammerhead-caf with an option to enable/disable * add a one time dialog on first start to help users understand how the app works * remove proximity wake up option and add an option to enable the sensors as soon as the screen turns off * adjust and add new doze configs * squashed translations Change-Id: Ia9d9a807d6c4f1a80a2ba8780e7486560f9a1d87 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
2017-12-04msm8996-common: add doze packagePatrick Lower
Taken from yu lettuce Includes the following patches YUDoze: Add service for using proximity sensor for wake-up Author: Patrick Lower <devvortex@gmail.com> Date: Mon May 11 16:14:17 2015 -0400 YUDoze: Set gesture to disabled by default Author: Arne Coucheron <arco68@gmail.com> Date: Wed May 20 00:56:19 2015 +0200 YUDoze: Consolidate doze settings Author: Christopher R. Palmer <crpalmer@gmail.com> Date: Sat May 23 11:42:49 2015 -0700 YUDoze: fix defaults Author: Dave Daynard <nardholio@gmail.com> Date: Sat May 23 18:29:13 2015 -0400 YUDoze: Add back button to action bar Author: luca020400 <luca.stefani.ge1@gmail.com> Date: Sun May 24 15:47:17 2015 -0700 YUDoze: add proximity wake Author: Dave Daynard <nardholio@gmail.com> Date: Mon May 25 12:54:00 2015 -0400 YUDoze: restore proximity wake preference on boot Author: Dave Daynard <nardholio@gmail.com> Date: Sat Jul 4 13:44:53 2015 -0400 YUDozeService: Prevent a pm wakeup with a timestamp in the future Author: Brandon McAnsh <brandon.mcansh@gmail.com> Date: Fri Jul 24 15:40:45 2015 -0400 YUDozeService: properly fix future timestamp error Author: Patrick Lower <devvortex@gmail.com> Date: Wed Aug 5 10:51:03 2015 -0400 YUDoze: fix typo Author: Dave Daynard <nardholio@gmail.com> Date: Tue Sep 8 22:56:10 2015 -0400 YUDoze: Use ScreenType util from cmsdk Author: Michael Bestas <mikeioannina@gmail.com> Date: Sun Dec 13 02:51:09 2015 -0500 YUDOze: Remove summary for YUDoze Author: TheStrix <parthbhatia98@gmail.com> Date: Sun Dec 13 07:25:36 2015 -0500 Change-Id: Ia7e668622eecf4355fd55dc9cda7ca05a6494b93 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
2017-07-15Nuke ZukDozedd3boh
It's just a bit useless lol
2017-06-22doze: Move to gesture settingsdavidevinavil
2017-04-07doze: DU-ifydavidevinavil
2017-04-07z2_plus: Add dozecryscript
2017-04-07z2_plus: Remove dozedavidevinavil
2017-01-21z2_plus: Doze: Set different timings for wave and pocket detectionMichael W
* One second is a little bit short for pocket Change-Id: Id27bba6f01a3a4d54ae9096fae87505f38ee5062
2017-01-21z2_plus: Doze: CleanupMichael W
* Rename missing OnePlus occurance * Remove unneccessary newlines * Remove redundancy * Remove unused variables and imports * Make variables local when sufficient Change-Id: I48f5dfc24275388f1deb31dc27716ed75aae898e
2017-01-21z2_plus: Doze: Commonize strings translationsAbhisek Devkota
* Translations moved to the new project android_packages_resources_devicesettings Change-Id: I06536915e1963a2fe464c3d6c46dd8728aba0cb4 Signed-off-by: Adrian DC <radian.dc@gmail.com>
2017-01-21z2_plus: Bring DozeSettings up to dateSteve Kondik
* Rework the UI with a SwitchBar * Change to the preferences support library and use fragments * Use all the new fancy RemotePreference stuff * Slot into display settings instead of the dashboard Change-Id: I0850f7d9558a14f739f752f76002db993381a0e5
2017-01-21z2_plus: Doze clean upAltaf-Mahdi
* remove always enabled option * use stock fade in delay * squashed new and updated translations Change-Id: Ieebf13f88c02d5036a09b5ef83ca1b53bd6771ac
2017-01-21z2_plus: Doze improvementsAltaf-Mahdi
* restructure the app * add a tilt sensor from hammerhead-caf with an option to enable/disable * add a one time dialog on first start to help users understand how the app works * remove proximity wake up option and add an option to enable the sensors as soon as the screen turns off * adjust and add new doze configs * squashed translations Change-Id: Ia9d9a807d6c4f1a80a2ba8780e7486560f9a1d87
2017-01-21z2_plus: Add doze packagePatrick Lower
Taken from yu lettuce Includes the following patches YUDoze: Add service for using proximity sensor for wake-up Author: Patrick Lower <devvortex@gmail.com> Date: Mon May 11 16:14:17 2015 -0400 YUDoze: Set gesture to disabled by default Author: Arne Coucheron <arco68@gmail.com> Date: Wed May 20 00:56:19 2015 +0200 YUDoze: Consolidate doze settings Author: Christopher R. Palmer <crpalmer@gmail.com> Date: Sat May 23 11:42:49 2015 -0700 YUDoze: fix defaults Author: Dave Daynard <nardholio@gmail.com> Date: Sat May 23 18:29:13 2015 -0400 YUDoze: Add back button to action bar Author: luca020400 <luca.stefani.ge1@gmail.com> Date: Sun May 24 15:47:17 2015 -0700 YUDoze: add proximity wake Author: Dave Daynard <nardholio@gmail.com> Date: Mon May 25 12:54:00 2015 -0400 YUDoze: restore proximity wake preference on boot Author: Dave Daynard <nardholio@gmail.com> Date: Sat Jul 4 13:44:53 2015 -0400 YUDozeService: Prevent a pm wakeup with a timestamp in the future Author: Brandon McAnsh <brandon.mcansh@gmail.com> Date: Fri Jul 24 15:40:45 2015 -0400 YUDozeService: properly fix future timestamp error Author: Patrick Lower <devvortex@gmail.com> Date: Wed Aug 5 10:51:03 2015 -0400 YUDoze: fix typo Author: Dave Daynard <nardholio@gmail.com> Date: Tue Sep 8 22:56:10 2015 -0400 YUDoze: Use ScreenType util from cmsdk Author: Michael Bestas <mikeioannina@gmail.com> Date: Sun Dec 13 02:51:09 2015 -0500 YUDOze: Remove summary for YUDoze Author: TheStrix <parthbhatia98@gmail.com> Date: Sun Dec 13 07:25:36 2015 -0500 Change-Id: Ia7e668622eecf4355fd55dc9cda7ca05a6494b93
2017-01-21z2_plus: Remove dozedavidevinavil
Change-Id: I3b25bc251cb51a802295bf45b47a7f715acbac3a
2017-01-20Rename OneplusDoze to ZukDozeFedor917
2017-01-14z2_plus: LineageOS upstreamOrdenKrieger
*doze: Commonize strings translations *op3: Bring DozeSettings up to date
2016-11-10Rename CmDoze to ZukDozeFedor917
2016-11-10Initialising brunch based on davidevinavil device tree (CM14.0 branch)Fedor917
2016-10-26Initial commitFedor917