OSDN Git Service

android-x86/packages-apps-Settings.git
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 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

7 years agoBring back the custom wallpaper picker [3/5]
d34d [Tue, 7 Jun 2016 22:35:50 +0000 (15:35 -0700)]
Bring back the custom wallpaper picker [3/5]

Change-Id: I546a6ce67627c22cfbc7f6f061c21954183936b7
TICKET: OSS-62

7 years agoAutomatic translation import
inky@build01 [Fri, 17 Jun 2016 21:02:01 +0000 (14:02 -0700)]
Automatic translation import

Change-Id: I553fea6885f7da29740630a236f986a6b1a135fe

7 years agoSettings: Apply decor padding in landscape storage wizard
Scott Mertz [Mon, 13 Jun 2016 22:52:18 +0000 (15:52 -0700)]
Settings: Apply decor padding in landscape storage wizard

The header was appearing below the status bar when in landscape
mode.  Add a padding in landscape so the text appears below the
status bar.

FEIJ-1157
Change-Id: I4d3c46958442b517186cc7d796bdd1552c0bdffe

7 years agoSettings: Dissallow privacy guarding system apps on overlay.
Adnan Begovic [Fri, 20 May 2016 19:28:25 +0000 (12:28 -0700)]
Settings: Dissallow privacy guarding system apps on overlay.

  Bandaid fix for google play services inundating the permission
  dialog request queue within AppOps service and causing watchdog
  to consistently kill the system server's activity manager service
  which is deadlocked retrieving dialogs from the queue.

Change-Id: I10c432cebe6a4199517839598046eee7d19dcf72
TICKET: CYNGNOS-2869

7 years agoSettings: Remove hide navigation bar settings
Keith Mok [Tue, 14 Jun 2016 16:44:34 +0000 (09:44 -0700)]
Settings: Remove hide navigation bar settings

Remove hide navigation bar settings in Expanded
desktop if the device has no on-screen navigation
bar currently available.

FEIJ-1194

Change-Id: I4d0a5cc453a13140236f5e2e9f39e970fe759607

7 years agoSettings: fix crash when reset App preference
Ankit Gupta [Tue, 7 Jun 2016 23:11:40 +0000 (16:11 -0700)]
Settings: fix crash when reset App preference

1. mExtraInfoBridge is null when there is no change
made in any app. Calling reset app preference cause
crash in this state.

2. move initialization of mApplication to onViewCreated
from onCreateView to make sure View has been created.

Issue-id: OPO-760

Change-Id: I7a26b27325b54694d2513e8365482c221a5c6b13

7 years agoString improvements
Michael Bestas [Fri, 10 Jun 2016 15:38:17 +0000 (18:38 +0300)]
String improvements

Change-Id: I36662b94a4f2f020c756446b7b2a039eb451fd62

7 years agoAutomatic translation import
pinky@build01 [Thu, 9 Jun 2016 21:50:57 +0000 (14:50 -0700)]
Automatic translation import

Change-Id: I66b9ba2d1c8c4d52b55208b1e3042f52aa9173bb

7 years agoSettings: Allow sorting Applications by size
Roman Royer [Thu, 5 May 2016 02:04:36 +0000 (19:04 -0700)]
Settings: Allow sorting Applications by size

Allow sorting applications by size in Settings->Apps just like in Settings->Storage/USB->Apps
Removed extra whitespace

Change-Id: I9e022162110e1feff20f257992086e66735e0f5e

7 years agoKeyguard: Get your weather on... the lock screen [3/3]
d34d [Mon, 6 Jun 2016 16:45:48 +0000 (09:45 -0700)]
Keyguard: Get your weather on... the lock screen [3/3]

Change-Id: I9b411c86ea02dd95379fe6fcd1814c81c1c7ef0b

7 years agoUse child fragment manager for nested dialog fragment
Artem Shvadskiy [Fri, 3 Jun 2016 21:19:45 +0000 (14:19 -0700)]
Use child fragment manager for nested dialog fragment

Change-Id: I7748b15f45c88b00bc1251121d6760cf16e25646
issue-id: CYNGNOS-2911

7 years agoSettings: use subid & imsi for MSIM apn lookups
Roman Birg [Wed, 1 Jun 2016 17:39:30 +0000 (10:39 -0700)]
Settings: use subid & imsi for MSIM apn lookups

Ticket: PAELLA-158

Change-Id: Icca65a9a46533e1bbcfd4dd08e974d736ea1253b
Signed-off-by: Roman Birg <roman@cyngn.com>
7 years agoAutomatic translation import
inky@build01 [Tue, 7 Jun 2016 00:44:22 +0000 (17:44 -0700)]
Automatic translation import

Change-Id: Ie5bb0b8e6e1980a4e29cedea2820beb893fb7e23

