OSDN Git Service

android-x86/packages-apps-Settings.git
7 years agoAutomatic translation import
pinky@build01 [Fri, 16 Dec 2016 02:13:12 +0000 (18:13 -0800)]
Automatic translation import

Change-Id: Ibfa6607fad1b0f84a126a87abb6c4116a44adc2f
Ticket: -

7 years agoAutomatic translation import
clyde@build01 [Mon, 5 Dec 2016 02:07:50 +0000 (18:07 -0800)]
Automatic translation import

Change-Id: Ie7efb587de11baf48fa9bc581df958fcd04b150a
Ticket: -

7 years agoAutomatic translation import
inky@build01 [Sat, 3 Dec 2016 00:57:17 +0000 (16:57 -0800)]
Automatic translation import

Change-Id: I8991cabc252267d4db6f08dbfaf5513e218029e0
Ticket: -

7 years agoAutomatic translation import
inky@build01 [Tue, 29 Nov 2016 17:39:33 +0000 (09:39 -0800)]
Automatic translation import

Change-Id: I6accc5d5e84063b20a7837ccac93dbcd78c67f21
Ticket: -

7 years agoDataUsageUtils: Clean up based on code review
Tyler Dunn [Tue, 1 Nov 2016 03:37:36 +0000 (23:37 -0400)]
DataUsageUtils: Clean up based on code review

* 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

7 years agotelephony: Disable the SIM state change receiver
Ricardo Cerqueira [Thu, 24 Nov 2016 15:04:06 +0000 (15:04 +0000)]
telephony: Disable the SIM state change receiver

We've mistakenly reimplemented this functionality at the telephony
framework because we didn't realize it was here to begin with (and
neutralized by a QC commit).
Having the QC configuration in place makes _both_ come up, which
is annoying...
Since the f/o/t implementation (change
Iddaef47eefeab43ed99ca6f27f81dffd8dd08689) uses different visual
assets people are already used to, let's forcefully use that one
for now until we figure out which one we want to retain...

Change-Id: I1dfab99e475b2d5aa4574ecdb5d0d7ee6cf00191

7 years agoNotificationLightSettings: Remove noop fields when LED can't pulse
Alberto97 [Wed, 16 Nov 2016 18:11:00 +0000 (12:11 -0600)]
NotificationLightSettings: Remove noop fields when LED can't pulse

Change-Id: I639b7fc385ffbc551ca3708d9f42db59662b6bee

7 years agoSettings: Hide Reset action if Battery LED is not multicolor
Alberto97 [Sat, 19 Nov 2016 15:08:15 +0000 (16:08 +0100)]
Settings: Hide Reset action if Battery LED is not multicolor

Change-Id: Icb3c7d640cb540d69efa7186c84a92e4e780968d

7 years agoSettings: Make proximity wake string more accurate
Zhao Wei Liew [Thu, 17 Nov 2016 12:22:39 +0000 (20:22 +0800)]
Settings: Make proximity wake string more accurate

We also check the proximity sensor for gesture-activated wake-ups,
such as tap to wake.

Change-Id: I4e73a8d9b116e49fa168c1a4a457f55ff3885aea

7 years agolights: Use NotificationManager to figure out LED capabilities
Ricardo Cerqueira [Thu, 10 Nov 2016 12:17:30 +0000 (12:17 +0000)]
lights: Use NotificationManager to figure out LED capabilities

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

7 years agoSettings: Fix mismerge
Bruno Martins [Thu, 10 Nov 2016 00:26:37 +0000 (00:26 +0000)]
Settings: Fix mismerge

 * This was wrongly added during merge of tag 'android-6.0.1_r74'

Change-Id: I43f10016b69b4680da01be77ecb5fbb7e84a7429

7 years agoMerge tag 'android-6.0.1_r74' into HEAD
Jessica Wagantall [Wed, 9 Nov 2016 19:54:56 +0000 (11:54 -0800)]
Merge tag 'android-6.0.1_r74' into HEAD

CYNGNOS-3303

Android 6.0.1 release 74

Change-Id: Id902564eaffb5084650acbee5f9b853fba21cc86

7 years agoSecuritySettings: Fix KeyStore related NPE's
Marcos Marado [Mon, 17 Oct 2016 18:31:46 +0000 (19:31 +0100)]
SecuritySettings: Fix KeyStore related NPE's

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

