| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*) frameworks/base bool config_intrusiveBatteryLed is no longer
used so it has been removed.
*) Use LIGHTS_BATTERY_LIGHT capability in lineage-sdk instead.
*) Update config_deviceLightCapabilities comments
*) Move bool config_intrusiveNotificationLed out of Lineage-specific
overlays because it's an AOSP config
Change-Id: Ia813cdd0596ece07ff38e1087d9cdf9e135f20be
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
|
| |
Change-Id: Idc537612efe4cf870d6a8164bd04844c1bb40b2b
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
| |
This reverts commit 5e4a063e26543246994912998e96c12c93984853.
|
|
|
|
|
|
|
| |
* Disabled by Qualcomm in O
Change-Id: I063355c2c0bf188bcbafca09f2ea5569a0e5d2f2
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
| |
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
|
| |
Change-Id: Iab14804817e6b90bf4d773d9359a04f1e119264a
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
| |
Change-Id: I4daa1092494fdf207ef54dc79f787bcbe1d01a08
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
| |
* System processes should use the 'AsUser' variant of some methods
Change-Id: Ic2457950b1f0e9f29f4fb06ef38f00dd919ad8f7
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
As stated in ActivityManagerService:
The vast majority of broadcasts sent from system internals
should be protected to avoid security holes
Change-Id: I1dc989d9d132d40835ca8dbf277285eb88e30a58
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
|
|
|
| |
* One second is a little bit short for pocket
Change-Id: Id27bba6f01a3a4d54ae9096fae87505f38ee5062
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
| |
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
| |
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
|
| |
Change-Id: I635dc8d27f92f9a2fa83da62c2f32e48bd2c7680
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Check if power off alarm is set, then set alarm's properties
Adapted from Mao Jinlong <c_jmao@codeaurora.org> patch in init.qcom.early_boot.sh
Change-Id: Ib86584d1c09aba07c47435ac8bed39aac79a80f7
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
|
|
|
| |
This was missed out from init.qcom.early_boot.sh.
Change-Id: Iab5b0d7782a53b97315d2aa9d0c301ed7725e01d
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
|
| |
Change-Id: I3fd23490bcdfa4097dad73161ad226337e93cd18
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The maximum heap size for each virtual machine is 1GB. This is too big
and puts too much pressure on both the garbage collector when it tries
to perform collections in older generations. The symptoms are simple,
some applications will allocate objects that live long enough to be
promoted to older generations, escaping the efficient CMS collections.
Eventually, a stop-the-world collection will go through this large block
of memory and cause applications to pause for too long.
Additionally, the out of memory killer follows a LRU approach where it
tries to kill older applciations to make room for new ones. The problem
arises when the least recently used applications don't have large heaps
but the most recent ones do. When this happens the system halts to a
crawl while older apps and services are killed and respawned in a never
ending cycle of jankiness.
These values were obtained experimentally but actually match the
defaults for devices with >2gb of ram and xhdpi.
Change-Id: I73a92269ceac61dd4d4c1b1600f55a21534a27a0
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
| |
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
|
| |
Change-Id: I656cbed7abf351fea4129e7ff3c930eb9d8914ae
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
| |
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
|
|
| |
* Everything is already there in kernel now
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
| |
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
| |
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
SafailNet is inspired on magisk hide. (Thanks to topjohnwu)
https://github.com/topjohnwu/Magisk/blob/master/jni/magiskhide/magiskhide.c
The purpose is bypass safetynet without installing any zip via twrp
And these commits too:
https://github.com/PixelExperience/kernel_motorola_msm8953/commit/dc9c2f35e988123abf2aa50d30b8b324bc377fbf
https://github.com/PixelExperience/kernel_motorola_msm8953/commit/ec5b1bb6821098ebb30a37cbf5d2c52286cacbfd
Signed-off-by: jhenrique09 <jhenrique09.mcz@hotmail.com>
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
| |
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
| |
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
| |
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
|
|
|
| |
* This is for the assertive display
* The configuration was already there in the system.prop without the file though
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
| |
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
|
|
| |
* This should be helpful once the selinux enforcing will be working
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
|
|
|
|
| |
* The framework did exact the same thing as TimeService.apk,
so there's no reason to keep it, and it's not ported to O.
Change-Id: I74abc65468e983732bccde571003235891379463
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* enable RA Filtering
* increase RA rate limit interval to 15 minutes -> saves power
* enable IPA offloading in STA mode -> kernel support is present
* set the beacon missed count threshold from stock -> ensures stability
* maximize the continuous packets dropping threshold
* limit peers for SoftAP to 10, prevent overloading
* prefer connecting to a 5Ghz AP even if its RSSI is lower by 5dBm than the competing 2.4Ghz AP -> smart decision
* set the stock RoamRssiDiff value
* disable Packet logging
* cleanup some options
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com>
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enabling Beacon Early Termination in order
to speed up beacon processing drastically.
This will lead to power savings.
Also tune the BET wake interval to a value
of "8" to reduce the frequency of wakeups.
"8" is a safe choice since I could detect values
of higher than 10 to cause issues in some usecases.
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
|
|
| |
Signed-off-by: Sultanxda <sultanxda@gmail.com>
Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com>
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Stale scan entries are updated to NL because
scan results are not aged out in PNO complete
handler.
Fix is to enable scan aging time ini.
Change-Id: I2a1a6d0d1e3a37a013b1e044301d857bc7ce062c
CRs-Fixed: 2047214
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Tune the BMPS listening interval for the moderate
power level to achieve power savings during wifi
idle.
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When FW sends the Mgmt Rx event message to host, the raw rssi
field is wrongly getting updated with an RSSI that is accounted
twice for RSSI offset if enabled in BDF.
Set gInformBssRssiRaw to 0 to pick the raw rssi
from the Rx Descriptor populated by HW & avoid double calculation.
CRs-Fixed: 1084457
Change-Id: I615f9fbb8b9849025fff865c8886edd9e73f938b
Bug: 31781264
Signed-off-by: Srinivas Girigowda <sgirigow@codeaurora.org>
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
|
|
|
|
|
| |
-> Set the delay to "1500" to improve
power efficiency without increasing the
chance of a wifi dropout.
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In present code, RPS is enabled in RX path which is causing
inconsistency in TCP DL throughtput case. Enabling Rx thread
Which is providing consistency in throughtput with minimal
power impect.
CRs-Fixed: 1018382
Change-Id: Ieac0fec9399375b723c0f350639f861bdbc143a2
This somehow didn't make into the UM branch, reapply it.
Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com>
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|