OSDN Git Service
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
Roman Birg [Mon, 4 Apr 2016 15:39:00 +0000 (08:39 -0700)]
Settings: fix profiles nw selection with 1 sim in MSIM DUT
Ticket: CYNGNOS-1463
Change-Id: I2ad9436c17f0c2ecc9aea7cae7d2f6c806eb9ed7
Signed-off-by: Roman Birg <roman@cyngn.com>
Unpublished [Sun, 3 Apr 2016 11:14:45 +0000 (13:14 +0200)]
AppOps: Don't show option to restrict network usage for platform signed apps
Using the option results in an IllegalArgumentException of the settings app.
Change-Id: Ia3ceddb39fccc6ae445a7e4e307a248794127878
Michael Bestas [Mon, 4 Apr 2016 15:55:50 +0000 (18:55 +0300)]
Improve cellular data strings
* Follow standards
Change-Id: Idab832e96eefd7d3937f60bf8b61af1b12001b7a
Kamaljeet Maini [Tue, 29 Mar 2016 22:46:54 +0000 (15:46 -0700)]
Settings app Data Usage UI enhancements
Modified Settings app to support following new features in
Data Usage Summary screen:
1) Added two items to overflow menu
a) Enable/disable data usage alerts: to enable/disable global
switch for data alerts. Shown only when DataUsage provider
is installed.
b) Reset data statistics: to reset data stats for current tab
2) Added a new per app switch "Mobile Data Alert"
3) Added a new per app switch "Restrict cellular data access"
4) Modified per app background data access feature to support
three options
a) Over mobile and WiFi
b) Only over WiFi
c) No access
DataUsage provider, service and notification receivers have been
refactored into a standalone package to minimize the changes to the
Settings App.
Change-Id: Ic0e42e57d04dc8e164ebfdab4531cced31c4e6eb
Issue-Id: SETTINGS-75
Issue-Id: SETTINGS-76
Issue-Id: SETTINGS-77
Issue-Id: SETTINGS-76
d34d [Thu, 31 Mar 2016 17:58:15 +0000 (10:58 -0700)]
LLS: Add config for showing LLS settings at top
This config allows the live lock screen settings to be displayed
at the top of the Lock screen settings when set to true, by default
it is false
Change-Id: I051f07c4d7b05e89f4efdc018ce833190a4e14af
TICKET: CYNGNOS-2242
Luis Vidal [Mon, 21 Mar 2016 17:08:14 +0000 (10:08 -0700)]
Add Weather Content Provider [2/5]
Introduce a new entry in the settings menu to select the available
weather provider services.
This entry will be parked in the System category between Date&Time
and Accessibility
Change-Id: Ida230f3be72eb575a2b09504c99eaa16851c99f8
Roman Birg [Wed, 20 May 2015 16:46:51 +0000 (09:46 -0700)]
Settings: add marquee to Device administrators screen
Noticed while doing CTS testing that it was really hard to pick the
correct receivers to enable when you cannot see their full names.
Change-Id: I8f14d04f1037158c94d5501c115b5100456d7619
Signed-off-by: Roman Birg <roman@cyngn.com>
(cherry picked from commit
83b4a9951b8aadfba35d8f12d075231e7cb36385)
d34d [Wed, 30 Mar 2016 17:58:39 +0000 (10:58 -0700)]
LLS: Add LiveLockScreenSettings to ENTRY_FRAGMENTS
Trying to launch Live lock screen settings will throw an
IllegalArgumentException since the fragment is not considered
valid. Add it to ENTRY_FRAGMENTS so it is considered valid.
Change-Id: I13b52dc2f65f62fe7146b3002720a901dd363338
Roman Birg [Fri, 25 Mar 2016 22:34:31 +0000 (15:34 -0700)]
Settings: implicitly link to lls settings
Ticket: CYNGNOS-2241
Change-Id: I39e883dd52ed4574a1ce1c2becb104c5458e800f
Signed-off-by: Roman Birg <roman@cyngn.com>
d34d [Mon, 14 Mar 2016 16:57:31 +0000 (09:57 -0700)]
LLS: Use LiveLockScreenManager for selecting LLS
Change-Id: Ib404b4fb1cdbad773703e4702490b92cc14a548e
Gabriele M [Mon, 28 Mar 2016 21:23:21 +0000 (23:23 +0200)]
Settings: Fix one-time vibration intensity restore
Change-Id: I8d9f1288dddc98f58f3565c8927be0642b026a64
Roman Birg [Thu, 17 Mar 2016 20:49:50 +0000 (13:49 -0700)]
Settings: reflect/inform user of disabled wakelock appop
If an app is marked as "allow-in-power-save" (loaded in as part of
SystemConfig), then this app is not susceptible to battery saving
optimizations and is required to be active for the system to function
properly.
This behavior is enforced on the PowerManagerService side when
requesting wake locks - inform the user visually as well.
Ticket: CYNGNOS-1258
Change-Id: I1c99de703012a09ddbde19838171b7e5659f2523
Signed-off-by: Roman Birg <roman@cyngn.com>
Michael Bestas [Sun, 27 Mar 2016 21:46:11 +0000 (00:46 +0300)]
Automatic translation import
Change-Id: I9b569411eef8996b0fa20d164062f54d3162e49e
Michael Bestas [Tue, 22 Mar 2016 00:00:39 +0000 (02:00 +0200)]
Improve data usage strings
Change-Id: If2770dfdf874006704909f2ec95472956fc4a490
Roman Birg [Mon, 21 Mar 2016 22:17:16 +0000 (15:17 -0700)]
Settings: forward decrypt required on boot flag
This wasn't being pass forward and all of the defaults had it set to
true.
Ticket: CYNGNOS-2270
Change-Id: I90a6c918bb5b4b52791bcff18a6ea3bcfb194547
Signed-off-by: Roman Birg <roman@cyngn.com>
Danesh M [Mon, 21 Mar 2016 20:56:22 +0000 (13:56 -0700)]
Settings : Fix default privacy guard preference
Ensure we write to the correct table.
CYNGNOS-2264
Change-Id: I1260cf665080631e3e2ec19b371a79eee273c6d2
Gabriele M [Mon, 21 Mar 2016 15:30:52 +0000 (16:30 +0100)]
Settings: Respect config_proximityCheckOnWakeEnabledByDefault
Also, set the correct value for PROXIMITY_ON_WAKE when the feature is
disabled.
Change-Id: Ibf9dd1c64aeb076bc72f328d50825790aef2a50b
Danesh M [Mon, 7 Mar 2016 23:17:59 +0000 (15:17 -0800)]
Settings : Add per app internet/data control
CYAN-3976
CRACKLING-834
Change-Id: I13192df837c057b5cadde8f31532e12daaf3c1b0
Roman Birg [Fri, 15 May 2015 00:29:59 +0000 (17:29 -0700)]
Settings: fix BT switch enabling discoverable mode
Signed-off-by: Roman Birg <roman@cyngn.com>
Conflicts:
src/com/android/settings/bluetooth/BluetoothEnabler.java
Bug: CYNGNOS-2271
Change-Id: I6b2dff88fb858d34a1b534705b2c67f5ab4c2d29
Danny Baumann [Wed, 16 Mar 2016 15:18:55 +0000 (16:18 +0100)]
Move external input tile inclusion to device repo.
Change-Id: I1afa10da1b9e0cc35c5198d1cbd5c13e2b4c343d
Michael Bestas [Sun, 13 Mar 2016 16:29:01 +0000 (18:29 +0200)]
Settings: Update contributors cloud DB
Change-Id: I2732f74c7271638f02791b26f2fd476b3d6e3440
Michael Bestas [Sat, 12 Mar 2016 19:06:23 +0000 (21:06 +0200)]
Improve protected apps string
Change-Id: I3704910d99b5d93bc2f423229da72558d9fe6fb9
Michael Bestas [Thu, 17 Mar 2016 19:59:44 +0000 (21:59 +0200)]
Automatic translation import
Change-Id: Ide7fdb04e25ae1d25205a835b37ff8a004660ad4
Dave Kover [Thu, 3 Mar 2016 00:48:40 +0000 (16:48 -0800)]
Re-expose hardcoded white text colors
In the original expose pass, all of the hardcoded white text colors
were given a generic color that they all pointed to. This is great,
but very inflexible for themes that might need to tweak just one
of those instances.
With this patch, we will create new text colors (and allow some
textviews to share it when it makes sense) and point all of those
back to the text_color_white so that existing themes are not
broken.
Change-Id: Iae850b7f75d319bd308f001058918e4466c70dca
Bryan Owens [Sun, 13 Mar 2016 22:34:21 +0000 (17:34 -0500)]
Themes: Expose Hard coded icon tint in power summary settings
Change-Id: I9b41af6ecc8843623815c08561f7bd5d0f3e4d77
Signed-off-by: Bryan Owens <djbryan3540@gmail.com>
Dan Elkouby [Sat, 5 Mar 2016 12:08:04 +0000 (14:08 +0200)]
DisplayColor: clamp maximum value to 1.0f
Sometimes when adjusting to 100%, this value can overflow causing the
activity to crash.
Change-Id: If578e98618ddae5d60924189feb3aafc6072d906
Roman Birg [Wed, 10 Feb 2016 02:14:31 +0000 (18:14 -0800)]
Settings: ask telephony for network selection
When configuring profiles and selecting a network mode override, ask
Telephony to provide the UI for showing the proper network modes. After
the user has selected it, we receive the result, and save it in the
profile.
Ref: CYNGNOS-1463
Change-Id: I866ed1bc1c915ae00804b07dbbafa86e679a5fa7
Signed-off-by: Roman Birg <roman@cyngn.com>
Danesh M [Wed, 9 Mar 2016 19:49:57 +0000 (11:49 -0800)]
Settings : Add multiuser support for CMHardware
- Show button for other users
- Use services instead of CMHardware for vibrator and touch sensitivity
- Do a one time restore of tunable settings
CYNGNOS-1166
Change-Id: I0de8eef6bf73c344ee5789e9650dd96b25b1a6bc
Steve Kondik [Fri, 11 Mar 2016 04:35:32 +0000 (20:35 -0800)]
Merge tag 'android-6.0.1_r22' of https://android.googlesource.com/platform/packages/apps/Settings into cm-13.0
Android 6.0.1 release 22
Change-Id: Ided010bc125199d47ca59d10f0ed5032a26632ff
Jorge Ruesga [Sat, 4 Jul 2015 16:05:16 +0000 (18:05 +0200)]
settings: dock battery
Change-Id: I2a95e74719175c3f40e2cc7a8414db7e869d92fb
Require: topic:dock_battery
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Improve dock battery strings
Change-Id: I03066cd18c378a1974d4eaa6f084fe75250d1fcc
Vladislav Koldobskiy [Tue, 8 Mar 2016 16:27:11 +0000 (19:27 +0300)]
Settings: Modify RU translation for Ambient display
Requested by Vitaly K. Current Google translation is "Disable sleep mode",
which is incorrect and misleading.
Change-Id: I936ff66ce8f9d89ab910dae88971a8a589f6584e
Adnan Begovic [Mon, 7 Mar 2016 23:52:29 +0000 (15:52 -0800)]
Settings: Add PERFORMANCE_ACCESS permission.
Change-Id: If95877701a6686b4df2a7fd1bebefb260616043f
Ricardo Cerqueira [Tue, 8 Mar 2016 18:34:56 +0000 (18:34 +0000)]
MSIM: Fix erroneous defaults display in slot selection dialog
Initializing the index at zero was showing the first slot as the default
when none was chosen. Since that's not actually true, leave it outside
the possible range so that the radio selectors stay empty if that's the
case.
Addresses CYNGNOS-2212
Change-Id: I4a74f9c89bbf14bbe39e0d51733a1d5f92c5a1df
d34d [Fri, 26 Feb 2016 19:45:54 +0000 (11:45 -0800)]
AppOps: Guard against themes without colorAccent defined
If an applied theme omits the colorAccent attribute in their style
AppOpsSummary will crash because typedValue.resourceId is 0.
Check if typedValue.resourceId is 0 and if so use switch_accent_color
for tab indicator color.
Change-Id: Ib294fcdfd3bf3510aeb0d0f612bd5f46354e0b15
TICKET: CYNGNOS-2156
Adnan Begovic [Thu, 3 Mar 2016 19:32:50 +0000 (11:32 -0800)]
Settings: Remove "Learn More" clickable text if not overlaid.
If the "Learn More" textview's target click intent url is
not overlaid, settings will throw an NPE. Remove the text
if not overlaid.
Change-Id: Ib80547a90b8c97485db2529b79172f7c461649c0
TICKET: CYNGNOS-2173
Adnan Begovic [Fri, 4 Mar 2016 00:50:16 +0000 (16:50 -0800)]
Settings: Allow disabling default allcaps state in tabtext.
Since the allcaps state is decided via an internal
style within android, we have to manually override
it programatically.
Create "config_gcf_disable_default_tabtext_allcaps"
for this purpose.
Change-Id: I38c8bd1d50dee7c1e6440ce747368ade4e2dab29
TICKET: PAELLA-167
Michael Bestas [Fri, 4 Mar 2016 22:18:26 +0000 (00:18 +0200)]
Automatic translation import
Change-Id: I05b544653c16ee0275a3259bfb604bf583a12212
Adnan Begovic [Thu, 28 Jan 2016 01:32:24 +0000 (17:32 -0800)]
Settings: Default edge gesture service to false.
Change-Id: I77cf96e2848b8fc8b4262b42b376d17c105aa836
(cherry picked from commit
e7e05a72139f91832562049dc3a57f320777183f)
jrizzoli [Sun, 28 Feb 2016 12:53:49 +0000 (13:53 +0100)]
Settings: no more holo for navbar editor
Change-Id: Ie36c2f6f16a1a911495da5d3fdc7dbe5dbcf57cc
Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
Dave Kover [Wed, 2 Mar 2016 22:21:48 +0000 (14:21 -0800)]
Better expose text color for single button panel button
When we did the original expose pass for 13.0, we lumped too many
values into the same custom color. Let's give this button text color its
own value so that it can be themed individually from other instances of
text_color_white.
Change-Id: I4b76633eee6ebcb0f560ff527f081fa80c16850a
Ticket: CYNGNOS-2179
Bryan Owens [Fri, 19 Feb 2016 19:12:35 +0000 (13:12 -0600)]
Themes: Expose Hard colors for storage settings
Change-Id: I74d2492ed5e6f1d34cee065719cbc97d5c237829
Signed-off-by: Bryan Owens <djbryan3540@gmail.com>
Michael Bestas [Mon, 22 Feb 2016 18:56:04 +0000 (20:56 +0200)]
Use correct icon for ring volume
Change-Id: If145262562c1409cd8a6cb79ba46b6646c75d1a8
Alexander Martinz [Thu, 3 Mar 2016 15:10:43 +0000 (16:10 +0100)]
Settings: Fix "Fix SecuritySettings filtering" copy pasta
Change-Id: Ib27d4497c84a49a9dca2ec52c059d828518e43c4
Signed-off-by: Alexander Martinz <eviscerationls@gmail.com>
Adnan Begovic [Tue, 1 Mar 2016 20:21:41 +0000 (12:21 -0800)]
Settings: Fix SecuritySettings filtering.
Recent changes to SecuritySettings to appease
CTSVerifier expectations broke filtration for
the lockscreen intent (would always default as
external type). This patch also addresses the
"Installed Blocked" settings intent filter
not including the unknown sources checkbox.
Change-Id: If6ef7a3913ad90f4d018b26f6c3166fe47d2865a
TICKET: CYNGNOS-2171
Roman Birg [Thu, 25 Feb 2016 15:04:13 +0000 (07:04 -0800)]
Settings: improve job upload service
We should be removing the job even if the job failed.
Change-Id: I7468af9a972fd88c5ed2a93ad5781637407e3a85
Signed-off-by: Roman Birg <roman@cyngn.com>
Roman Birg [Tue, 23 Feb 2016 20:27:35 +0000 (12:27 -0800)]
Settings: fix indexing for saved access point settings
We are including custom logic, so we need to set NO_DATA_RES_ID.
Ref: YAM-141
Change-Id: Ibd242bd3a05b06f6a54504543219fc524127b71d
Signed-off-by: Roman Birg <roman@cyngn.com>
Dave Kover [Sun, 2 Aug 2015 19:35:42 +0000 (12:35 -0700)]
Expose values for themes.
Move category margin dimension to exposed value. Add background
to category title textview and make value accessible via
cm_colors. Clean up formatting in cm_colors.
Ticket: CYNGNOS-2154
Change-Id: Ie9241cae3ea067fccbedd43231b52e3c80f8bd97
Adnan Begovic [Thu, 25 Feb 2016 00:02:00 +0000 (16:02 -0800)]
Settings: Meet BYOD check intent filter expectations.
CTS Verifier expects SecuritySettings to contain Lockscreen options, thus
if SecuritySettings are externally invoked and disambiguated by intent
resolution, we need to display both lockscreen options and security options.
AOSP provides an activity that handles android.settings.BATTERY_SAVER_SETTINGS
thus, we provide an activity-alias that points to the PowerUsage menu
to meet the expectation of the cts verifier request.
Change-Id: I6f06b031e341e8a63ffdd765884b49fd1c079825
TICKET: CYNGNOS-2105
Danesh M [Thu, 25 Feb 2016 23:21:40 +0000 (15:21 -0800)]
Settings : Fix back button for sim card lock
CYNGNOS-2151
Change-Id: I5420c07931a6aa620328f9f8844512cac9bf1638
Dave Kover [Tue, 23 Feb 2016 22:51:57 +0000 (14:51 -0800)]
Split out drawable to separate from dashboard drawable
The Filter Notifications view has an action menu item which uses
the same drawable reference as the dashboard category. This can
create a conflicting instance for themes where the colors or style
do not line up correctly. By creating a new VD, we can make sure
that the different views are themed accurately & separately for
maximum themage (I made that word up).
Change-Id: If7ddf51489a741f6b9564f07f7034f3f9824d352
Ticket: CYNGNOS-2134
Dave Kover [Tue, 23 Feb 2016 01:32:36 +0000 (17:32 -0800)]
Break out text color value from commonly used color.
Too many locations are using text_color_white and this will affect
theme options when it comes to the switch_bar_background color.
We can point to a new value, which points to the current value and
all will be right with the world.
Change-Id: I9b1e67b7ce4f31d1e1203cdb11c630682ceb7ba8
Ticket: CYNGNOS-2124
Danesh M [Wed, 17 Feb 2016 02:04:01 +0000 (18:04 -0800)]
PowerUsage : Don't update if profile didn't change
CYNGNOS-786
Change-Id: I4eb47e5f206f9723b7d003ccfac484e377bf7afd
Danesh M [Wed, 17 Feb 2016 19:48:48 +0000 (11:48 -0800)]
Revert "Customize regulatory info."
This reverts commit
3d299959deb33a86ba2925eb4fa954e0118bd893.
This breaks on the dialer shotcode to access this (*#07#)
CYNGNOS-2050
Change-Id: Ia02512642307b25e9ff7e8c0533da5eaa7233a7f
Michael Bestas [Mon, 22 Feb 2016 03:14:00 +0000 (05:14 +0200)]
Automatic translation import
Change-Id: Ie08c59c97a1b0ec263e7430d58387eeecbd8d4d8
Diogo Ferreira [Mon, 16 Nov 2015 13:58:33 +0000 (13:58 +0000)]
Settings: regulatory: Wrap the layout in a ScrollView
This screen allows an optional image to be provided via overlay,
this image might be bigger than the screen height, and usually is
when the phone is in landscape. This cuts the image and only
shows what the screen allows.
This patch wraps it in a ScrollView to ensure that the user can
read the whole image.
Additionally, it changes the ImageView width to take the full width
of the parent, making centerCrop work as expected and centering the
image.
Change-Id: Ie8433767fe333cb4b019608208a45cd0a653641b
CYNGNOS-2050
Danesh M [Wed, 17 Feb 2016 22:51:38 +0000 (14:51 -0800)]
RegulatoryDialog : Use String.split to avoid crash on empty args
If a device only supports SAR image vs values, and empty overlay
will cause TextUtils.split to return an empty array and hence number
of format arguments will be mismatched. Instead use String.split
which returns a non-empty string array in the event that the source is empty.
Change-Id: I3d99e3378264d7b26d69ebe6c9c35c3c925f5c49
CYNGNOS-2050
Diogo Ferreira [Fri, 5 Feb 2016 15:45:05 +0000 (15:45 +0000)]
Settings: Add CM-specific settings
Change-Id: Iae0f60a62a51e96893766c4fa50a60ac4a214102
Ticket: CYNGNOS-1577
Diogo Ferreira [Tue, 9 Feb 2016 18:17:43 +0000 (18:17 +0000)]
SIM: Only trigger sub updates if the lifecycle isn't ending
This broadcast would cause a re-rendering of the sim preferences
but the activity context is actually tearing down at that point
which causes common context items such as resources items to be
null.
Change-Id: I5cb23f941c9ace6382dbc324c8e1820f54853eda
TICKET:CYNGNOS-1918
Scott Mertz [Tue, 16 Feb 2016 17:11:23 +0000 (09:11 -0800)]
DevelopmentSettings: initialize recovery update property at boot
Android behavior has changed to load & trigger build.prop & default.prop
at every boot. Once data is mounted, it reloads & triggers properties
set by the user. If we set persist.sys.recovery_update to true in build.prop
or default.prop, the user's preference will never be honored. Instead,
ensure the default always comes from userdata.
Accompanying patches to remove the default properties are required.
OPO-490
Change-Id: I3a5245088059f083554063ba6d345783114fa7a0
Diogo Ferreira [Thu, 3 Sep 2015 13:36:21 +0000 (14:36 +0100)]
Settings: Only show multi-sim card configuration for owners
Telephony only allows the owner to manage sim card Settings,
currently we are crashing when changing any multisim setting
from eithr a guest or non-owner. This patch addresses the
issue by not adding the tile unless the current user is the
owner.
Change-Id: Ifaeec6c22cdf7318530ef1e6ed6e1ec851317263
Ticket: CYNGNOS-2054
Roman Birg [Thu, 16 Apr 2015 23:54:23 +0000 (16:54 -0700)]
Settings: fix 'CyanogenMod legal' link
No more WebViews in priv-apps, so open it up in the browser.
CYNGNOS-1895
Change-Id: I263ccc0509e275d17512528deb606341d58e7a0d
Signed-off-by: Roman Birg <roman@cyngn.com>
DvTonder [Wed, 22 Apr 2015 15:38:21 +0000 (11:38 -0400)]
Settings: Allow/Prevent notification light in Zen mode (2 of 3)
This allows the user to prevent the notification lights from showing during Zen mode
Change-Id: Ia3563d79f5c1fc012411496c7b8901099a78282e
Michael Bestas [Wed, 10 Feb 2016 22:44:18 +0000 (00:44 +0200)]
Settings: Fix ethernet data usage tab crash
* TAB_ETHERNET length is bigger than TAB_MOBILE
Change-Id: Ie7feb819978236d62f951825dbc564d683907700
Danesh M [Tue, 17 Feb 2015 00:15:02 +0000 (16:15 -0800)]
Add ability to ignore interruptions while active media playback
Change-Id: I92e9b6cbab1f167f8abb544a0a8e385e23b16775
Michael Bestas [Wed, 10 Feb 2016 01:18:54 +0000 (03:18 +0200)]
Settings: Add CMGlobalSettingSwitchPreference
* Also cleanup the Secure/System preference
Change-Id: I10148928240561e6cb496e7cc063ae517ccddbf8
Roman Birg [Sat, 13 Feb 2016 17:24:21 +0000 (09:24 -0800)]
Settings: hook up volume tone preference to CMSettings
Ref: CYNGNOS-1891
Change-Id: Ic3d07f9eeb099b24526c7c502b189cb3bbbbb420
Signed-off-by: Roman Birg <roman@cyngn.com>
Michael Bestas [Sun, 14 Feb 2016 14:25:14 +0000 (16:25 +0200)]
Automatic translation import
Change-Id: I7edab2a2d800acd4ef514ca1d71d7e2f4f5988c4
Danesh M [Mon, 7 Jan 2013 18:07:00 +0000 (12:07 -0600)]
Settings: launch default music player on headset connect [1/3]
Change-Id: Id09065638f1279423ceedef87da1a2edf19f46f4
Michael Bestas [Wed, 10 Feb 2016 00:36:16 +0000 (02:36 +0200)]
Remove duplicate charging sounds option
* CM setting allows charging sounds on any power source, while AOSP
allows charging sounds only on wireless charging
* The AOSP toggle has been broken since
fw/base
42f4f2f2ff4278ca8411504617f55a712562c242
* Use the AOSP setting while keeping the improved CM code
Change-Id: Ia747d8949cf7ce94ad2a638f27aaa3c57f9aed19
Petr Sedlacek [Mon, 8 Feb 2016 21:26:50 +0000 (22:26 +0100)]
Settings: Add notification light setting to system profiles (2/2)
Change-Id: I6e0f844362ad5a479b40da08bce8a66be10503ec
Diogo Ferreira [Tue, 9 Feb 2016 11:54:59 +0000 (11:54 +0000)]
SimDialogActivity: Check whether there is no default sub
On an out-of-the-box device, no data subscription will be
selected by default. If a single SIM is added, it will
become the default data subscription but if two sims are
added at the same time there will be no default.
In this case, this dialog will crash because it's trying
to get the subscription id from a null default. This patch
short-circuits the clause to always update if there is no
default.
Change-Id: Icd4dffaf918d43d85f807cd6a14f93abb118eca4
Ticket: CYNGNOS-1940
Dave Kover [Sun, 31 Jan 2016 22:47:23 +0000 (14:47 -0800)]
Update textview styles for better theme compatability.
In the battery & notification lights preferences, the textview
attached to the custom color is locked to a color which is only
visible against light backgrounds. If a theme changes to a dark
theme, they are unreadable without modifying a core material
style.
Let's create a new style that points to a better material style
but also allows a themer to change it independently if needed.
Change-Id: I039f154282035c5123fddf8c20c18bdb3be90060
Ticket: CYNGNOS-1790
eray orçunus [Wed, 17 Jun 2015 13:25:45 +0000 (16:25 +0300)]
lockscreen: Add option to pass swipe-up-to-unlock (2/3)
* Option appears on PIN,pattern and password methods
* User should press back button to see notifications, clock etc.
* Instantly hides keyguard if Smart Lock has unlocked phone.
CYNGNOS-1873
Change-Id: I31256770869b20842c69edb4a7a57b2bad7b3ea7
Signed-off-by: eray orçunus <erayorcunus@gmail.com>
Italian Quadcore [Tue, 9 Jun 2015 08:50:07 +0000 (10:50 +0200)]
Add Sound Panel to Power Menu (Part 2/2)
Change-Id: Ifa62246acdc59e9529431ae3642b67add89ce7ac
Roman Birg [Fri, 29 Jan 2016 00:31:26 +0000 (16:31 -0800)]
Settings: don't allow duplicate APN entries
Prompt user with warning if they are about to add a new APN which is a
duplicate.
Change-Id: I86c6a6d272a7ba079b81dedb05b44575fd4d86e7
Signed-off-by: Roman Birg <roman@cyngn.com>
Steve Kondik [Sat, 9 Jan 2016 05:01:16 +0000 (21:01 -0800)]
settings: Add preference for automagic LED colors
* And use the automagic color as the default when picking custom colors.
Change-Id: I9861d3d889dfcb5eba62b69339e7afb0db2fd364
Elektroschmock [Fri, 5 Feb 2016 14:31:17 +0000 (15:31 +0100)]
Settings: Remove duplicated strings
Change-Id: I0aee338711720194aae25c5c8f4a1d2978dff1dd
Michael Bestas [Thu, 4 Feb 2016 22:47:05 +0000 (00:47 +0200)]
Remove leftover profiles entry from power menu
* No longer available
Change-Id: Ifac7e1181dc53af5788f54444ef75a345a888fa2
Michael Bestas [Sun, 7 Feb 2016 22:51:53 +0000 (00:51 +0200)]
Settings: Improve hotspot timeout strings
Change-Id: I9fd0d182fd54ddf0d93f2400357e79c5cb36896f
Roman Birg [Thu, 28 Jan 2016 20:07:37 +0000 (12:07 -0800)]
Settings: add config for new APN type defaults
This way a specific mcc-mnc combo can overlay some defaults as needed.
Change-Id: I5e0c46830c1ab7845ce3372dcb06a70a144c651a
Signed-off-by: Roman Birg <roman@cyngn.com>
d34d [Wed, 3 Feb 2016 22:16:46 +0000 (14:16 -0800)]
Use settings' theme when inflating account prefs
When inflating account specific preferences, the settings style is
set so the inflated preferences have the same style. If a different
theme, than the rest of the system, is set for Settings it is possible
for the inflated preference to try and reference a theme specific item
which won't be part of that apps resources, resulting in an
InflateException. To avoid this we attach the themed resources that
are applied to settings to the newly created package context so that
those resources can be properly resolved.
Change-Id: I0cf0430db379b146fe80ce3173f050e5b120bbbb
TICKET: OPO-437
Danesh M [Thu, 4 Feb 2016 00:07:43 +0000 (16:07 -0800)]
Settings : Add radio button / selection states for default SIMs
CRACKLING-928
Change-Id: I786d4d921987d483cd0a5fa77976a0b8047d06db
Michael Bestas [Sat, 4 Apr 2015 01:43:43 +0000 (04:43 +0300)]
Forward port pattern visibility settings (2/2)
Change-Id: Ic627953c5df854c442671a98b5da539b994da18b
razorloves [Tue, 2 Feb 2016 22:49:59 +0000 (16:49 -0600)]
String update, change wording from "Mobile" to "Cellular"
Bring inline with aosp's terminology
Change-Id: I16d21879037beed5171bc5b12975f90459a9ea3c
Ricardo Cerqueira [Wed, 3 Feb 2016 15:50:26 +0000 (15:50 +0000)]
Bluetooth: Underp "Accept all files" setting
This was reading/writing to the wrong database, making the setting
a no-op. My bad.
Still CYNGNOS-1825
Change-Id: Ibf02b186f8e19066b0113ab1c72e31164a686af1
d34d [Mon, 1 Feb 2016 18:06:29 +0000 (10:06 -0800)]
Lockscreen: Show redaction interstitial when swipe selected
If the user is switching from a secure lock screen to an insecure
one and they have chosen to redact sensitive/all notififcations,
show the RedactionInterstitial so the user has the option to change
this setting.
Change-Id: I2bcfd01fb322eb66a10a0f29feb9da696c524cdf
TICKET: YAM-103
Danesh M [Tue, 22 Dec 2015 01:54:43 +0000 (17:54 -0800)]
Settings : Recompute highlight index upon changes
Change-Id: I7d738f5114fc1eea564360ab5e823abc167caee9
Danesh M [Mon, 21 Dec 2015 18:18:03 +0000 (10:18 -0800)]
Settings : Show search on all panels
RM-208
Change-Id: Id8467a6f57e60dfe58e7d1f38acb8d833bd298cf
d34d [Fri, 22 Jan 2016 22:27:22 +0000 (14:27 -0800)]
LiveLockScreen: Add live lock screen settings
This will allow the user to enable and configure their installed
live lock screens.
Change-Id: Id4a6963cc49d1c361c99c95b17a961aaa980ed48
TICKET: CYNGNOS-1686
Michael Bestas [Tue, 2 Feb 2016 05:00:20 +0000 (07:00 +0200)]
Automatic translation import
Change-Id: I593d60dbddc30ead5a0830ab4c45ed69b084ced2