7 years agoAdd setup UI for minimum delay between an app's notification sounds.
Danny Baumann [Wed, 19 Oct 2016 11:39:33 +0000 (13:39 +0200)]
Add setup UI for minimum delay between an app's notification sounds.

Change-Id: I70e9cc308b4f7c7681457a0b09dd73e5d1aebb73

7 years agoAllow selecting vibration mode during zen priority mode.
Danny Baumann [Mon, 17 Oct 2016 14:42:20 +0000 (16:42 +0200)]
Allow selecting vibration mode during zen priority mode.

Change-Id: I4e80e920e4d8f42b0255fd3f528c464b7f094d0e

7 years agoSettings: Apn: Don't dereference a null mSubscriptionInfo
Diogo Ferreira [Thu, 15 Sep 2016 13:55:04 +0000 (14:55 +0100)]
Settings: Apn: Don't dereference a null mSubscriptionInfo

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

7 years agoSettings: display: Fix search indexing of high touch sensitivity
Zhao Wei Liew [Sat, 8 Oct 2016 04:58:56 +0000 (12:58 +0800)]
Settings: display: Fix search indexing of high touch sensitivity

Mark the feature as non-indexable if it is *unsupported*,
not if it is supported.

Change-Id: Ia1388044ec5944e1782f894ed0c6abe4b3e0c9e8

7 years agoSettings: Update contributors cloud DB
Michael Bestas [Fri, 7 Oct 2016 15:45:19 +0000 (18:45 +0300)]
Settings: Update contributors cloud DB

Change-Id: I28f0d64aa19ec46c8819c70174b3633684898e28

7 years agoMerge tag 'android-6.0.1_r72' into HEAD
Jessica Wagantall [Thu, 6 Oct 2016 18:50:33 +0000 (11:50 -0700)]
Merge tag 'android-6.0.1_r72' into HEAD

Android 6.0.1 Release 72 (M4B30X)

# gpg: Signature made Tue 04 Oct 2016 09:47:45 AM PDT using DSA key ID 9AB10E78
# gpg: Can't check signature: public key not found

7 years ago[Fingerprint] Remove learn more link if not provisioned. DO NOT MERGE
Maurice Lam [Fri, 2 Sep 2016 23:34:38 +0000 (16:34 -0700)]
[Fingerprint] Remove learn more link if not provisioned. DO NOT MERGE

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)

7 years agoAutomatic translation import
pinky@build01 [Sun, 25 Sep 2016 07:15:35 +0000 (00:15 -0700)]
Automatic translation import

Change-Id: I351c2ff04445423b5404e6c5f610ad06bac3efc4
Ticket: -

7 years agoSettings: Fix possible NPE
Michael W [Sun, 18 Sep 2016 09:17:28 +0000 (11:17 +0200)]
Settings: Fix possible NPE

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

7 years agoSettings: Notification light: Fix for app customization
Michael W [Sun, 18 Sep 2016 15:39:21 +0000 (17:39 +0200)]
Settings: Notification light: Fix for app customization

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

7 years agoDevelopmentSettings: Add an opt-out for recovery updater
Adrian DC [Tue, 10 Jun 2014 02:16:24 +0000 (21:16 -0500)]
DevelopmentSettings: Add an opt-out for recovery updater

 * 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

7 years agoDon't crash while entering in DevelopmentSettings
Marcos Marado [Fri, 15 Apr 2016 14:34:40 +0000 (15:34 +0100)]
Don't crash while entering in DevelopmentSettings

...when there's no Backup Manager

Change-Id: I24261cfc7d2709d07b895899216ab38d4a757095

7 years agoAutomatic translation import
inky@build01 [Sat, 10 Sep 2016 19:56:46 +0000 (12:56 -0700)]
Automatic translation import

Change-Id: Id900144fba6e18d454118f7592a9e40b6ff54b96
Ticket: -

7 years agoAutomatic translation import
clyde@build01 [Sun, 11 Sep 2016 04:01:34 +0000 (21:01 -0700)]
Automatic translation import

Change-Id: I239439318d045bb69f69cd88ee067e618d08baa4
Ticket: -

7 years agoFix AIOOBE with root access disabled.
Danny Baumann [Mon, 5 Sep 2016 07:14:26 +0000 (09:14 +0200)]
Fix AIOOBE with root access disabled.

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

