summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'cm-13.0' of ↵Wolfgang Wiedmeyer2017-02-113-33/+28
|\ | | | | | | | | | | https://github.com/LineageOS/android_packages_apps_Settings into replicant-6.0 Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
| * ButtonBacklight: Preview timeout once user stops draggingZhao Wei Liew2017-01-161-2/+8
| | | | | | | | Change-Id: I0abebe1041b6ad42b10e7d24f76ea17046e64666
| * Settings: Update button backlight brightness in real timenijel82017-01-161-14/+10
| | | | | | | | | | | | | | | | | | | | When adjusting the button backlight brightness using the seekbar, the brightness did not update in real time, but only when the RESET button is tapped. With this change, the brightness is updated instantly. Change-Id: Ib4db8b4759f2b756495dc3f9319b35cdb548d9e5
| * DeviceInfo: Set is_lineage intent when launching PlatLogoZhao Wei Liew2017-01-161-0/+1
| | | | | | | | | | | | We use this to decide whether to launch the LineageOS PlatLogo. Change-Id: I23dfc7b6aa6b8d96d45a757a4b44f2399e62196c
| * Settings: CMStats: use new server-side APISimon Shields2017-01-081-16/+25
| | | | | | | | | | | | | | | | * version the API * instead of sending a POST request with parameters, POST a json blob. Change-Id: I1e83f85ca833b823dfd23eacbc8309d9eeee72a9
| * Settings: CMStats: Upload stats only if user has not opted outSimon Shields2016-12-311-0/+5
| | | | | | | | Change-Id: If4cd7a2c1cee23e63d6191fbdff08c2219f8b8bc
| * Settings: cmstats: Stop tracking opt-out eventsSimon Shields2016-12-314-58/+4
| | | | | | | | Change-Id: Ia0e50b4af3979c374b4202cd6a187a9f0ded9e60
| * Settings: cmstats: Stop sending stats to cyngn serversSimon Shields2016-12-312-123/+13
| | | | | | | | Change-Id: I30fa515f924f368b6cd7016ba03f366affaa6e5e
| * Settings: CMStats: use sha256 for device IDsSimon Shields2016-12-311-1/+1
| | | | | | | | | | | | Collions may occur with MD5. Change-Id: Ief2049180084e3cf80229ce1919145625d36a74c
| * SimSettings: avoid NPEMarcos Marado2016-12-311-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't assume getPhoneAccount doesn't return null just because you're passing a non-null argument. Avoids: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.CharSequence android.telecom.PhoneAccount.getLabel()' on a null object reference at com.android.settings.sim.SimSettings.updateCallValues(SimSettings.java:299) at com.android.settings.sim.SimSettings.updateActivitesCategory(SimSettings.java:237) at com.android.settings.sim.SimSettings.updateAllOptions(SimSettings.java:222) at com.android.settings.sim.SimSettings.updateSubscriptions(SimSettings.java:217) at com.android.settings.sim.SimSettings.-wrap4(SimSettings.java) at com.android.settings.sim.SimSettings$1.onSubscriptionsChanged(SimSettings.java:175) at android.telephony.SubscriptionManager$OnSubscriptionsChangedListener$1.handleMessage(SubscriptionManager.java:397) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5461) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) Change-Id: Ibdb5a978744a8f3e5dd916d08297a07d98aca5be
| * DeviceInfoSettings: Launch normal PlatLogo for LA versionZhao Wei Liew2016-12-291-15/+2
| | | | | | | | | | | | | | | | Since we've removed the Cid-esque PlatLogo as part of the LineageOS rebrand, get rid of the extra code and simply launch the AOSP PlatLogo when tapping on the LA version pref. Change-Id: I2b70d4115d890771999b0b1b97c8a70495a75562
* | Adapt CopperheadOS patch for changed CyanogenMod's APIWolfgang Wiedmeyer2016-12-161-1/+7
| | | | | | | | | | | | userId and lock pattern size needs to be specified. Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* | support replacing a separate encryption passwordDaniel Micay2016-12-162-0/+110
| |
* | support setting a separate encryption passwordDaniel Micay2016-12-161-0/+682
| |
* | enable advanced reboot menu by defaultWolfgang Wiedmeyer2016-12-151-1/+1
| | | | | | | | Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* | Merge branch 'cm-13.0' of ↵Wolfgang Wiedmeyer2016-12-1394-2013/+2986
|\ \ | |/ | | | | https://github.com/CyanogenMod/android_packages_apps_Settings into replicant-6.0
| * DataUsageUtils: Clean up based on code reviewTyler Dunn2016-11-241-21/+29
| | | | | | | | | | | | | | | | | | | | | | | | * Add missing header * Extract DataUsageContract.UID + " = ? " into a string * Simplify "0" string * Use try-with-resource block to ensure cursor is closed This commit is based on the post-merge feedback of Kamaljeet Maini, Fabrice Di Meglio and Danny Baumann. Change-Id: I774948ba119e3e4a2dd438e1ed1588bfb9fefae2
| * NotificationLightSettings: Remove noop fields when LED can't pulseAlberto972016-11-211-9/+24
| | | | | | | | Change-Id: I639b7fc385ffbc551ca3708d9f42db59662b6bee
| * Settings: Hide Reset action if Battery LED is not multicolorAlberto972016-11-191-4/+8
| | | | | | | | Change-Id: Icb3c7d640cb540d69efa7186c84a92e4e780968d
| * lights: Use NotificationManager to figure out LED capabilitiesRicardo Cerqueira2016-11-104-13/+20
| | | | | | | | | | | | | | | | | | As of f/b change I7d627914b058861048071fc15776031c4152157f, there's a more generic helper method in the notification service to get a more unified (and extensible) list of what the on-device LEDs can do. Move away from direct usage of the boolean resources. Change-Id: Ib9a6f28dc52af722dac168ec219b790ad94d6a19
| * Settings: Fix mismergeBruno Martins2016-11-091-9/+2
| | | | | | | | | | | | * This was wrongly added during merge of tag 'android-6.0.1_r74' Change-Id: I43f10016b69b4680da01be77ecb5fbb7e84a7429
| * Merge tag 'android-6.0.1_r74' into HEADJessica Wagantall2016-11-091-1/+10
| |\ | | | | | | | | | | | | | | | | | | | | | CYNGNOS-3303 Android 6.0.1 release 74 Change-Id: Id902564eaffb5084650acbee5f9b853fba21cc86
| | * [Fingerprint] Remove learn more link if not provisioned. DO NOT MERGEMaurice Lam2016-09-271-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the learn more link during setup wizard, because HelpUtils is returning null for the intent while the device is not provisioned. Bug: 31246856 Change-Id: I4cf5c282f170188aef98a02d3b96af5e63ea7f39 (cherry picked from commit c94f2b93afa2db9d87f9d8e0dc0c8709f16a326d)
| * | SecuritySettings: Fix KeyStore related NPE'sMarcos Marado2016-10-281-18/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Both "Show password" and "Credential storage" options depend on having a KeyStore. However, KeyStore assumes that there's an android.security.keystore service around. Let's validate if it indeed exists and not show those two sections if it doesn't, in order to avoid breakage. Issue: BUGDUMP-7995106 Change-Id: I30b74057aae42e72387087d1c1d847dd8524f87f
| * | Add setup UI for minimum delay between an app's notification sounds.Danny Baumann2016-10-272-0/+58
| | | | | | | | | | | | Change-Id: I70e9cc308b4f7c7681457a0b09dd73e5d1aebb73
| * | Allow selecting vibration mode during zen priority mode.Danny Baumann2016-10-271-0/+17
| | | | | | | | | | | | Change-Id: I4e80e920e4d8f42b0255fd3f528c464b7f094d0e
| * | Settings: Apn: Don't dereference a null mSubscriptionInfoDiogo Ferreira2016-10-251-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | When switching sims mSubscriptionInfo can be temporarily null, don't dereference it in those cases. The interface will be updated afterwards when the subscription status changes. Change-Id: I1011a10434fad8fd911164217b9fb2d0dfb82b2a Ticket: CYNGNOS-3291
| * | Settings: display: Fix search indexing of high touch sensitivityZhao Wei Liew2016-10-081-1/+1
| | | | | | | | | | | | | | | | | | | | | Mark the feature as non-indexable if it is *unsupported*, not if it is supported. Change-Id: Ia1388044ec5944e1782f894ed0c6abe4b3e0c9e8
| * | Settings: Fix possible NPEMichael W2016-09-181-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | Checking applicationInfo on a null object causes a NPE Check for null first and make the menu entry invisible in that case Change-Id: I9c6c1156e8d809abf9f13a80eaa908317cba8bdc Reference: BugDumps 20160909-15 L#39
| * | Settings: Notification light: Fix for app customizationMichael W2016-09-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | If the list was filled with an app which gets deinstalled, the previously introduced explanation is not shown anymore. Make the display dependent on the real amount of added prefs, not on the expected amount of apps in the list. Change-Id: Id1f674d519a440e3d811d4dd565d760c045e9f84
| * | DevelopmentSettings: Add an opt-out for recovery updaterAdrian DC2016-09-152-5/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Some devices should not have this option, for instance all Sony devices supported on CyanogenMod already include the ROM's recovery inside the ramdisk and provide their own init_sony boot selection * Makes sure a user did not enable the option on old installations by disabling it if needed * Disable the recovery updater through the new overlay * Prevent recovery updater related features to run, and pass an additional context argument from BootReceiver to initializeUpdateRecoveryOption to access resources * Similar to the original CM 11.0 commit by Dan Pasanen Change-Id: I1963e27e59353e1a7e26a4edf905bee6c9da0571
| * | Don't crash while entering in DevelopmentSettingsMarcos Marado2016-09-131-0/+4
| | | | | | | | | | | | | | | | | | ...when there's no Backup Manager Change-Id: I24261cfc7d2709d07b895899216ab38d4a757095
| * | Fix AIOOBE with root access disabled.Danny Baumann2016-09-091-30/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | Page title and template array lengths got out of sync if root access was disabled. Make sure this doesn't happen anymore by combining titles and templates into a single list prior to filtering. Change-Id: I069db9b9925887d6d80592eabe93b33abeaf0fe8 JIRA: CYAN-8028
| * | Settings: Hidden option to view Device IDJanet Sun2016-09-081-1/+48
| | | | | | | | | | | | | | | | | | | | | | | | On tapping 7 times, show the device ID and copy it to clipboard. CYNGNOS-3232 Change-Id: I1f18874be20671d66ccbe9132bce5d772be14dd9
| * | Merge tag 'android-6.0.1_r66' into HEADJessica Wagantall2016-09-073-0/+18
| |\ \ | | |/ | | | | | | | | | | | | | | | Android 6.0.1 release 66 # gpg: Signature made Tue 06 Sep 2016 09:27:08 AM PDT using DSA key ID 9AB10E78 # gpg: Can't check signature: public key not found
| | * Pre-setup restrictions DO NOT MERGEJason Monk2016-07-213-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Prevent external tiles from system apps - Don't let user settings run - Disable help Bug: 29194585 Change-Id: I74ab8aaab62d62cc4dbbdf3164429a503f3a572b
| | * DO NOT MERGE Modify system settings: incorrect UI stateSvetoslav2016-02-161-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The privilege for an app to write to the system settings is protected by an app-op signature permission. App-op permissions are special: if the app-op is deny/allow we deny/allow write access; if the app-op is default holding the permission determies write access. The settings code assumes that CHANGE_NETWORK_STATE is an app op permission (system|appop) while it is a normal permission which any app gets by declaring it used in the manifest. The side effect is that the state of the toggle in the UI for write system settings will initially be in the wrong state if the app uses both WRITE_SETTINGS and CHANGE_NETWORK_STATE. However, the code in the public API an app uses to check write settings access would return the opposite since it checks the WRITE_SETTINGS permission and its app op. Hence, if an app requires write settings to start the user will see in the settings UI it has access but the app will not have access, so the app would prompt the user to allow write settings. The non-obvious fix is for the user to toggle the setting off and on to get the app op in the right state and be able to launch the app. bug:25843134 Change-Id: I3d726a66c7f9857bc7dbd5946fdbb8f340c6eb4d (cherry picked from commit 356fb2d10d9f4c236b0f10d0e2facb93028b9f3c) (cherry picked from commit 119d589ea5aa9c2ccc5164279d718a20d0865f20)
| * | Settings: move high touch sensitivity setting to DisplayRoman Birg2016-08-123-25/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | For devices that support this feature, it makes sense to place this under display settings as most people wouldn't look under language. Ticket: CYNGNOS-3250 Change-Id: Ib99f5e8c5f0f2bdae7b5b5f788a364a1d63aa146 Signed-off-by: Roman Birg <roman@cyngn.com>
| * | Settings:Fix mImsi null cause ApnSettings crashxiaognol2016-08-111-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | mImsi may be "null" in some case,if we use "" instead may cause crash in ApnSettings&com.android.phone. so fix it to use old way to set Apn in that "null" case. Change-Id: I0119e9a3f58c688e0e271ae62f50484ad8a29da9
| * | Settings: remove wifi hotspot timeout when hotspot settings are removedScott Mertz2016-08-111-0/+1
| | | | | | | | | | | | Change-Id: Id69c58ab5227286922518fe11243bc2134d7f300
| * | Settings: Show only one tab on PrivacyGuard direct accessAdrian DC2016-08-111-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Allow an intent request to a specific tab to be isolated, giving access only to the expected settings * "Apps started on boot" opens only Bootup * "Manage root accesses" opens only Root Access * Related to the following commits Ia5bc9d56fb11700b19d73336fad13c0a936091ff I79d963ecbadc624dc45a398387a348691318b6be Change-Id: I5a720fe2a8abe5fdf1a1b91c054d8b3a57d6cc5d Signed-off-by: Adrian DC <radian.dc@gmail.com>
| * | Settings: Root appops access in developer settingsAdrian DC2016-08-111-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Allow users to directly access the root app settings, as the feature is mostly unknown and often a reason for users to try using alternatives to CM root * Use the appops extra intent to link the su tab, introduced in I79d963ecbadc624dc45a398387a348691318b6be Change-Id: Ia5bc9d56fb11700b19d73336fad13c0a936091ff Signed-off-by: Adrian DC <radian.dc@gmail.com>
| * | Settings: Animate pin/pattern fragment only if availableLuis Vidal2016-08-091-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | To prevent NPE, check if the PIN/Pattern/Password confirmation fragment is available before performing animation Change-Id: I4ae78569f953daa6696e96c8318a0c059aaf3502 TICKET: HAM-1397
| * | Revert "Settings: Add screen color settings"Steve Kondik2016-08-054-999/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * We now have support for HSIC controls in LiveDisplay and this can be deprecated. A new UI to bring the same kind of functionality is underway as well. This reverts commit 853513841512a0fbf15dc22c7164a98d0a2de80b. Change-Id: I4fa3af25f64b05338a78ba7832e75333cf15e448
| * | livedisplay: Add picture adjustment settingsSteve Kondik2016-08-052-11/+283
| | | | | | | | | | | | | | | | | | | | | * Allow user setting of hue, saturation, intensity, and contrast * These controls are associated by the current display mode Change-Id: I5de24a0b5c2972f115920167fa97afa3a136b80d
| * | Allow restricted users to change status bar settingsSam Mortimer2016-08-041-0/+1
| | | | | | | | | | | | Change-Id: I121653cfd8e74333db32d7db18fc2dde05f00e2d
| * | ZenMode rules: Show days list in the correct orderLuis Vidal2016-07-281-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Populate the days list based on what the first day of the week is for the current locale. Ex. Sunday is the first item in the list for US, whereas Monday is for UK Change-Id: Ib3c03a59cee73cfcd809fb115a5d49e5eb7c2e45 TICKET: CYNGNOS-3181
| * | SimSettings: Make provisioning optional even if qti-telephony is presentRicardo Cerqueira2016-07-281-1/+2
| | | | | | | | | | | | | | | | | | | | | Current code assumes the manual provisioning options should come up if the qti-telephony blob is present. Don't make that assumption. Change-Id: I5e4f28b628e3fe3fe9e506631e92c85103e87ccf
| * | Add SIM status string for localizing voice/data stringsd34d2016-07-271-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | SIM status hard codes "voice" and "data" and therefore cannot be translated. This patch adds a format string that can now be properly translated. Change-Id: I3797b795d00aae875c0d33a1ee152f4c1e09021b TICKET: CYNGNOS-3227
| * | Settings: Fix possible crashMichael W2016-07-271-2/+3
| | | | | | | | | | | | | | | | | | | | | applicationInfo is null sometimes, check that first Change-Id: I4c2d73cced26b8900c95ede08e5a9c478c107529 Reference: BugDumps 13-20160715-21 L#52