| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
This reverts commit 188e7f292537eecd215cee62cd568823c11700eb.
Change-Id: I33886bffc6bf3a9d3ce4731b0e607bf33da787ce
|
| |
|
|
|
|
|
|
|
|
|
| |
Profiles that override the ring volume or mode can disable DND, but
this is not what the user would expect. Ensure that DND never gets
disabled when changing profile and postpone the ring mode and volume
overrides to when DND gets disabled. This allows to give DND an higher
priority and at the same have the overrides of the current profile
always applied.
Change-Id: I065c8df5be924ade63d943414a6da1c29baa3a20
|
| |
|
|
| |
Change-Id: Ibda6f477b006f529ee2a774e76c5cb7eb2497eaa
|
| |
|
|
| |
Change-Id: I5e568c467c9b3226e634328be407fc0301043fc4
|
| |
|
|
| |
Change-Id: I17355141217f6bdc0b4e838772bf7a245283824a
|
| |
|
|
|
| |
Change-Id: Id148d4bd075e2795dbd6328f74cdde471903f100
Signed-off-by: Joey Rizzoli <joey@lineageos.org>
|
| |
|
|
|
|
|
| |
Use the same base theme used for Settings so that our preference
tiles look like the default ones (e.g. add ripple effect).
Change-Id: I27a5569535d8d614a0c0d26dd5b9fcd12f2af1e4
|
| |
|
|
|
|
|
|
|
| |
AOSP recently introduced a new power hint, POWER_HINT_LAUNCH,
to indicate the start-up of an activity.
We now use that instead of using our own.
Change-Id: I3ed1ae52a67da37e87a46ca5cc5411de95f00926
Issue-Id: LINN-6
|
| |
|
|
| |
Change-Id: I7bf1ee5644b178173941803fccafbbd501289acd
|
| |
|
|
|
| |
Change-Id: I1ddf79d8308def2056fa509b64a2ec4af5c39f31
Signed-off-by: Paul Keith <javelinanddart@aidenswann.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- We might get see attach() calls from multiple prefs, so stop assuming
there's only one per key. Namely, a new activity might be created and
attached before the previous one is destroyed
- The passed-in context is likely to be an activity one. As the manager
instance is static, this can cause leaks and the receiver might be
attached to a destroyed activity. Just hold onto the application
context instead, which is a singleton anyway.
Change-Id: Ica17c19ab6e1cdfd402968ce2594d3ed362e23ee
JIRA:LINN-3
|
| |\ |
|
| | |
| |
| |
| | |
Change-Id: I26c9ad7d1a4234023a8db3974239b106c3f50390
|
| | |
| |
| |
| |
| |
| | |
Add the CMHW implementation for touchscreen gestures.
Change-Id: Iabeee255748fc92376bc861409a7074de570cb0c
|
| | |
| |
| |
| |
| |
| | |
All devices should use the native implementation now.
Change-Id: Ic29472ba28569536a8556f61229a8a8fe783354a
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Many new devices have available flip cover cases with some form
of view window or notification options. Currently we support a
dotcase app for HTC and a View window app is under development.
Provide a new Intent to allow a common way to launch a variety
of device specific cover apps.
Change-Id: Ic986b239b75bfc6d76142451826b3f996e242a29
|
| |/
|
|
| |
Change-Id: I0141aa66139ac0fa6089aecd7056e017c4c1132f
|
| |
|
|
| |
Change-Id: Ia90f4c7d05566a05dc924fcfc4515898934d8bf3
|
| |
|
|
|
|
|
|
| |
* Hiding the clock is now possible using the icon blacklist.
* Since the the hide option in the clock position tunable
isn't currently implemented let's remove it
Change-Id: I2412051289a922dfc72cdf266b47f32cf7aaa31a
|
| |
|
|
|
|
|
| |
The functionality that uses this setting has been removed.
This setting should no longer be used.
Change-Id: Iff887a711a9f8cac18cf9938280ddc99a5787615
|
| |
|
|
| |
Change-Id: I565744821346c90ff670704a13fffc7bf464ff71
|
| |
|
|
|
|
|
| |
We need to add toggles for some AOSP global settings,
such as heads up notifications.
Change-Id: I5e3cc8717c639bed4ee99e40c350ef7e7c2d76bd
|
| |
|
|
|
|
|
| |
* Hotspot is not assigning DHCP addresses correctly if enabled
through the profiles codepath using WifiManager.
Change-Id: I9b67748d1b51c873864cf11f9240372e367a0c53
|
| |
|
|
|
|
| |
Partially based off the PackageManagerHelper class in Launcher3.
Change-Id: I0ed2ea210cb52ac4bd94c7bc5320c24e6d423279
|
| |
|
|
| |
Change-Id: Ie7f14b1af053d23876908ec3c99f038e76fe5beb
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* The preferences constraints system uses reflection to look up
fields via strings, we need to ensure they are not optimized
out by Proguard. Alternatively we can manually enumerate them,
but it's yet another list of constants to maintain. We should
have used a proper enumeration to begin with, but so it goes.
* The @VisibleForTesting annotation is honored by the platform for
ensuring that Proguard doesn't stomp fields. The support library
has an @Keep annotation, but it's only supported by Gradle. If
it becomes supported by the platform in the future, switch to
it instead.
* Also add tests for all of this.
Change-Id: I9f324e003e2a9de5604085b978d5f95bdd098d32
|
| |
|
|
| |
Change-Id: Ic3b7589fe3a33b62fba3949e968789a3a99cf9f6
|
| |
|
|
| |
Change-Id: I7398adbaa691bc6ec50b56328190a317bee805eb
|
| |
|
|
| |
Change-Id: I7289e8abe23d047f909066a9986e8b9d55bec27e
|
| |
|
|
|
|
| |
* Delete ALL the codes!
Change-Id: I839ba927f03363601452bdc3d894e09549366302
|
| |
|
|
|
|
|
| |
* Factoring out the work done for CMParts into an actual API that can
be used for all of the various device settings apps.
Change-Id: Ie1b47c900c2b37457b90f1b0af0634d5fe12fd9a
|
| |
|
|
|
|
|
|
|
| |
* Add a bunch of helpers for dealing with settings URIs in
a transparent way.
* This also includes the "Observatory" which is an aggregator
of ContentObservers. Inspired by TunerService.
Change-Id: Ie30c3f712d3c6536af559d93f7debe2dcc5ead06
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add support for negation- prefix with !
* Add requiresAction constraint, which checks if an application is
available to resolve the given action
* Fix issues with operations order
* Add flag to remove a preference if it's intent can't be resolved
* Add helper to allow setting minLines of a preference, since it's
common for things to get weird with the kinds of behavior we
are introducing everywhere
* Add support for nuking *other* preferences. For example with
Doze, many devices have custom features and a extra_settings
panel which is redundant with the switch. Now we can trivially
override the one we don't want.
Change-Id: Ibb14b05add56b403013e908db1105dce9d34faad
|
| |
|
|
|
|
| |
We may need to store/retrieve secure settings in some cases.
Change-Id: Ibf329652d8d057485e39060c956846755c3a91d2
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Added a proper API for this thing
* Pass objects around with necessary metadata, pre-filtered and sorted
* Added event log and service dump
* Simplified locking and adjusted for performance / correctness
* Clarified/beautified code where possible
* TODO:
- Write profile descriptions
- Finish the UI
- Clean up javadocs
- Do something with per-app profiles, maybe
Change-Id: Ie2ef84031e81a18e95dcd62392c7e6939860d933
|
| |
|
|
|
|
|
|
| |
* Allow CMParts to update the summary (or any detail) of a preference
so it can be shown correctly in the UI.
* Also some cleanup and refactoring around the parts list.
Change-Id: Idc16a7eb1a1e4170671fd068bd240b88fadfb577
|
| |
|
|
| |
Change-Id: If40a8f390d4105812e7fab89e3612f21d6d206a4
|
| |
|
|
|
|
| |
This is already in the array several lines above.
Change-Id: I0e046902dc1bf01ea445587e1f8a4e7f8520051c
|
| |\
| |
| |
| |
| |
| | |
cm-14.0
Change-Id: I28fdf53785f1ec81f5d811c099e81acdb91e0009
|
| | |
| |
| |
| |
| | |
Change-Id: I6341bada8e3ef674b272621f90bc9beb28767a59
TICKET: CYNGNOS-2121
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Previously the visible check was comparing the newly set value to
itself. Now we cache the old value, set new value, and can do a proper
comparison.
Change-Id: Idbe921bfe9e311551d6bfbad432c647c129f376e
Signed-off-by: Roman Birg <roman@cyngn.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* This patch will make it easy to hide preferences based on the
lack of a CMHardware feature. In the preference, specify this:
cm:requiresFeature="cmhardware:FEATURE_KEY_DISABLE"
..and the preference will magically be removed if the feature
is not supported.
Change-Id: I51699df7b39bb38b9ea69c93ade658736f89b988
|
| | |
| |
| |
| | |
Change-Id: I541bbbabd81eb249b7696f23d5122b6a5f4f8f50
|
| | |
| |
| |
| |
| |
| |
| | |
* Encode the part into the action and use an explicit intent instead
of relying on extras.
Change-Id: I4f035d6b839e9701e20a9b78dbe2a39757aad13e
|
| | |
| |
| |
| |
| |
| |
| | |
* Set "cm:requiresOwner=true" to enforce that the current user
is an owner, otherwise the preference will be removed.
Change-Id: I20d1348f58a855d07676882db773f73687396a6d
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Add a new set of attributes which can be declared in the
preference XML which will cause the preference to be
removed from the hierarchy if the constraint is not met.
Currently we can check for installed packages, system
properties, config references, and system features.
* CMPartsPreference is also updated to use similar logic
based on the external XML.
Change-Id: If8fb39cd3312623e38bb3498bfb3f29ed8b444d6
|
| | |
| |
| |
| | |
Change-Id: Ide607a4ba3b220d82aff5019f61ecdc7afe0a523
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Add a Preference subclass which queries CMParts and handles all
the work needed to add a new part into Settings with a single
line of XML.
* The parts list lives in the CMParts app as res/xml/parts_catalog.xml
* We also support receiving a broadcast to update the title/summary.
Change-Id: Iaceddc85272718ba93e4086cc2577c3b016419e2
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* The public SDK build is currently including AIDLs which are
meant to be used for internal purposes only. My assumption
is that this particular implementation was done before we
split off an "internal" SDK, which is used by the platform itself.
* The issue came up when adding an AIDL which has a backing
Java data object which was not included.
* It should be safe to simply hide this interface. All references
to it are hidden already. It is only used for internal purposes
and does not change the API.
* With the internal dependencies removed from the public SDK, we
can completely remove the reference in the makefile.
Change-Id: I0515815543feb077ee5e289b9f900e28758c6e98
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* These lived in the Settings app previously, but are now moved as
we need them in a few places.
* The support library required to use these helpers, but we
intentionally reference it using LOCAL_JAVA_LIBRARIES so the
application will need to declare a dependency.
Change-Id: I56844def5e1100ca0300d0027312cc9adcaab941
|