7 years agoSettings: Hidden option to view Device ID
Janet Sun [Fri, 5 Aug 2016 23:41:16 +0000 (16:41 -0700)]
Settings: Hidden option to view Device ID
On tapping 7 times, show the device ID and copy it
to clipboard.
CYNGNOS-3232

Change-Id: I1f18874be20671d66ccbe9132bce5d772be14dd9

7 years agoMerge tag 'android-6.0.1_r66' into HEAD
Jessica Wagantall [Wed, 7 Sep 2016 19:40:29 +0000 (12:40 -0700)]
Merge tag 'android-6.0.1_r66' into HEAD

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

7 years agoAutomatic translation import
clyde@build01 [Wed, 7 Sep 2016 03:06:44 +0000 (20:06 -0700)]
Automatic translation import

Change-Id: I8cc54b3454ed30a329787931b8d0fcff0f11bf36
Ticket: -

7 years agoAutomatic translation import
pinky@build01 [Sun, 28 Aug 2016 03:32:25 +0000 (20:32 -0700)]
Automatic translation import

Change-Id: I16bbbddc26bf598f9156e20ba0032b54cca7b227
Ticket: -

7 years agoAutomatic translation import
pinky@build01 [Sat, 27 Aug 2016 21:22:29 +0000 (14:22 -0700)]
Automatic translation import

Change-Id: I07d3bda3746ddb983302208b7fecce1a23ac02d4
Ticket: -

7 years agoPre-setup restrictions DO NOT MERGE
Jason Monk [Thu, 30 Jun 2016 15:26:08 +0000 (11:26 -0400)]
Pre-setup restrictions DO NOT MERGE

 - Prevent external tiles from system apps
 - Don't let user settings run
 - Disable help

Bug: 29194585
Change-Id: I74ab8aaab62d62cc4dbbdf3164429a503f3a572b

7 years agoAutomatic translation import
blinky@build01 [Sat, 13 Aug 2016 20:33:25 +0000 (13:33 -0700)]
Automatic translation import

Change-Id: I4e7d6adaf0c00d032921fe688b3e9f742437c017
Ticket: -

7 years agoSettings: move high touch sensitivity setting to Display
Roman Birg [Wed, 10 Aug 2016 19:42:07 +0000 (12:42 -0700)]
Settings: move high touch sensitivity setting to Display

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>
7 years agoSettings:Fix mImsi null cause ApnSettings crash
xiaognol [Mon, 13 Jun 2016 17:39:30 +0000 (01:39 +0800)]
Settings:Fix mImsi null cause ApnSettings crash

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

7 years agoSettings: remove wifi hotspot timeout when hotspot settings are removed
Scott Mertz [Thu, 11 Aug 2016 17:37:45 +0000 (10:37 -0700)]
Settings: remove wifi hotspot timeout when hotspot settings are removed

Change-Id: Id69c58ab5227286922518fe11243bc2134d7f300

7 years agoSettings: Show only one tab on PrivacyGuard direct access
Adrian DC [Fri, 5 Aug 2016 22:18:09 +0000 (00:18 +0200)]
Settings: Show only one tab on PrivacyGuard direct access

 * 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>
7 years agoSettings: Root appops access in developer settings
Adrian DC [Fri, 5 Aug 2016 07:11:44 +0000 (09:11 +0200)]
Settings: Root appops access in developer settings

 * 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>
7 years agoSettings: Animate pin/pattern fragment only if available
Luis Vidal [Fri, 5 Aug 2016 19:54:12 +0000 (12:54 -0700)]
Settings: Animate pin/pattern fragment only if available

To prevent NPE, check if the PIN/Pattern/Password confirmation
fragment is available before performing animation

Change-Id: I4ae78569f953daa6696e96c8318a0c059aaf3502
TICKET: HAM-1397

7 years agoAutomatic translation import
blinky@build01 [Mon, 8 Aug 2016 02:27:42 +0000 (19:27 -0700)]
Automatic translation import

Change-Id: I9b865e55bc5b3b50b7a41567eb8099719d66d2e3
Ticket: -

7 years agoRevert "Settings: Add screen color settings"
Steve Kondik [Fri, 22 Jul 2016 06:55:13 +0000 (23:55 -0700)]
Revert "Settings: Add screen color settings"

 * 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

7 years agolivedisplay: Add picture adjustment settings
Steve Kondik [Fri, 22 Jul 2016 06:43:51 +0000 (23:43 -0700)]
livedisplay: Add picture adjustment settings

 * Allow user setting of hue, saturation, intensity, and contrast
 * These controls are associated by the current display mode