7 years agoRadio info to control QC dbg prop's
Deepak Kundra [Sat, 28 May 2016 03:18:17 +0000 (20:18 -0700)]
Radio info to control QC dbg prop's

Issue-id:FEIJ-679

Change-Id: Ia1c9e5d5899ae173d4fd7fa9b2339013b42f115b

7 years agoAutomatic translation import
clyde@build01 [Fri, 3 Jun 2016 22:14:45 +0000 (15:14 -0700)]
Automatic translation import

Change-Id: I75ed7f58e6fbc7a961b4fe10278393ffde4ef418

7 years agoSettings: fix toggling lockscreen rotation toggle [2/3]
Dan Pasanen [Mon, 2 May 2016 14:34:44 +0000 (09:34 -0500)]
Settings: fix toggling lockscreen rotation toggle [2/3]

Change-Id: I4339afcf7befb70f459b088be9e1fc62a0465b4f

7 years agoLockscreen -> lock screen
Michael Bestas [Thu, 2 Jun 2016 12:46:02 +0000 (15:46 +0300)]
Lockscreen -> lock screen

Change-Id: I1653d92869f4cfd37f3758be178b856a1031cb9b

7 years agoAutomatic translation import
inky@build01 [Wed, 1 Jun 2016 19:02:41 +0000 (12:02 -0700)]
Automatic translation import

Change-Id: Ida39cf15dc6a0a21286d0177a21437747b616775

7 years agoSettings: Add per app controls for LP keyguard notifications (2/2)
Lars Greiss [Mon, 24 Nov 2014 22:50:07 +0000 (23:50 +0100)]
Settings: Add per app controls for LP keyguard notifications (2/2)

Nice done by google but the UX is a problem especially for ppl who are using a lot apps and just want
to see from important apps the notifications on the lockscreen.

This commit adds the ability to

- enable/disable per app the keyguard notification at all
- enable/disable per app ongoing notifications on the keyguard

We handle this over the app policy conf file like the other per app notification options

TICKET: CRACKLING-1127
Change-Id: I12df484379621c3baba333d30a8b545b3a0ec0ae

7 years agoAutomatic translation import
Jessica Wagantall [Fri, 27 May 2016 01:57:52 +0000 (18:57 -0700)]
Automatic translation import

Change-Id: I319222d474b4254d912be3ad8a29a2a5f578b1ac
Ticket: RM-214

7 years agoSettings: Disable cancelable with multi-windows confirm dialog
Keith Mok [Tue, 24 May 2016 22:30:28 +0000 (15:30 -0700)]
Settings: Disable cancelable with multi-windows confirm dialog

When muliti-windows confirm dialog is dismissed by back button,
the status will become inconsistent.

Change-Id: Ie00099dce395f08d9ad782482863f2120977d240

7 years agoSettings: Update oem unlocking status with back button
Keith Mok [Tue, 24 May 2016 22:25:09 +0000 (15:25 -0700)]
Settings: Update oem unlocking status with back button

When oem unlocking confirm dialog dismiss by back button,
the enable oem lock status is not consistent.

FEIJ-780

Change-Id: I42a33896c8d844d965cfc706872903175ffbf1cc

7 years agoSettings: Update oem unlocking status when dismiss
Keith Mok [Tue, 24 May 2016 15:46:20 +0000 (08:46 -0700)]
Settings: Update oem unlocking status when dismiss

When oem unlocking confirm dialog dismiss, need
to update the checkbox status also.

FEIJ-780

Change-Id: I9b5c4446ecd9736051fb7b6c12ad22aa0d985a85

7 years agoFix NPE when user has his lockscreen set to "None"
LuK1337 [Tue, 24 May 2016 15:51:54 +0000 (17:51 +0200)]
Fix NPE when user has his lockscreen set to "None"

Change-Id: Ib4d9612de740009f68f995fdb00c0e5bb38858f6

7 years agoSettings: Remove redundant definition of SoundSettingsActivity.
Adnan Begovic [Sat, 21 May 2016 00:54:32 +0000 (17:54 -0700)]
Settings: Remove redundant definition of SoundSettingsActivity.

  Causes CTS cross-profile intent verification failure.

Change-Id: Id1c92c45cb1fb89e34598d54b9eb45497d629eac
TICKET: FEIJ-104

7 years agoSettings: Fix blur preference removal
luca020400 [Mon, 23 May 2016 07:06:16 +0000 (09:06 +0200)]
Settings: Fix blur preference removal

* The preference lives in the General category group

Change-Id: Ia6ab514557f6ff0c731a9d2a342f8bfea98bd0a6

7 years agoGive user control over lock screen blur
d34d [Tue, 10 May 2016 16:25:31 +0000 (09:25 -0700)]
Give user control over lock screen blur

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: I7add45c607fcf47777d61629a3fc6245ffedb339