| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: I7cacb61ffe8817360907f7138555f466b9f2f060
|
|
|
|
| |
Change-Id: I2940663c7476b0df9b3553a480fa33ea4f18a5bc
|
|
|
|
|
|
|
|
| |
Fixes an issue where audibles would be "unknown" causing them to
not play when phone rings, notifications arive or an alarm goes off
Change-Id: If279ed7e88784c025999822da7ee3a1a51d63bbd
TICKET: CYNGNOS-2728
|
|
|
|
| |
Change-Id: I4c501ae6f8cf5bcdb2957ed920d081b3b8627e3d
|
|
|
|
| |
Change-Id: I7b62978e2a284a3a1ec1ffc1d8c72545d7b0c939
|
|
|
|
|
| |
Change-Id: I93bbea04f8764c0430597f295fef6972f632be1e
Ticket: RM-214
|
|
|
|
|
| |
Change-Id: I46e5d915a803f1ef6813bdbdabe737863025e7ba
Ticket: RM-214
|
|
|
|
|
|
|
|
|
| |
Since powersave is ignored while the device is plugged in,
and switching pluggedmodes via runtime executing dumpsys commands
is blocked by sepolicy. Ignore the powersave portion of the test.
Change-Id: Ia2b206649a7fc1960cc25d16ffd22379e7c616e3
TICKET: CYNGNOS-2603
|
|
|
|
| |
Change-Id: I806c87e9f036c65c25ec56c452fac23507cf643f
|
|
|
|
|
|
|
|
|
| |
This will provide control over blurring since the current implementation
assumes it is always on provided the device config specifies it
supports blur.
Change-Id: I71e318af12b5212133c6c5b02bed050eb67757d9
TICKET: CYNGNOS-2610
|
|
|
|
| |
Change-Id: I5728ee43d68ae83f6480664f19f8bafb7d3fcc10
|
|
|
|
| |
Change-Id: Ic62129d6a01476de1cee98a54e5d39e136f80701
|
|
|
|
|
|
|
|
|
| |
Keep feature inline with 12.1, only allow owner to
control the feature and mirror across users.
Also add additional checks for moved settings.
Change-Id: Ida11b71bc5ce9463628f8c5d76e59902d47d59bb
|
|
|
|
|
|
|
|
|
| |
There is a race condition between when onBootPhase(PHASE_SYSTEM_SERVICES_READY)
is handled and when clients request profiles, cpu boost, or launch boost.
Drop these requests in this condition.
OPO-702
Change-Id: I0860f824473767a4a4776e9febc7fb786b81f457
|
|
|
|
|
|
|
|
|
|
|
|
| |
During an upgrade, we try to migrate values which are
considered to be LEGACY settings to the new provider, however
because of a bad upgrade path, we need to check if the key exists in the
new database AND the old database, and then we can skip it in that case.
Ticket: CYNGNOS-2740
Change-Id: I5d6bc8399ccc328f4190ed7508c27bd9d5de1b9d
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
|
|
|
|
|
|
| |
The mService member variable should not be used directly as this can
cause an NPE if the backing service has died. Instead, use the
getServiceGuarded() method which will take care of re-establishing
a connection to the backing service.
Change-Id: I290e69c07a2e56644de7a394543d1e36fac1cbcc
TICKET: CYNGNOS-2779
|
|
|
|
|
| |
Change-Id: I08828c53b07a47fb169871c14b4d91641f88e3eb
Ticket: RM-232
|
|
|
|
| |
Change-Id: I415a05f9260dee22c61c2bd8cad035a424990fb6
|
|
|
|
|
|
| |
* Only the owner can write to the global db
Change-Id: Iec7736c28ff0bc7a35dae8bbc85ca2b1c137da49
|
|
|
|
|
|
|
|
| |
* We need this for vendor perf tools.
* This also adds a NativeHelper class which loads the JNI
library on-demand, since we don't have an entry point.
Change-Id: If76ad8f952e86366978ae9cf9d1f107febccc28b
|
|
|
|
|
|
|
|
| |
Bump the DB version and set a default temperature unit in
global settings
Change-Id: I14f80e1b3fa3ae4a47769c02b5ebd6a905a53e46
TICKET: CYNGNOS-2751
|
|
|
|
|
| |
Change-Id: Icd397a2ddd730ae525233b66288fde9a6798c221
TICKET: CYNGNOS-2670
|
|
|
|
|
|
|
| |
Only dump CMAudio Service State for processes with dump permissions.
OPO-679
Change-Id: I28a501851a76e6d82f5726c13ac1fac74f47a8f1
|
|
|
|
|
|
|
|
|
|
|
| |
The persisted one simply contains the user, the publishing package, and
the tile tag - items which can be persisted across reboots to restore
the tile's properties on boot properly.
Ticket: CYNGNOS-2530
Change-Id: If770557482e81ab0dd0d16c3ac8be0b2b51e653a
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
|
| |
Change-Id: Idee5bd602047c01f8e13cd7d5ddbe6fb151215a2
TICKET: CYNGNOS-2378
|
|
|
|
|
|
| |
* For devices with segmented LEDs which can function as a range bar.
Change-Id: I346576b705635b60f9fd8716937e86b23bc7aa30
|
|
|
|
|
|
|
| |
Ticket: CYNGNOS-2480
Change-Id: I0d104b235db59af008dee560763d6a753e3c8b79
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Because DEV_FORCE_SHOW_NAVBAR has lived in Settings.System,
Settings.Secure, and now in CMSettings.Secure, we need to return the
proper value no matter which place an app might query.
Ticket: CYNGNOS-2480
Change-Id: Ie84df9763aa3714ec4ce4d033dc73be4de3f1f00
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Since the API for PerformanceManager returns the number
of profiles supported we can assume what the profiles are
since the HAL provides them in an ordered manner. Thus,
iterate through the size of the number of profiles and verify
each one that's possible.
Change-Id: I87f6d1a847c849bd9e544c1e89a666726c61fe83
TICKET: CYNGNOS-2603
|
|
|
|
|
|
|
|
|
|
|
| |
Include a proguard file with can be consumed by the latest gradle plugin to
merge this ones rules without the rules of the app linked to.
This way devs doesn't need to declare (in a recent version of the gradle plugin)
-dontwarn and -dontnote for cyanogenmod.library when linked to it, because
proguard crashes the build because it cannot access to cm system private classes.
Change-Id: I7c94a9119db744b0029b4d9a8aa782adcbd47b93
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
|
|
|
|
|
|
|
|
| |
In other case it will force to declare READ_PHONE_STATUS permission to apps
linked to
Change-Id: I384837c2bda2fe775dafd33b6f7690ca1db465d7
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
|
|
|
|
| |
Change-Id: I2e45d0b1a8a552331d2691d6bc6d72a3b48a8467
|
|
|
|
| |
Change-Id: I9bc4a483af682783e5f0ee215daf8b7334fe5431
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* This is a rework of the session callback API which previously
lived in the framework due to JNI usage. This has been split out
and cleaned up for CMSDK.
* The JNI library lives on the server side, and the app-level
callback has been changed to a protected broadcast. This allows
us to wake up registered services when these events occur.
* Additionally, we support listing all active audio sessions.
* Also brings some JNI love/hate over to CMSDK.
Change-Id: I31c293943474419e3db088bb7ffab75f7440ac0f
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* If the screen is off during the entire transition period,
when we turn the display back on it is not updated with
the correct color temperature.
* The code here is trying to be Mr. Smarty Pants and avoid
extra updates, but it's totally pointless and also broken.
There's no ill effects from writing to the hardware when
the screen comes on, and updateColorTemperature already
has all the other conditionals we need.
* Just call updateColorTemperature every time, regardless.
The LiveDisplayService ensures the callbacks run on the
handler thread and all this crap can be removed.
Change-Id: Ib9560e13870a5c6bbe9c5a26fad40f5ec1cefa83
|
|
|
|
|
|
| |
* Test color temperature control and mode selection
Change-Id: Icc4fffef4c64cf3424e30890b5a4a37154482b3a
|
|
|
|
|
|
| |
* If capabilities is empty, BitSet.toLongArray returns an empty array.
Change-Id: I17476438995b581050feda346d0348228519ff44
|
|
|
|
|
| |
REF: CRACKLING-1069
Change-Id: I5be5cabf316d9bd02ab4ffc169d458ab8d1b46d4
|
|
|
|
|
|
|
|
|
| |
* Fix issue with color adjustments not being applied at bootup.
* Fix issue where hardware was always updated twice.
* Check the display state inside the color animator- this was
occasionally racing and triggering kernel bugs on some devices.
Change-Id: Ieb9845e6b0f1c7ca979cbfa35c0b9b688ef1a8cf
|
|
|
|
|
|
|
|
|
|
|
|
| |
We need to store the state of _our_ setup wizard.
To not break existing devices' provisioning, copy the current state of the global
provisioned flag to the new key value.
Ticket: CYNGNOS-2431
Change-Id: I3d88361edc126788f42b28efd11f3c7598117138
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
|
|
|
|
| |
* If the device is started in the middle of a transition period,
the transition would not occur. Always check for this condition
instead of only firing it when TwilightService updates.
Change-Id: Ibe6cfa69506ffc6a9bf6390ee7e13863f275ec2a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Simplify the code and callback mechanisms
* Fix bug where settings weren't applied at startup
* Make stuff immutable where possible
* Corrected the sunrise calculation to start on time
* Fix issue where tile state could become out of sync
* Don't spam the hardware on screen on/off
* Stop trying to cache values in so many places, they get out of sync
too easily.
* Move the animator to the general display adjustments
* Clean up outdoor mode state on screen toggle
Change-Id: Ic14425e5294d78698b9280dfb1237b222bb706cc
|
|
|
|
|
|
|
|
|
| |
Since the samples are going to grow with
each new interface addition, lets keep them
in separate git projects and overlap their path
into this directory.
Change-Id: Ie37283646fe8b1927a81a0f1fb299f56475e237d
|
|
|
|
|
|
|
|
|
|
|
| |
Test coverage for:
- DayForecast.Builder
- ServiceRequestResult.Builder
- WeatherInfo.Builder
- WeatherLocation.Builder
Change-Id: I66e716fa7a768b095e4b72011eda359b06a55f2e
TICKET: CYNGNOS-2491
|
|
|
|
|
|
|
|
|
| |
The vales passed to setTodaysHigh() and setTodaysLow() have no effect.
This patch fixes that problem. The values provided in the Builder
helper class will be actually set when the WeatherInfo object is built
Change-Id: I5f47b16a56fd577349d3b3d45ea7a753262f90ea
TICKET: CYNGNOS-2484
|
|
|
|
| |
Change-Id: I468e42b91996aad348fa0a1c85e0bc66597cf440
|
|
|
|
| |
Change-Id: Ic3958966b87da56246142a98957d9cfe820b4066
|
|
|
|
|
|
|
|
| |
* This is a range counter starting from -3 (initial value) which
counts upwards once a day. It's finally set to 1 when either the
feature is used or we gave up with the nudges.
Change-Id: Ia19b381aa35c598b31b46071479ae590dc8d9ffd
|
|
|
|
|
|
| |
This reverts commit 091842745213f823eff04670214035f2f1730ca4.
Change-Id: I5c81b9b38360c8f87b072416352f32079ad6deb4
|
|
|
|
|
|
| |
We need this for older apps to still function.
Change-Id: I8c0f37bab9ad82d2915884eb9c4f6ccdd9ba3c1a
|