Change-Id: I5de24a0b5c2972f115920167fa97afa3a136b80d

7 years agoAllow restricted users to change status bar settings
Sam Mortimer [Tue, 19 Jul 2016 03:48:39 +0000 (20:48 -0700)]
Allow restricted users to change status bar settings

Change-Id: I121653cfd8e74333db32d7db18fc2dde05f00e2d

7 years agoAutomatic translation import
inky@build01 [Mon, 1 Aug 2016 02:00:43 +0000 (19:00 -0700)]
Automatic translation import

Change-Id: I181b7c06e3af2101e5506bd2490d8ae35c45a0b9
Ticket: -

7 years agoAutomatic translation import
blinky@build01 [Fri, 29 Jul 2016 20:04:45 +0000 (13:04 -0700)]
Automatic translation import

Change-Id: If6551faaef84e6b870131465c757fc46b5456725
Ticket: -

7 years agoAutomatic translation import
inky@build01 [Thu, 28 Jul 2016 19:34:39 +0000 (12:34 -0700)]
Automatic translation import

Change-Id: I2db12f567932f5357531631a68c436657f49f59c
Ticket: -

7 years agoZenMode rules: Show days list in the correct order
Luis Vidal [Wed, 27 Jul 2016 18:42:45 +0000 (11:42 -0700)]
ZenMode rules: Show days list in the correct order

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

7 years agoSimSettings: Make provisioning optional even if qti-telephony is present
Ricardo Cerqueira [Thu, 28 Jul 2016 11:29:40 +0000 (12:29 +0100)]
SimSettings: Make provisioning optional even if qti-telephony is present

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

7 years agoAdd SIM status string for localizing voice/data strings
d34d [Wed, 27 Jul 2016 17:43:24 +0000 (10:43 -0700)]
Add SIM status string for localizing voice/data strings

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

7 years agoAutomatic translation import
clyde@build01 [Wed, 27 Jul 2016 19:19:19 +0000 (12:19 -0700)]
Automatic translation import

Change-Id: I75b51c7dd6065f768c28d1ae09d173ea55239845
Ticket: -

7 years agoSettings: Fix possible crash
Michael W [Fri, 22 Jul 2016 16:16:59 +0000 (18:16 +0200)]
Settings: Fix possible crash

applicationInfo is null sometimes, check that first

Change-Id: I4c2d73cced26b8900c95ede08e5a9c478c107529
Reference: BugDumps 13-20160715-21 L#52

7 years agoSettings: Improve vibrator intensity dialog layout
Zhao Wei Liew [Fri, 1 Jul 2016 16:48:22 +0000 (00:48 +0800)]
Settings: Improve vibrator intensity dialog layout

 - Remove redundant 'Vibrator intensity' text
 - Align the text and seekbars
 - Get rid of the ScrollView
 - Clean up

Visual:
http://imgur.com/YB7Ez3m

Change-Id: I4d80f7df2f18b580eaef1ca44ce0560e044ee065

7 years agoAutomatic translation import
inky@build01 [Tue, 26 Jul 2016 18:28:01 +0000 (11:28 -0700)]
Automatic translation import

Change-Id: I6b60b16ef9530eace717d3e93f576a0a3e451abf
Ticket: -

7 years agoSettings: Always set text value in color temperature
Keith Mok [Fri, 15 Jul 2016 16:30:39 +0000 (09:30 -0700)]
Settings: Always set text value in color temperature

onProgressChange is not always called if we set the
color temperature to minimum, since it is the default
value (no change).
Causing the text showing the color temperature is empty.

Call onProgressChange explicitly during init.

FEIJ-1581

Change-Id: I7e0f8995cfc62a53770e787dc649109b9c3bf189

7 years agoAutomatic translation import
blinky@build01 [Mon, 25 Jul 2016 18:49:03 +0000 (11:49 -0700)]
Automatic translation import

Change-Id: I2d60336a2f80fe68568b4a33488547d5614b4187
Ticket: -

7 years agoAutomatic translation import
blinky@build01 [Sun, 24 Jul 2016 20:43:45 +0000 (13:43 -0700)]
Automatic translation import

Change-Id: I127cdf44db7bbc0de5c84f532dee2ab151550c73
Ticket: -

7 years agoAutomatic translation import
inky@build01 [Fri, 22 Jul 2016 19:04:58 +0000 (12:04 -0700)]
Automatic translation import

