OSDN Git Service
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
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
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>
blinky@build01 [Mon, 20 Jun 2016 20:29:59 +0000 (13:29 -0700)]
Automatic translation import
Change-Id: I25897fe9a0ce867df8c7df0a6e3f232e23519a49
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
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
inky@build01 [Fri, 17 Jun 2016 21:02:01 +0000 (14:02 -0700)]
Automatic translation import
Change-Id: I553fea6885f7da29740630a236f986a6b1a135fe
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
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
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
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
Michael Bestas [Fri, 10 Jun 2016 15:38:17 +0000 (18:38 +0300)]
String improvements
Change-Id: I36662b94a4f2f020c756446b7b2a039eb451fd62
pinky@build01 [Thu, 9 Jun 2016 21:50:57 +0000 (14:50 -0700)]
Automatic translation import
Change-Id: I66b9ba2d1c8c4d52b55208b1e3042f52aa9173bb
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
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
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
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>
inky@build01 [Tue, 7 Jun 2016 00:44:22 +0000 (17:44 -0700)]
Automatic translation import
Change-Id: Ie5bb0b8e6e1980a4e29cedea2820beb893fb7e23
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
clyde@build01 [Fri, 3 Jun 2016 22:14:45 +0000 (15:14 -0700)]
Automatic translation import
Change-Id: I75ed7f58e6fbc7a961b4fe10278393ffde4ef418
Dan Pasanen [Mon, 2 May 2016 14:34:44 +0000 (09:34 -0500)]
Settings: fix toggling lockscreen rotation toggle [2/3]
Change-Id: I4339afcf7befb70f459b088be9e1fc62a0465b4f
Michael Bestas [Thu, 2 Jun 2016 12:46:02 +0000 (15:46 +0300)]
Lockscreen -> lock screen
Change-Id: I1653d92869f4cfd37f3758be178b856a1031cb9b
inky@build01 [Wed, 1 Jun 2016 19:02:41 +0000 (12:02 -0700)]
Automatic translation import
Change-Id: Ida39cf15dc6a0a21286d0177a21437747b616775
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
Jessica Wagantall [Fri, 27 May 2016 01:57:52 +0000 (18:57 -0700)]
Automatic translation import
Change-Id: I319222d474b4254d912be3ad8a29a2a5f578b1ac
Ticket: RM-214
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
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
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
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
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
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
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
Jessica Wagantall [Sat, 21 May 2016 00:04:28 +0000 (17:04 -0700)]
Automatic translation import
Change-Id: I2ed8183e1f98487f6af5d998a7a73efba5c535c3
Ticket: RM-214
Danesh M [Thu, 19 May 2016 22:59:09 +0000 (15:59 -0700)]
Settings : Rebuild app list after reset
If the user resets app states, we need to rebuild the list
so the new app info is fetched
FEIJ-706
FEIJ-511
Change-Id: I5d6261d38dc2f06e37b29e6b7ba1f7a1e49a6ab8
Adnan Begovic [Thu, 19 May 2016 22:46:43 +0000 (15:46 -0700)]
Settings: Wrap invocation on search view.
Exception thrown during monkey testing.
Change-Id: I2f08df1e36c386aec0d57e3b6714cdbdd0f29246
TICKET: FEIJ-677
raroyer [Tue, 3 May 2016 05:27:25 +0000 (22:27 -0700)]
Settings: Fix Storage Applications Manager dropdown
Disabled Filter Dropdown in LIST_TYPE_STORAGE is hidden but pops up when clicked, does nothing. Disabling completely.
Change-Id: Id497e59876f0d0adb5997eb300596f17fe9f5cdb
Roman Birg [Wed, 18 May 2016 02:33:42 +0000 (19:33 -0700)]
Settings: persist "always ask" sms sim selection
The dialog was prompted, and the user has picked always prompt, don't
ask them again, the Messaging app will need to request which SIM to use.
Ticket: CYNGNOS-2185, CYNGNOS-2570
Change-Id: I95a510974b89945da252f4c6c3e905e9a0de81af
Signed-off-by: Roman Birg <roman@cyngn.com>
Danesh M [Thu, 19 May 2016 19:07:08 +0000 (12:07 -0700)]
Settings : Add title to xml preference screens
Search indexing was inserting null as the title, which results
in the default "Settings" title if the user selects a search result.
This is inconsistent with the title the user sees when they manually navigate
to that preference screen.
FEIJ-512
Change-Id: I6f6ed7b851c998aa2cb5531bef04e8000ccb8ddd
nadlabak [Fri, 13 May 2016 13:33:34 +0000 (15:33 +0200)]
Revert "wifi: forward port avoid poor connection setting"
This reverts commit
d77990f4cccd4fdc4bd479305ae6c2419d2f8610.
Change-Id: I0987d8eb9e8e6c7730f0576f174b61115973d5fb
Luis Vidal [Mon, 16 May 2016 23:35:35 +0000 (16:35 -0700)]
Settings: update time zone strings on date change
If the user changes the date, most obvious case being from 1970, to a
current date, and the user's selected Locale's country time zones have
been changed (according to ICU), we must update the time zone strings in
the system.
Ref: CYNGNOS-453
Signed-off-by: Roman Birg <roman@cyngn.com>
(cherry picked from commit
926c3b0a50e521368628ef0d9975c99fa4cd3480)
Change-Id: I487c54cd4f933286c5004d24a3f8730ee2d4e4f6
Abhisek Devkota [Tue, 17 May 2016 20:12:22 +0000 (22:12 +0200)]
Automatic translation import
Change-Id: I2384c6bcba0d6e3a921315ba981525d942060b00
Adnan Begovic [Wed, 11 May 2016 21:22:59 +0000 (14:22 -0700)]
Settings: Ignore process kill receiver events if activity is destroyed.
Following the logic for refresh ui attempts to getContext() from the
underlying activity which may have already been destroyed causing
an NPE.
Change-Id: Ibe110022ebedcc55a01f3bda66501580c8d92fed
TICKET: NIGHTLIES-2935
Kamaljeet Maini [Tue, 10 May 2016 23:25:17 +0000 (16:25 -0700)]
Close "Protected apps" activity during power cycle
Protected apps activity in Settings is accessed after entering
correct pattern. If user turns off/on the phone while Protected
apps is in foreground, the user must enter pattern again before
using the Protected apps.
Added code in onPause method to close the Protected apps activity
if the user has already been authorized and there is no screen
orientation change.
Change-Id: Ie36ac0f54cce62228f6d0d56fef2e1f24096a803
Issue-Id: FEIJ-491
luca020400 [Tue, 10 May 2016 20:56:23 +0000 (22:56 +0200)]
Settings: Move vibrator value restore to onActivityStop
Change-Id: Ia35f1dcffd86c8c2717e68cd91537d652ecfa982
Abhisek Devkota [Sun, 15 May 2016 00:47:33 +0000 (02:47 +0200)]
Automatic translation import
Change-Id: Ibe9208e0bacb2af41239bc770df6b1b87df67264
Abhisek Devkota [Sat, 14 May 2016 09:18:01 +0000 (11:18 +0200)]
Automatic translation import
Change-Id: I7ee9dc842c846c2177383128a5a13e9fbb69b63c
Arvin Quilao [Tue, 3 May 2016 02:19:04 +0000 (10:19 +0800)]
Use correct icon for sim card
Instead of storage/sdcard icon, use the correct
vector drawable sim card icon.
Change-Id: I8349eae870b774671e635aabfb42b2b455ff1cd3
Michael Bestas [Fri, 13 May 2016 20:36:56 +0000 (23:36 +0300)]
Cleanup cm_arrays
* Remove unused resources
* Set untranslatables
* Convert remaining arrays to string references
Change-Id: I8ae61eb81e0148e8b6954ebc46960348bf35044c
Luis Vidal [Wed, 11 May 2016 23:58:54 +0000 (16:58 -0700)]
Profiles: Disable notification item if ringtone & notification volumes are linked
The notification item will be disabled if the notification and
ringtone volumes are linked. This is to keep consistency with the
sound settings
Change-Id: Ibbe7612eae5e9b7b18d63450ab8331f02becf5ca
TICKET: CYNGNOS-958
Danesh M [Thu, 12 May 2016 02:27:30 +0000 (19:27 -0700)]
Settings : Filter livelockscreen, button for secondary users
Secondary users should not be able to configure either of those.
OPO-696
Change-Id: I43409c090fb12df576c29297fb506c70e6583bce
Luis Vidal [Fri, 6 May 2016 22:54:36 +0000 (15:54 -0700)]
Disable cellular networks settings menu if airplane mode is enabled
Cellular networks settings menu will be disabled
if user enables airplane mode
Change-Id: I83d78754918d50c02e19121ffcfb673bb1dc5797
TICKET: CYNGNOS-2697
Luis Vidal [Wed, 11 May 2016 00:16:47 +0000 (17:16 -0700)]
Add config to hide/show weather menu
This config controls whether the weather menu
should be displayed in settings
Change-Id: I89502d22cb56496825f497e6b19fce3d8e0a7a3c
TICKET: CYNGNOS-2796
Abhisek Devkota [Tue, 10 May 2016 23:20:26 +0000 (16:20 -0700)]
Automatic translation import
Change-Id: I534298276780b88f87567ab977bd8ce1d1a856e4
Ticket: RM-232
Michael Bestas [Tue, 10 May 2016 15:38:09 +0000 (18:38 +0300)]
Automatic translation import
Change-Id: Idf93c9826109ee82aa18fc78a5fe6dff47bc5588
LuK1337 [Wed, 4 May 2016 15:43:43 +0000 (17:43 +0200)]
Disable battery pulsing if segmented battery LED is enabled
Change-Id: Ic5b4e7ce7830c43e84f9a14919ea85bbe993ac99
Luis Vidal [Wed, 27 Apr 2016 05:42:21 +0000 (22:42 -0700)]
Add option to select temperature unit
Added a menu in the weather settings to select the
temperature unit. This setting will be visible only
if the user has at least one weather service provider
installed.
The weather settings layout was refactored to make room
for this new preference
Change-Id: I5e9f206573e0ff95fcee31a010b52530a907acc6
TICKET: CYNGNOS-2605
Dave Kover [Thu, 5 May 2016 00:25:21 +0000 (17:25 -0700)]
Update power control widget preview image.
The image was not reflective of the current design of the widget.
Change-Id: Ia3fe45337359edbb0c469ff2e1d2fd1f1351b8f0
Ticket: FEIJ-305
Danesh M [Thu, 5 May 2016 02:10:11 +0000 (19:10 -0700)]
WifiSettings : Fix forgetting saved networks crash after rotation
FEIJ-310
Change-Id: If6e3e28025ae4eba0bf20d53c68b7d840f76ce6c
Ankit Gupta [Tue, 3 May 2016 20:41:41 +0000 (13:41 -0700)]
Settings: sync qs invert color with color inversion in Settings
Color inversion in settings is not consistent with the quick
settings tiles for the inverted color.
This patch registers the invert color settings variable to
content resolver to apply any change to it from either
qs tiles or settings menu.
Change-Id: Ib1433238d4985e930f3a1c650198dbeb05ccba52
Issue-id: FEIJ-164
Sam Mortimer [Sun, 1 May 2016 18:11:45 +0000 (11:11 -0700)]
Partial revert "Settings : Add per app internet/data control"
This reverts commit
a3549a2715e47ce07297315586ea9c5798da2997
Revert changes only to:
src/com/android/settings/privacyguard/PrivacyGuardManager.java
src/com/android/settings/privacyguard/AppInfoLoader.java
We currently have inconsistent behaviour where:
*) if pg is on by default, a newly installed app will not
have restricted network access
*) if the pg state for an app is toggled off/on it will end
up with restricted network access
Newly installed apps where pg is on should result in the
same end state compared to flipping pg guard off/on per app.
This partial revert stops the data control setting changing
when pg state is changed on a specific app.
Change-Id: I1eba14204abe0d137ebd45c5a6a3b7db354339bb
Roman Birg [Tue, 3 May 2016 22:37:46 +0000 (15:37 -0700)]
Protected apps: fix rotation states
Don't try to relaunch the activity if it's already been launched.
Ticket: FEIJ-224
Change-Id: I597417570f2f937afb0195fecd7dc406ff2508f3
Signed-off-by: Roman Birg <roman@cyngn.com>
Roman Birg [Tue, 1 Sep 2015 22:25:01 +0000 (15:25 -0700)]
LockPatternView: persist state across rotates
We need to persist and restore the activity states across rotates so the
user doesn't have to restart from the beginning.
Ref: CYNGNOS-141
Change-Id: I18458d55748666b439cf7b6fcecd81ee5c4c7865
Signed-off-by: Roman Birg <roman@cyngn.com>
d34d [Tue, 3 May 2016 15:29:28 +0000 (08:29 -0700)]
LLS: Load title and summary from ext. package if avail.
Query for packages that support the
ACTION_OPEN_LIVE_LOCK_SCREEN_SETTINGS and load the title and summary
for the preference from that package.
If no other packages exist or we are unable to load the title AND
summary, then we use the defaults and carry on as usual.
Change-Id: Ibbd5347aa35994877fa067b29cacbe9a9ed12dad
TICKET: CYNGNOS-2696
Adnan Begovic [Tue, 3 May 2016 20:54:42 +0000 (13:54 -0700)]
Settings: Make sure to rebuild on app entries loaded.
Previously, notifydatasetchanged would only be called in oncreate,
and any further callbacks from the application state session would
be ignored. Now, make sure to handle the various scenarios and rebuild
as necessary, notifying the ui as needed.
Change-Id: I61572ff082629046d1fdf5fedb1e8ec37343f588
TICKET: FEIJ-334
Roman Birg [Mon, 25 Apr 2016 22:12:43 +0000 (15:12 -0700)]
Settings: fix backlight illumination wrong summary
This fixes the visual indicator of the button illumination summary after
trying to disable. Previously after setting the timeout to never, would
display a summary of "1", or with 5, it would end up displaying 6 after
applying the settings.
Ticket: CYNGNOS-2565
Change-Id: Ia982e4849d0099b6e208b362770a431dc89dd2f1
Signed-off-by: Roman Birg <roman@cyngn.com>
Roman Birg [Mon, 25 Apr 2016 19:00:02 +0000 (12:00 -0700)]
Settings: refresh ui on foce stop/diable
Fixes the storage summary not updating after force closing, enabling,
or disabling the app.
Ticket: CYNGNOS-2527
Change-Id: I000459d27d06071a36ab0ac6761c1af56c132dde
Signed-off-by: Roman Birg <roman@cyngn.com>
cretin45 [Thu, 28 Apr 2016 20:33:51 +0000 (13:33 -0700)]
Settings: Ensure user has to wait 30 before retrying pattern
Issue-id: FEIJ-257, FEIJ-273
Change-Id: I08f16c6863ca5bbdb586d756da813453124851b2
Michael Bestas [Thu, 28 Apr 2016 21:45:13 +0000 (00:45 +0300)]
Automatic translation import
Change-Id: Ibcb688db7bff937cd92b2a0be1a784830b2e3dc7
Roman Birg [Tue, 26 Apr 2016 22:53:43 +0000 (15:53 -0700)]
Settings: restore proper live display color profile
Select currently selected, not default, profile.
Ticket: CYNGNOS-2575
Change-Id: I8db23feefd88776949fe0af356b320b8b4a7b8cb
Signed-off-by: Roman Birg <roman@cyngn.com>
Danny Baumann [Mon, 11 Apr 2016 11:07:34 +0000 (13:07 +0200)]
Simplify and improve dream, LLS and weather provider layouts.
In particular, make sure the selection ripple extends to the edges of
the screen.
Change-Id: Ie5694dfea8fd14810895581e4e7daef15c8890c3
Danesh M [Tue, 26 Apr 2016 01:26:37 +0000 (18:26 -0700)]
Setting : Don't show search for activities not within same shared user id
Ticket: CYNGNOS-2522
Change-Id: I00d0a0e4d9ecc619846ce5e4e8fe8f6d7eeb4887
Steve Kondik [Tue, 26 Apr 2016 05:46:17 +0000 (22:46 -0700)]
settings: Remove LiveDisplay preferences if not available
* This really shouldn't be the case, but apparently some devices
are misconfigured and are overriding the GPU-based CMHW
implementation which would ensure the basic capabilities are
available.
Change-Id: I9f72cb58c9bbb63e0fdec4085b17a089f9d50174
Roman Birg [Fri, 22 Apr 2016 16:43:18 +0000 (09:43 -0700)]
Settings: fix incorrect default sim/sms/data selection logic
change id I8ba32f3b203751e79697c7dcbc2cfcf1c6ae4ad0 broke this and
assumed all needed a default index of 0; set it to -1 only for the data
selection.
Ticket: CYNGNOS-2388, CYNGNOS-2212
Change-Id: Ic81d1151aa71017e261107f1d67785cc50f2bd7f
Signed-off-by: Roman Birg <roman@cyngn.com>
Randall Rushing [Tue, 5 Apr 2016 16:24:26 +0000 (11:24 -0500)]
Themes: Add tint mode so custom icons can show in power usage detail
adding to this original commit: http://review.cyanogenmod.org/#/c/136136/
Change-Id: Id38035d8eaa4c3bd004fe747a5df3899646e5cdc
Signed-off-by: Bryan Owens <djbryan3540@gmail.com>
Jessica Wagantall [Mon, 18 Apr 2016 18:14:52 +0000 (11:14 -0700)]
Merge tag 'android-6.0.1_r30' into HEAD
Ticket: RM-234
Android 6.0.1 release 30
Michael W [Fri, 15 Apr 2016 08:40:45 +0000 (10:40 +0200)]
Settings: Move ADB_ENABLED to "Global"
ADB_ENABLED is in Global now, so move it there
-> Reduces "adb_enabled has moved from x to y" messages
Change-Id: Id5a7fb1c270e95d2c24c3cd60ddca71890bda3be
Gabriele M [Tue, 29 Mar 2016 14:34:11 +0000 (16:34 +0200)]
Settings: Save vibration intensity on close
Sometimes the vibrator intensity is not updated quickly enough for
the preview. Change the actual intensity rather than waiting for
the framework to react to the preference change to keep up with the
preview.
Change-Id: Ic345978ebd8439a991975f9d004a6fbd6c753b95
Gabriele M [Sun, 27 Mar 2016 20:36:58 +0000 (22:36 +0200)]
Settings: Rework vibration intensity slider
Use as many steps as intensity levels. The preference value is still
saved as percentage to maintain backward compatibility.
Also, make percentToIntensity() actually round the given values.
Change-Id: Ib15765d7e077987c6712c59fd8eb43222ea4c878
Michael Bestas [Sat, 16 Apr 2016 14:47:37 +0000 (17:47 +0300)]
Automatic translation import
Change-Id: I5c7350a9323a8d526fcffcd72be0b53a80f10282
Luis Vidal [Fri, 15 Apr 2016 17:11:36 +0000 (10:11 -0700)]
Prevent crash if weather settings activity can't be found
Each weather provider service may define a settings activity which
will be automatically launched when the user selects the provider.
If such activity can't be found, an ActivityNotFoundException is
thrown. This patch adds a try/catch block to avoid crashing the
settings app if the activity can't be found
A toast will be displayed to notify the user. Otherwise, the user
would never know why the settings gear is doing nothing
Change-Id: I3c3d54ce8f9131353077c34a2f821ec6b0fc0268
TICKET: CYNGNOS-2478
Roman Birg [Fri, 8 Apr 2016 23:22:03 +0000 (16:22 -0700)]
Settings: check current ringtone for non-default sub ids
Otherwise the default phone sub's selection would always be pre-selected
regardless of the actual selection.
Ticket: CYNGNOS-2396
Change-Id: Ia33df47228eb2a49d48c80535876756b4ba1abf1
Signed-off-by: Roman Birg <roman@cyngn.com>
Danny Baumann [Fri, 15 Apr 2016 06:37:18 +0000 (08:37 +0200)]
Restore double tap to wake string from CM 12.1.
The AOSP strings/translations of that feature are inconsistent to those
of the double tap to sleep feature, so replace the string to keep the
translations consistent.
As the same string exists in cm-12.1, all translations are already
present and will automatically be added in the next translation sync.
Change-Id: I613941b586fe60ea6b29e2695120359295289615
Michael Bestas [Thu, 14 Apr 2016 23:45:15 +0000 (02:45 +0300)]
Fix unavailable wifi icon in wifi priorities
Change-Id: I5a36909d1f99e4ba6986421266d8b91a59fd2b8e
Scott Mertz [Thu, 14 Apr 2016 02:49:38 +0000 (19:49 -0700)]
Settings: use the actual user id to set pattern size
Ticket: CYNGNOS-2462
Change-Id: I1af2b69dabdc0aa010edb354c6274af57b442618
tao.pei [Wed, 23 Mar 2016 02:06:21 +0000 (10:06 +0800)]
Setting: Disable WPS Push Button/Pin Entry when WiFi is disabled
Change-Id: Ia03c81dd3a6abf01680e2e2e2ba87f15c2f33b97
LuK1337 [Sat, 9 Apr 2016 10:16:34 +0000 (12:16 +0200)]
SpamList: Set correct color & remove text from notifications menu item
Change-Id: I3b938becf2cabe7c58129b78d4d0d2fd2c9d9e04
Steve Kondik [Mon, 11 Apr 2016 01:20:46 +0000 (18:20 -0700)]
livedisplay: Update Settings for new LiveDisplay API
* LiveDisplay is getting a proper API. This patch refactors
the settings to use it.
* Also kill off the deprecated "gamma calibration" tunable
which nobody should be using at this point.
Change-Id: I948b8845cd06c8c634a201cb5d5b93b5766cc51d
Martin Brabham [Wed, 26 Aug 2015 23:40:26 +0000 (16:40 -0700)]
Fix the improper string and increment database version to kick off a new indexing job.
Change-Id: Iec878ec4414a47f05f9d0de03eb2268ef0b3d6ee
Ticket-Id: CYNGNOS-812
(cherry picked from commit
13ccd1c41aaf1238ca128addda3ec4c1b15abb3c)
Roman Birg [Thu, 7 Apr 2016 18:20:04 +0000 (11:20 -0700)]
Settings: fix default sim radio selections
Change-Id: I8ba32f3b203751e79697c7dcbc2cfcf1c6ae4ad0
Ticket: CYNGNOS-2388, CYNGNOS-2212
Signed-off-by: Roman Birg <roman@cyngn.com>
Michael W [Fri, 8 Apr 2016 16:44:08 +0000 (18:44 +0200)]
Allow adding a shortcut icon for carrier selection
e.g. to homescreen
Change-Id: I4d16519ee84b50b229c82a41c404690bb2618c29
Michael W [Wed, 6 Apr 2016 22:59:38 +0000 (00:59 +0200)]
Add explanation for customizing apps
Settings->Display & LEDs->Notification light->Apps
Currently this is header only if no apps are added yet.
Populate it with an explanation when it's empty.
Change-Id: I83193dfdd01f05bcd1d597033ef710a1b0eb7e82
Roman Birg [Fri, 15 Aug 2014 18:35:54 +0000 (11:35 -0700)]
Settings: use ActivityManager method for requesting bug report
This let's ActivityManagerService handle all the logic for requesting
bug reports.
Ticket: CYNGNOS-2329
Change-Id: I44e6a9295a0625bcdc0f3a22daf097bdccf0d3c4
Signed-off-by: Roman Birg <roman@cyngn.com>
(cherry picked from commit
3d56d11794d8a5c3637a347986c9d2908e096d19)
(cherry picked from commit
952b0d9acb2ce0cbf42728a65d77fcba2885adb4)
Adnan Begovic [Wed, 6 Apr 2016 17:58:03 +0000 (10:58 -0700)]
Settings: Disable and hide refresh button on power usage detail.
Users expect immediate return on their input, so don't allow
the input.
Change-Id: I5c2553ed6fb5dc617b458123e1e13590d64f4ba1
TICKET: CRACKLING-1035
Adnan Begovic [Wed, 6 Apr 2016 21:53:14 +0000 (14:53 -0700)]
Settings: Use cm build properties correctly.
TICKET: CYNGNOS-2379
Change-Id: I8342589c52d633c044570be02f48c7f5a48f788c
Michael Bestas [Tue, 5 Apr 2016 22:18:23 +0000 (01:18 +0300)]
Automatic translation import
Change-Id: I3d5131973925152ad0d2ebd21d4c57f03c5d1cd2
Roman Birg [Tue, 5 Apr 2016 05:43:04 +0000 (22:43 -0700)]
Revert "Settings: disable wifi display from search indexing if disabled"
This reverts commit
8b1fe7d8b3d704ce841f4af12cd9d7b98eb9330d.
Change-Id: I4372a7a52f4b983fbdd5bba930ef7a8fd249ad43
Steve Kondik [Tue, 5 Apr 2016 05:35:43 +0000 (22:35 -0700)]
Revert "Settings: disable wifi display from search indexing if disabled"
* Breaks the build. Missing variables, bad syntax.
DONUTS-1234
This reverts commit
8b1fe7d8b3d704ce841f4af12cd9d7b98eb9330d.
Change-Id: Idf1a5a9580d85148d117893568515562bea31af2
Ethan Chen [Fri, 1 Apr 2016 18:05:02 +0000 (11:05 -0700)]
DevelopmentSettings: Synchronize USB connection data state
* UsbModeChooserActivity now takes into account whether the user has
unlocked USB data for the current composition mode, but the development
settings USB mode chooser dialog does not. This patchset makes it
aware.
* Assume if USB data hasn't been unlocked by the user, that USB charging
mode is the current composition mode. This patch makes assumptions
that the charging composition mode occurs at position 0 of the
resources however. Any devices which have custom USB composition modes
set in the overlay should be aware of this change.
REF: CYNGNOS-2322
Change-Id: I8789f23b1c58bfb6e23f4fcde2b2c10d5fd4adf2
Ethan Chen [Thu, 31 Mar 2016 23:10:26 +0000 (16:10 -0700)]
Settings: Use correct LOW_POWER_MODE_TRIGGER default
* Low power mode was set to never enable automatically upstream in
frameworks/base. We erroneously read from the
config_lowBatteryWarningLevel resource for the default in change:
821fd62d952e380a260fc6edae8919284785796a, which is usually 15.
* Reset this to 0 to align with the default value set in the provider.
REF: CYNGNOS-2274
Change-Id: Iec32f972fe6d67b258ee17eff603c4a67c99d783
Ankit Gupta [Tue, 23 Feb 2016 19:14:59 +0000 (11:14 -0800)]
Settings: disable wifi display from search indexing if disabled
If wifi display is disabled from the system property or from
the overlay file, disable its key indexing to stop appearing
it in search result. Also update the database version to reflect
the changes.
Also fix indexing for saved access point settings.
Issue-id: YAM-141
Change-Id: Ia3688e4b294ad67ab8029dd47d1067fd722cbff7