Change-Id: Id177efe6c51cd3424564bf663746fb1fcd00f7c7
Ticket: -

7 years agoPre-setup restrictions DO NOT MERGE
Jason Monk [Thu, 30 Jun 2016 15:26:08 +0000 (11:26 -0400)]
Pre-setup restrictions DO NOT MERGE

 - Prevent external tiles from system apps
 - Don't let user settings run
 - Disable help

Bug: 29194585
Change-Id: I74ab8aaab62d62cc4dbbdf3164429a503f3a572b

7 years agoAutomatic translation import
pinky@build01 [Thu, 21 Jul 2016 18:19:21 +0000 (11:19 -0700)]
Automatic translation import

Change-Id: I7b8461ce071d185f5219347678bd030c9d1c51c1
Ticket: -

7 years agosettings: Add support for color balance in LiveDisplay
Steve Kondik [Mon, 18 Jul 2016 09:41:19 +0000 (02:41 -0700)]
settings: Add support for color balance in LiveDisplay

 * Use the newly exposed APIs to map color temperatures to
   the linear color balance range using a power curve
   calculation.

Change-Id: Ia1b7f26b5e4fff6d0f0e78d6cb62a7a9a2aec30e

7 years agoAutomatic translation import
pinky@build01 [Sun, 17 Jul 2016 18:16:40 +0000 (11:16 -0700)]
Automatic translation import

Change-Id: I8c6d8383eae17654df86d618b6dc63d32c340741
Ticket: -

7 years agoAutomatic translation import
pinky@build01 [Sat, 16 Jul 2016 16:42:57 +0000 (09:42 -0700)]
Automatic translation import

Change-Id: I9c038a2823e8c6360864dc6c8bbd94b4fb54650b
Ticket: -

7 years agoAutomatic translation import
inky@build01 [Fri, 15 Jul 2016 17:00:55 +0000 (10:00 -0700)]
Automatic translation import

Change-Id: I16a91343278b13d1dea55f9133bcf5f5d3112d64
Ticket: -

7 years agoSettings: Don't enable proximity on wake by default
Gabriele M [Thu, 5 May 2016 20:54:40 +0000 (22:54 +0200)]
Settings: Don't enable proximity on wake by default

This is set depending on config_proximityCheckOnWakeEnabledByDefault

Change-Id: I3b93f4173c725c7603152be9f8b1a4f1425f617a

7 years agoAutomatic translation import
blinky@build01 [Thu, 14 Jul 2016 16:38:44 +0000 (09:38 -0700)]
Automatic translation import

Change-Id: I1caa7e943f76ca15503bacb6a69dd45abc42dc13
Ticket: -

7 years agoAutomatic translation import
pinky@build01 [Wed, 13 Jul 2016 17:01:36 +0000 (10:01 -0700)]
Automatic translation import

Change-Id: Ib44237410311e2373b9ced02125aa2e4dbc9b1e5
Ticket: -

7 years agoAutomatic translation import
pinky@build01 [Tue, 12 Jul 2016 20:17:06 +0000 (13:17 -0700)]
Automatic translation import

Change-Id: I92388d5ef8ad6bbf8628374a986f72864f829796
Ticket: -

7 years agoSettings: Always set ramp-up time value during bindView
Keith Mok [Tue, 12 Jul 2016 16:45:45 +0000 (09:45 -0700)]
Settings: Always set ramp-up time value during bindView

onProgressChange is not always called if we set the
ramp up time to 5 sec (0 in seekbar value, since it is
the default value, no change).
Causing the text showing the ramp up time text value not
updated and display as empty when user enable/disable
increasing ring volume with ramp up time set to 5 sec.

FEIJ-1572

Change-Id: Id32d6b51aab05e80be59bc1912c4ae7c5d114ac5

7 years agoAutomatic translation import
clyde@build01 [Tue, 12 Jul 2016 00:09:42 +0000 (17:09 -0700)]
Automatic translation import

Change-Id: I8cac94e7ac0bc215be6ea57da04497f0e61ce2e4
Ticket: -

7 years agoSettings: Add adaptive display mode desc. strings
Zhao Wei Liew [Fri, 1 Jul 2016 13:05:34 +0000 (21:05 +0800)]
Settings: Add adaptive display mode desc. strings

Samsung devices support an 'Adaptive' display mode, or more
commonly known as 'Auto'. Add the descriptions for this mode.

Change-Id: I8532c00b01c0adf5d8d4ff0baed13246937d1ced

7 years agoBreak out Bluetooth device icon from dashboard reference.
Dave Kover [Thu, 7 Jul 2016 19:14:46 +0000 (12:14 -0700)]
Break out Bluetooth device icon from dashboard reference.

If a theme wants to use a different visual iconography style in
the subsettings, the bluetooth icon is shared between the dashboard
and that view. By adding this new reference, a themer can choose to
independently theme the subsettings version if their design calls
for that.

Change-Id: Iac3a58175f90357e0c42efe57b1e698d5c8e2ad3
Ticket: CYNGNOS-3176

7 years agoInstalledAppDetails: fix refreshing storage summary after force stop
Altaf-Mahdi [Thu, 7 Jul 2016 08:57:32 +0000 (09:57 +0100)]
InstalledAppDetails: fix refreshing storage summary after force stop

* if app is force stopped, current implementation causes a nasty loop which in turn causes
  very high cpu usage: refreshUi() > checkForceStop() > mCheckKillProcessesReceiver > refreshUi()

* fix storage not being updated by running refreshUi() in onRunningStateChanged from AppInfoBase

Ticket: CYNGNOS-2527

Change-Id: Iec24bb620d1a6287d7ccf583db978ef338ef762e

7 years agoAutomatic translation import
pinky@build01 [Wed, 6 Jul 2016 19:00:06 +0000 (12:00 -0700)]
Automatic translation import

Change-Id: Ifd76aa8307f0bf250dfbf92898c4caee104bcf26
Ticket: -

7 years agoPrevent orientation changes from destroying/recreating security settings
Scott Mertz [Wed, 29 Jun 2016 01:00:08 +0000 (18:00 -0700)]
Prevent orientation changes from destroying/recreating security settings

Logic in SecuritySettings deliberately recreates the entire preference
tree in onResume rather than onCreate.  This causes the state to be
lost when the orientation changes.

Instead of destroying/recreating when the orientation changes, handle
it ourselves.

Change-Id: I6276d8f97cb64a4823286f263642926561d7f2d0

7 years agoSettings: Disable sim switch if subscription isn't valid
Luca Stefani [Sun, 3 Jul 2016 19:56:08 +0000 (21:56 +0200)]
Settings: Disable sim switch if subscription isn't valid

Change-Id: I22ba9a3270da13f77fdd43586b7dc487f0929453

7 years agoSettings: Don't set the icon for sim activation / deactivation dialog
LuK1337 [Sun, 3 Jul 2016 20:11:26 +0000 (22:11 +0200)]
Settings: Don't set the icon for sim activation / deactivation dialog

* This icon doesn't look any good.
  It's better to just get rid of it.

Change-Id: I47f70a80136695e9aa61ff98999a2cf770390079

7 years agoAutomatic translation import
blinky@build01 [Mon, 4 Jul 2016 18:40:57 +0000 (11:40 -0700)]
Automatic translation import

Change-Id: I0563baf29e6b805719a9e4c83437e8e84e3d5dce

7 years agoTelephony(MSIM): Fix ANR on SIM deactivation
Venkatraman Nerellapalli [Sat, 9 Jan 2016 11:50:00 +0000 (17:20 +0530)]
Telephony(MSIM): Fix ANR on SIM deactivation

Dismiss dialog box on confirmation.
SIM activation & deactivation in background thread.

Change-Id: I0268a710f35e30b2abec3dd671942b52fc0e0b46
CRs-Fixed: 957308

7 years agoFix to enable data for non-dds sub.
Ravindra [Tue, 22 Mar 2016 08:41:51 +0000 (14:11 +0530)]
Fix to enable data for non-dds sub.

When data is enabled\disabled on non-dds sub do not update the data base
directly instead call TelephonyManager api to do the same.

CRs-Fixed: 992072

Change-Id: I53b5ed2f4d6afcb05b09d65fd3d9843829cff995

7 years agoIMS: Set Wifi calling preference to Wifi preferred by default
Benergy Meenan Ravuri [Mon, 15 Feb 2016 12:26:10 +0000 (17:56 +0530)]
IMS: Set Wifi calling preference to Wifi preferred by default

Set Wifi calling preference to Wifi preferred by default instead
of Wifi only

Change-Id: I480db3d211566d0cb414ea50275b554c755b0a03
CRs-Fixed: 977149

7 years agoWi-Fi: Do not display the not scanned saved networks forever
Nalla Kartheek [Fri, 20 Nov 2015 08:02:41 +0000 (13:32 +0530)]
Wi-Fi: Do not display the not scanned saved networks forever

A flag is introduced to signify it these saved profiles were scanned or
not and this commit shall ensure that such entries are displayed only
when the flag indicates to have scanned.

Change-Id: I0c525a493caa39c3bed5149898160dd4662dd0c8
CRs-Fixed: 940917

7 years agoDon't start auto scan if screen recovers from frozen state
venkata Jagadeesh [Wed, 4 Nov 2015 05:59:47 +0000 (11:29 +0530)]
Don't start auto scan if screen recovers from frozen state

Use case:Inquiry initiated from UI after connecting with blackberryZ30

Failure: Inquiry initiated from UI automatically after connecting with
         blackberryZ30,which is not expected

Test steps:
1. Go to BT settings page.
2. Initiate pair and connect remote device from the available devices list

Root cause:mInitialScanStarted set always to false and for every
onActivityCreated,scan will be triggered from UI

Fix: mInitialScanStarted set to false only for new instance,if any screen
recover case,it should not be set as its not a new instance.

Change-Id: Ia38323d5136857e6fe8fa69ed6336d889e29287b

7 years agoFix mcc-mnc population issue in apn editor
Susheel nyamala [Wed, 28 Oct 2015 13:35:21 +0000 (19:05 +0530)]
Fix mcc-mnc population issue in apn editor

When creating a new apn in LTE mode, mcc-mnc values populated on
apn editor are wrong if uicc card is used.
Replace getSimOperator with getIccOperatorNumericForData method,
which returns mcc-mnc values based on PS RAT registered.

Change-Id: I263848bfbeabd4636dccd203c366ab00858ceaaf
CRs-Fixed: 931556

7 years agoUpdate OperatorInfo in Simstatus settings for correct subid
Sridhar Dubbaka [Sun, 18 Oct 2015 20:26:10 +0000 (01:56 +0530)]
Update OperatorInfo in Simstatus settings for correct subid

Update OperatorInfo in Simstatus settings for
correct subid, on which Channel 50 CB message is received.

Change-Id: I0876c94d53f2b4eef8571037c9a0e7d880bc043f
CRs-Fixed: 906537

7 years agoGrey out PIN1 enable/disable option when SUB is not ready
Ruthwar Kumar Ambeer [Thu, 15 Oct 2015 14:09:05 +0000 (19:39 +0530)]
Grey out PIN1 enable/disable option when SUB is not ready

Since it is not possible to interact with UICC card for
PIN1 enable/Disable when SIM is deactivated, PIN1 option
is Disabled in UI.

Change-Id: I64d2ad3a85c15c4ea8936987e384ffd013c1f533
CRs-Fixed: 662114

7 years agoBluetooth : Handle SQL memory situation during OPP.
Sravan Kumar V [Mon, 31 Aug 2015 04:42:04 +0000 (10:12 +0530)]
Bluetooth : Handle SQL memory situation during OPP.

Use case :
1) Use Any tool to Fill memory
2) When available memory is very low, enter
 settings-Bluetooth

Failure :
"Unfortunately, Bluetooth share has stopped" error comes.
Root Cause :
Because of Memory Issue application was unable to perform any SQL
operations.

Fix :
Catch SQLite FullException and SQlite Exception in bluetooth
settings to avoid crash in this use case.

Change-Id: I621816ef6214eead49ba9f5a98a4152572fb1379

7 years agofingerpint: Allow devices to configure sensor location
d34d [Thu, 23 Jun 2016 18:21:45 +0000 (11:21 -0700)]
fingerpint: Allow devices to configure sensor location

The text for enrolling a fingerprint always assumes the sensor is
located on the back.  This patch adds a config integer that defines
where the sensor is located on the device.
  0 = back
  1 = front
  2 = left side
  3 = right side

This patch also adds a new drawable that shows the front of the device
when applicable.

Change-Id: Ia8f5f8ff4ba4d13d35aed3052f60ff665dd4f294
TICKET: CYNGNOS-3089

7 years agoAutomatic translation import
inky@build01 [Wed, 29 Jun 2016 17:50:29 +0000 (10:50 -0700)]
Automatic translation import

Change-Id: I098f8fcf30976e41cb277231b172a0532550b9f9

7 years agosettings: wifi: Default to numeric keyboard for static IP items
Tom Marshall [Tue, 28 Jun 2016 22:26:59 +0000 (15:26 -0700)]
settings: wifi: Default to numeric keyboard for static IP items

CYAN-7646

Change-Id: Ibc02cdcc863d2ae373b24bcfd5b97bf63de99222

7 years agoSettings: Set root access options appropriately
Tom Marshall [Mon, 27 Jun 2016 21:31:57 +0000 (14:31 -0700)]
Settings: Set root access options appropriately

It is possible to be running a user build with a debuggable boot image.
In this case, "su" will not be available.  So only show none/adb.

Jira: BACON-4461

Change-Id: Iaa7df8311b9ea81eabb1566ba6f9159fdc9fab34

7 years agoFix untranslatable
Michael Bestas [Wed, 29 Jun 2016 18:14:31 +0000 (11:14 -0700)]
Fix untranslatable

Change-Id: I22279afa630cd03fe00b58f2c8c6826ea2f2d115

7 years agoSettings : Add country code to blacklist entry dialog
Danesh M [Mon, 20 Jun 2016 21:23:39 +0000 (14:23 -0700)]
Settings : Add country code to blacklist entry dialog

Enforce country code when adding an entry. If the user has regex enabled,
* is added to the list as a choice. This avoids the confusion users are currently
facing where blocking only the number + regex doesn't work, since country code is expected.

Eg :

206* won't work
+1206* works

CYNGNOS-3049
BACON-4953

Change-Id: I9236898f17fcef425e561aaa10e56c5e8c2171a7

7 years agoMake sure LiveDisplay toggle default values are correct.
Danny Baumann [Sat, 25 Jun 2016 11:43:54 +0000 (13:43 +0200)]
Make sure LiveDisplay toggle default values are correct.

Change-Id: If04c3eca9d62d977c4ecd79bda52a88a3e07ce3b

7 years agoUI: Ensure "use for" options displayed when in landscape orientation
lijun.xie [Thu, 16 Jun 2016 05:35:21 +0000 (13:35 +0800)]
UI: Ensure "use for" options displayed when in landscape orientation

Items under the "use for" section of the "Paired devices" dialog for
bluetooth connected headsets can be cut off on some devices when in
landscape mode.  This patch encloses those items in a ScrollView so
the user can scroll the off screen items into view and enable/disable
them.

[Procedures]
1.Go to Settings -> bluetooth
2.Paired with a bluetooth headset
3.Click on the setting of bluetooth headset
4.check the menu list and rotate the phone
5.and can not sliding the list

Change-Id: I52f4d494ca3c71a9ed88b2679868e77b092b4710

7 years agoSettings: Fix possible NPE
Michael W [Sat, 18 Jun 2016 19:50:37 +0000 (21:50 +0200)]
Settings: Fix possible NPE

extras seems to be null sometimes so the call to
extras.get() causes an NPE

Change-Id: I8a95da51aadda8fd6191131570a2f4b2bed762e7
Reference: BugDumps 13-20160610-16 L#64

7 years agoSettings: handle 'always ask' for SMS subscription on 3rd party apps
Roman Birg [Mon, 20 Jun 2016 18:16:18 +0000 (11:16 -0700)]
Settings: handle 'always ask' for SMS subscription on 3rd party apps

We need to ensure that the SMS app has a valid subscription to use as
3rd party apps don't know how to use our custom "always ask" logic.

Don't allow the user to choose "always ask" if a 3rd party SMS app is
currently the deafult.

Ticket: CYNGNOS-3068

Change-Id: I4aabf43adfb4fdc39e7656aa872abf73d9a5edbe
Signed-off-by: Roman Birg <roman@cyngn.com>
7 years agoAutomatic translation import
blinky@build01 [Mon, 20 Jun 2016 20:29:59 +0000 (13:29 -0700)]
Automatic translation import

Change-Id: I25897fe9a0ce867df8c7df0a6e3f232e23519a49

7 years agoSettings : Move trust agent search index to LockscreenSettings
Danesh M [Fri, 17 Jun 2016 21:15:00 +0000 (14:15 -0700)]
Settings : Move trust agent search index to LockscreenSettings

Ensure smart lock takes you to LockscreenSettings instead of
SecuritySettings
CYNGNOS-3053

Change-Id: I2d6f4b29cfad259cebfb3ee97b055f59a131d3de