OSDN Git Service
Michael Bestas [Sat, 31 Mar 2018 18:58:31 +0000 (21:58 +0300)]
AppOps: Add missing copyrights to icons
Change-Id: I73edf6f9d8f77ad1e4ffadbda7894ebc392f6af1
Michael W [Thu, 11 Jan 2018 21:36:00 +0000 (22:36 +0100)]
AppOps: Add missing icons for alarm, bluetooth, stats, toast
* Obviously missing, so adding them
Change-Id: Ic36991db468fb2c2888c243971ac381d08ff60ff
Michael W [Tue, 9 Jan 2018 22:46:00 +0000 (23:46 +0100)]
AppOpsDetails: Display all missing ops
* Add a new template for the remaining ops
* Set the visibility of all ops to true
* Inspired by Gabriele M <moto.falcon.git@gmail.com>
Change-Id: I4f160a995a294dfbfd3013bbd29c0a9c8766ff24
Michael Bestas [Tue, 27 Mar 2018 22:48:11 +0000 (01:48 +0300)]
Automatic translation import
Change-Id: If7a850c73de02fce6b5784691e9e640dae72ac3e
Michael W [Sat, 17 Feb 2018 13:33:44 +0000 (14:33 +0100)]
Automatic translation import
Change-Id: I04f7bab2d7bba39f2e906beb24d860618ab883f6
Antony Sargent [Wed, 6 Sep 2017 23:15:59 +0000 (16:15 -0700)]
Reword bluetooth confirmation dialog
Changing the text near the checkbox allowing contacts/call history
access from "Allow $device_name to access your contacts and call
history" to just "Allow access to your contacts and call history" to
avoid problem where a properly crafted remote device name can make the
"to access your contacts and call history" text get pushed down below
the fold, and mislead users into thinking the checkbox has a different
meaning.
Bug:
62672248
Test: manual (initiate bluetooth pairing with another phone or a
computer, observe pairing dialog text)
Change-Id: I770852739f6791c2b9a36ab45c526bab3f3b9be1
(cherry picked from commit
e14d38a3833676a9ee36155371136b83c4bfadb7)
Michael Bestas [Sun, 4 Feb 2018 02:33:08 +0000 (04:33 +0200)]
Automatic translation import
Change-Id: I5df3a574bc2911ce4aa50f0390f668ffc6029400
Paul Keith [Fri, 26 Jan 2018 21:23:03 +0000 (22:23 +0100)]
FingerprintEnrollFindSensor: Don't overlay front for side sensors
* Both the base image and the base image + overlay are equally nonsense
for devices with a side fingerprint scanner, but for those that overlay
a custom fingerprint enrollment graphic, this image overlay wreaks havoc
* Only set this overlay to be visible if the sensor is on the front, to
allow devices with side sensors to only overlay the base image
Change-Id: I7cbcea4830d4526cf9f7d139e7f84f21117fa9c4
Michael W [Sun, 14 Jan 2018 18:13:11 +0000 (19:13 +0100)]
DevelopmentSettings: Fix possible NPE
* getSystemService() can return null if the service is not
available
* Check this before accessing a method
* Edge case: This code is usually not called on every device
Change-Id: I722638f2647dde7fb7d6a9a29c4a0e82314231c7
Bruno Martins [Tue, 9 Jan 2018 15:41:02 +0000 (15:41 +0000)]
DevelopmentSettings: Hide OEM unlock by default
* The "OEM unlocking" toogle should not be visible on any
device running LineageOS, for obvious reasons. Allow it only
to show up for Google devices, such as Pixel, that set
ro.oem_unlock_supported=1.
Change-Id: I2b09974fc24e783b985de213b504e964771cbcb7
Michael W [Sat, 13 Jan 2018 15:16:17 +0000 (16:16 +0100)]
Automatic translation import
Change-Id: Iba732c48a7ed8c8b161970aedcf4465c5e88534a
Michael W [Wed, 15 Nov 2017 22:12:00 +0000 (23:12 +0100)]
Settings: Hide physical keyboard settings when no phys. keyboard exists
* Instead of showing settings which are useless, make them dependent on
availability of a hardware keyboard
Change-Id: Ib9bd30d1445b59fb34540dcc1f3dbe5aa6e1d91e
Michael W [Sun, 19 Nov 2017 11:25:10 +0000 (12:25 +0100)]
Settings: Remove dead code
* The layout around most of that code was removed "temporarily"
two years ago
(Commit
976bb3f45915bdd5165d9a50402d4c1163dae809)
* Very unlikely to come back
* Remove java code and xml code which we don't need (anymore)
Change-Id: I57baf42138db0546b7464f5c7e818ce0940e9a10
Michael W [Sun, 19 Nov 2017 11:06:27 +0000 (12:06 +0100)]
AppOps: Refactor code
* Functions should be short
* Gain readability by moving around code
Change-Id: I227aaa8e0b259555fb74d9b52c3a69d72638ef10
Abhisek Devkota [Sat, 16 Dec 2017 19:33:41 +0000 (11:33 -0800)]
Automatic translation import
Change-Id: If3f8545b706e282f109f92e66d208e0f5e4b8ae1
Abhisek Devkota [Tue, 12 Dec 2017 05:55:55 +0000 (21:55 -0800)]
Automatic translation import
Change-Id: Idef0fabcdd57824d47354e23f434d9e21c4bf7c1
Jeff Sharkey [Mon, 12 Jun 2017 23:33:58 +0000 (17:33 -0600)]
DO NOT MERGE. ActivityPicker shouldn't grant permissions.
This picker has no business granting any Uri permissions, so remove
any grant flags that malicious apps may have tried sneaking in.
Test: builds, boots
Bug:
32879772
Change-Id: I91c48c73287a271bd6c99e60e216dead22e68764
(cherry picked from commit
3f218e8431cb5648bcb46131551c133ba53ef870)
(cherry picked from commit
b5e93969a5e0c3a3f07e068dbc763cdd995a0e21)
Libo Jin [Tue, 25 Apr 2017 05:09:04 +0000 (13:09 +0800)]
BugFix:Correct fullBearer in APNSettings
Change-Id: Ic66a28256c2df258cb61ea053f9d4279a37bbb02
CRs-Fixed:
2036775
Sneh Bansal [Tue, 21 Feb 2017 12:33:41 +0000 (18:03 +0530)]
Telephony: Fix Crash in SimStatus Fragment
Null pointer exception caused because data connection state change
event triggered before the fragment could attach to the activity.
Add a null check before using the attached activity.
Change-Id: I3d9c8ca55ebcb481ba9de8012e27b592e0b9c0c5
CRs-Fixed:
2007186
huiwan [Wed, 18 Jan 2017 08:07:03 +0000 (16:07 +0800)]
Settings: fix vibrate for calls in Setting app displayed incorrect issue
"vibrate for calls" status isn't updated after change by call setting, update
the status onResume while back to Settings.
CRs-Fixed:
1112360
Change-Id: Idd7eb25cf6abac25bcf43327361eb495dd19be9c
guangl [Mon, 16 Jan 2017 10:17:07 +0000 (18:17 +0800)]
Settings: back icon doesn't work in format SD as portable page.
Need to use the setHasOptionsMenu(true) method to
activate response of "back" button.
Change-Id: If5e4ead126a44fd469daf803b38ece2c8828fdcc
CRs-Fixed:
1111775
guangl [Thu, 15 Dec 2016 08:14:43 +0000 (16:14 +0800)]
Settings: Fix settings force close
No Activity found to handle Intent
{com.android.settings.Settings$ScreenLockSuggestionActivity}
Check whether activity exists before start activity.
Change-Id: Ib8736577fb280b4af0ba22126a094e788e570e5d
CRs-Fixed:
1101735
jianhuac [Wed, 21 Dec 2016 03:29:44 +0000 (11:29 +0800)]
Settings: Fix crash when disconnect wifi
The context of fragmente is null before it was added into Activity.
Need check that whether fragmente have been add into activity before
invoke context related operations.
Change-Id: I24167666fe40f4513dbe1213b1be36849ea74052
Michael W [Sun, 19 Nov 2017 09:55:58 +0000 (10:55 +0100)]
Settings: Strings: Modify a few german summaries
* They take too much space in german
* They also lack accuracy in translation
Change-Id: I7e4119f6534d25cd0ab9c5abe71be45d8ac0f40b
Michael W [Sun, 12 Nov 2017 14:03:25 +0000 (15:03 +0100)]
AppOps: Add info if app doesn't request any blockable permissions
* Instead of only showing a blank page, actually show an info
* This makes the screen look like it's actually blank on
purpose
Change-Id: Ibae3ada4ecf8559c3000028f80ff5cf054410699
Michael W [Sat, 11 Nov 2017 16:21:50 +0000 (17:21 +0100)]
AppOps: Add icon for "Toggle cellular data"
Change-Id: I2b2d7bcbf2eb97d5a97df3455daea32384333566
songkailun [Fri, 29 Sep 2017 01:42:05 +0000 (09:42 +0800)]
Fix wrong format in AndroidManifest.xml
N/A
Change-Id: Idf3b9c22e65d15013f5e3e2f5a1e9719d35ede3a
Signed-off-by: songkailun <songkailun@xiaomi.com>
Abhisek Devkota [Sat, 21 Oct 2017 18:11:15 +0000 (11:11 -0700)]
Automatic translation import
Change-Id: I479e6e749f9cc3443c386d2a7a7e31ef265abbd2
Michael W [Fri, 6 Oct 2017 11:53:04 +0000 (11:53 +0000)]
Settings: Correct german translation for 1 registered fingerprint
* It's "1 Fingerabdruck", not "1 Fingerabdrücke" (thats plural)
Change-Id: I3273ad92eb8d8c9dceaaa8c385a6da86bfe2d5f8
Suprabh Shukla [Tue, 15 Aug 2017 03:33:12 +0000 (03:33 +0000)]
Disabling the activate button when paused
This revises the previous attempt to drop taps when another window is
obscuring the device admin details. Any system alert windows or toasts
are disabled when the activity is in focus, otherwise the button is
disabled so no floating activities can obscure it and delegate taps back
to the security sensitive "Activate" button.
Test: CtsVerifier -> Device Administration -> Device Admin Tapjacking Test
Bug:
35056974
Change-Id: I292a44e713ea4a4b0305ca3b3b21f1c82fd73c2b
Merged-In: I292a44e713ea4a4b0305ca3b3b21f1c82fd73c2b
(cherry picked from commit
8e08a9bb715ff6a6b6bfa9556c3666a10f87053a)
Joey Rizzoli [Wed, 30 Aug 2017 12:01:54 +0000 (14:01 +0200)]
[2/3] Settings: add burnIn protection setting
Change-Id: I48e86a019d43a935619fbbe3a67750121ccb398d
Signed-off-by: Joey Rizzoli <joey@lineageos.org>
Abhisek Devkota [Mon, 18 Sep 2017 18:48:07 +0000 (11:48 -0700)]
Automatic translation import
Change-Id: I48d32bf6322273081cb671ccee12edb28af97f86
Gabriele M [Thu, 31 Aug 2017 23:46:30 +0000 (01:46 +0200)]
AppOpsState: Hide undeclared Privacy Guard OPs
Since commit
f02e0409eafcccbbaa1efda309946cbbd4f1f51c
("Settings: Always show Privacy Guard permissions"), all the Privacy
Guard OPs are shown independently on whether the application declared
the associated permission or not. This solved the UI inconsistencies,
but it's still confusing. Instead of always showing these special OPs,
hide them, unless unless the application declared the associated
permission or the OP doesn't have an associated permission.
Note: if a Privacy Guard OP is not associated to any permission it
will appear for every application with Privacy Guard enabled,
bringing back the UI inconsistency solved with
f02e0409eafcccbbaa.
This doesn't happen with the current set of OPs.
Change-Id: Iddc92b3547187e24140a328d50c5ac09bc1a7ccf
Phil Weaver [Wed, 12 Jul 2017 21:07:07 +0000 (14:07 -0700)]
Back-port ag/
2491664
Bug:
62196835
Test: Verify overlays disappear on a11y capabilities
dialog.
Change-Id: Ic675012dd9faa8e53d1d4b126b3ba68fecdab992
(cherry picked from commit
e76e053595660ed2a75adb33ee124a7bfbed164b)
Gabriele M [Thu, 31 Aug 2017 20:41:06 +0000 (22:41 +0200)]
AppOpsDetails: Generate correct summary when changing list prefs
MODE_ENTRIES are strings of numbers, not names.
Change-Id: I749a808951d5359e92b6974714874f705c373342
Bruno Martins [Sun, 20 Aug 2017 23:46:49 +0000 (00:46 +0100)]
Settings: Allow devices to provide remote gesture preferences
* Not all devices can use common gestures as implemented in CMParts
Change-Id: Iae4ca9fc686e3dc82411524688841211e0cceb7b
Dominggoes Isakh [Tue, 25 Jul 2017 21:00:36 +0000 (23:00 +0200)]
Settings: Fix internal storage summary for non-emulated storage devices
BUGBASH-355
Change-Id: Ie14e8f71792d60cf300b844b798d51ea7f6dced8
Gabriele M [Sun, 2 Jul 2017 15:50:48 +0000 (17:50 +0200)]
Settings: Change Updater package name
Change-Id: I03077201b084d3931f0f3237d36bab4321ed7b3a
Abhisek Devkota [Sat, 19 Aug 2017 22:34:38 +0000 (15:34 -0700)]
Automatic translation import
Change-Id: Icac641d9d6538a2ce9ae73a83607330ef5c4af5f
Gabriele M [Sun, 6 Aug 2017 11:08:51 +0000 (13:08 +0200)]
Settings: Always show Privacy Guard permissions
Enabling Privacy Guard for an app simply means switching a set of
operations to MODE_ASK, independently on whether the application
actually declared those ops (though a permission) or not. The
framework keeps track only of the ops with a non-default value. As
consequence, all the ops set by Privacy Guard that aren't declared
by the app through its manifest are effectively lost when set to
their default value and the settings won't show them.
Never hide the Privacy Guard ops to provide a consistent UI.
Change-Id: Iafcf058f5e2074982bf45f8c82ef8d027b9358f0
Dominggoes Isakh [Sun, 13 Aug 2017 15:31:33 +0000 (15:31 +0000)]
Revert "Settings[Wifi]: fix the input invalid length for WEP encryption."
This reverts commit
9663c3179fad5e7de7bf4bf31e40649749f33861.
Change-Id: I3879ddb0ff53359c9d154045a6fcb067603e30f9
Luca Stefani [Sun, 13 Aug 2017 19:05:23 +0000 (21:05 +0200)]
AppOps: Switch to an HashMap
* Remove now unneeded getDrawableForOp function
Change-Id: Iefefd55797bee1ceebfcf7ab18bebaa9b56bdd19
Michael W [Fri, 11 Aug 2017 17:05:27 +0000 (19:05 +0200)]
Settings: Add a shortcut icon for carrier selection
* This is a re-implementation from cm-13.0
* The new implementation pop ups a SIM chooser in case of
multisim and opens the network operator selection for the
selected sim rather than the first one
* In case of single-sim it directly opens the network operator
selection for the sim
Change-Id: Iad7f43b3e56449432fe009bf44d68d703768981e
Michael W [Fri, 11 Aug 2017 13:47:05 +0000 (15:47 +0200)]
AppOps: Redesign
* To match other settings, overhaul the current view by
converting it to a PreferenceScreen
* While on it, fix bug with icons not shown if previous perm
would have the same icon
* Add some additional icons for permissions
BUGBASH-621
Change-Id: I38fc01e02cd1711ee943717c42af4f40c51d94a6
Abhisek Devkota [Wed, 9 Aug 2017 03:15:48 +0000 (20:15 -0700)]
Automatic translation import
Change-Id: I3308403c1408559457a5b18078b81c69c6403032
Abhisek Devkota [Fri, 4 Aug 2017 05:47:28 +0000 (22:47 -0700)]
Automatic translation import
Change-Id: Iaff69c111d8606a9656ad7a5b6ccab52953287ea
Abhisek Devkota [Fri, 28 Jul 2017 02:53:10 +0000 (19:53 -0700)]
Automatic translation import
Change-Id: Ib4f0f84165eab6323b92deb5ef6b5a2bd6811304
Abhisek Devkota [Wed, 26 Jul 2017 03:24:38 +0000 (20:24 -0700)]
Automatic translation import
Change-Id: I6172bd12b39b8c24c4a26fea769cdca0e743e65c
Umashankar Godachi [Fri, 8 Jan 2016 14:24:43 +0000 (19:54 +0530)]
MSIM: Fix user set DDS sub in hotswap cases.
Currently if user set DDS sim is removed and inserted,
dds will not fallback to user preferred sub.
Fix: Save the user preferred DDS sub in DB and set it
as DDS sub, when sim is removed and inserted.
Change-Id: Ic34fdbad70a7dc99a0fa5de9cbb9d24caa6bac87
CRs-Fixed: 958445
Abhisek Devkota [Sat, 22 Jul 2017 19:42:00 +0000 (12:42 -0700)]
Automatic translation import
Change-Id: I75288afc20a228fbaff597e351376871c596d1e2
Gabriele M [Thu, 6 Jul 2017 09:07:27 +0000 (11:07 +0200)]
Bring back some physical keyboard settings
These preferences were originally in AOSP, but they were then removed
and we brought them back with
572f90bdf8183e42c522fdf041b20b064ffc8549
("Settings: Add toggles for several CM additions"). So they are not
our addition as commit
5aa2f34b1c78c5b41f25b820c1f29b29c58e0cae
("Settings: Add toggles for several CM additions") implies and they
are currently dummy switches. Bring back the code needed to handle
these preferences.
Please note that these preferences simply control whether the current
on-screen keypad can or cannot process hard keyboard events.
BUGBASH-761
Change-Id: I4e90e009a998fadfcbd48b07aa9ad3164a01cb1a
Abhisek Devkota [Sat, 8 Jul 2017 04:20:10 +0000 (21:20 -0700)]
Automatic translation import
Change-Id: Ic6d3ddbe2d724cfb563fd247b4bc7c03555e9182
Dan Pasanen [Wed, 5 Jul 2017 22:32:29 +0000 (17:32 -0500)]
Merge tag 'android-7.1.2_r24' into cm-14.1
Android 7.1.2 release 24
# gpg: Signature made Fri 30 Jun 2017 01:19:32 PM CDT
# gpg: using DSA key
E8AD3F819AB10E78
# gpg: Can't check signature: No public key
Abhisek Devkota [Tue, 4 Jul 2017 00:24:58 +0000 (17:24 -0700)]
Automatic translation import
Change-Id: I6c44588a033fc828a8f565b17c6eaf1ab981d228
Abhisek Devkota [Sat, 1 Jul 2017 05:06:41 +0000 (22:06 -0700)]
Automatic translation import
Change-Id: I0fed25bc5a4c37837f500fd89de8d8462cb3a530
Adrian DC [Thu, 22 Jun 2017 20:11:58 +0000 (22:11 +0200)]
Settings: Hide disabled lockscreen blur from search index
* Hides lockscreen background blur from search results
when the feature is not not available
Change-Id: If2e425027a193bacee166ce89da48f28f71133c7
Abhisek Devkota [Fri, 23 Jun 2017 03:56:21 +0000 (20:56 -0700)]
Automatic translation import
Change-Id: Ibedb962093ebe7f297aff95ca9cd9236155b2abe
Michael Bestas [Mon, 19 Jun 2017 21:56:07 +0000 (00:56 +0300)]
Settings: handle decrypting larger pattern sizes for sw600dp
* Apply
bc86445070a5ea526242d8e4e4389d7824a75fd4 to layout-sw600dp
in order to fix decryption with pattern larger than 3x3 on tablets
BUGBASH-671
Change-Id: Ic831adc73b7ab942c2f9b5bc65844b8f3c9f6f2d
Dominggoes Isakh [Sun, 21 May 2017 21:20:41 +0000 (21:20 +0000)]
Revert "Settings: Fix internal storage summary for non-emulated storage"
This reverts commit
c78a1d176be96e6acdb570b00a3e15df9fe1ddf7.
Change-Id: If3d3e5a6b1b30e077010b67c2c5db89fbed6d97d
Elektroschmock [Sat, 3 Jun 2017 06:33:48 +0000 (08:33 +0200)]
Settings: Fix automatic hotspot turn off summary
Change-Id: I066cf2c1d757a4bfb8a84094969710f58e444422
Abhisek Devkota [Thu, 1 Jun 2017 03:10:01 +0000 (20:10 -0700)]
Automatic translation import
Change-Id: I672872cab276b372f666268c712c0e91bd7d2bbb
Matssa56 [Tue, 30 May 2017 19:50:38 +0000 (21:50 +0200)]
Double tap to sleep anywhere on the lock screen [2/3]
Change-Id: I4d8e760603a53f854aabd15acaa70482d4a6ecc5
beanstown106 [Sat, 24 Oct 2015 01:07:35 +0000 (21:07 -0400)]
Settings: Disable Lockscreen Media Art [2/3]
* Toggle to choose whether or not to show album art/media art on lockscreen
Change-Id: Ieea583a0e42c317e1651ecaba66ac07c02934250
Elektroschmock [Thu, 1 Jun 2017 18:38:44 +0000 (20:38 +0200)]
Settings: Make string untranslatable
Change-Id: I722ade33583f5d7595cff8ff658b93823830c453
Adnan Begovic [Fri, 16 Jan 2015 16:31:29 +0000 (16:31 +0000)]
Squash commit of SAR and IC Code.
TICKET: CYNGNOS-1586
Settings: Show SAR on Regulatory Info (from CM11)
This brings these three commits from CM11:
Settings: Create SAR level preference, allow overlay.
Change-Id: I1af616696702f72b8a6276b3b01e940d61735137
Change Regulatory Info Activity to prefer string over image
Change-Id: I9ea5c2bf469af8f654ec4e4bb4f2a8a5738e6a95
Settings: Allow Regulator Information Dialog Title to be overlaid.
Change-Id: I5aead313589f5d5291d20a0388d2d8bc7242b711
Settings: Refactory regulatory dialog. Display IC Code.
Change-Id: Id268830404d09eed318e38474fe1a9062fc4e962
Steven Ng [Mon, 15 May 2017 17:30:04 +0000 (18:30 +0100)]
Fix phishing attack in ChooseLockGeneric
Cherry-pick of
436256c36d69549c77320d073bef27649c1b1d6e
Test: 1) make and run SettingsTests. It passes.
2) Manual test 1
a) On a device supports fingerprint, set a password but not fingerprint.
b) adb shell am start -a android.app.action.SET_NEW_PARENT_PROFILE_PASSWORD
c) Confirm Lock password screen is shown
d) Select "Skip fingerprint". There isn't a second lock password confirmation screen.
e) A new password can be set successfully.
3) Manual test 2
a) Repeat step 2)a) - 2)c)
b) Select "Fingerprint + PIN". There isn't a second lock password confirmation screen.
c) A new password and fingerprint can be enrolled successfully.
Bug:
33059280
Change-Id: I1078c6e303fc41aeeb370e5d6518d1f16b5837f1
Merged-In: I1078c6e303fc41aeeb370e5d6518d1f16b5837f1
(cherry picked from commit
14153fd25b4757add2107d35e71fcfbb55c1e419)
(cherry picked from commit
34f28f8feee2ac914794c9895fba2a20ba4f3906)
Dmitry Dementyev [Thu, 9 Mar 2017 00:32:00 +0000 (16:32 -0800)]
resolve merge conflicts of
3964c51bf2 to nyc-dev
Bug:
33123882
Test: manual tests
Merged-In: If68343d155364654fa7db55ace3fb3c4db508c7e
Change-Id: I17ceca883819a161c4eab2a414abf0b64c320378
(cherry picked from commit
0f04a5a93f846d6f2d528ab6ae0c9e37d701e438)
LuK1337 [Tue, 23 May 2017 13:05:25 +0000 (15:05 +0200)]
Fix crash when calling remove() with a null variable
Change-Id: I5b79e0b15b356cf69208f13cc3a16968c7fd94a8
Abhisek Devkota [Thu, 18 May 2017 05:22:46 +0000 (22:22 -0700)]
Automatic translation import
Change-Id: I9900466a5a8365d6f1ded2ccfcf1c340676399f9
Abhisek Devkota [Fri, 28 Apr 2017 22:16:51 +0000 (15:16 -0700)]
Automatic translation import
Change-Id: Ic3ee208ccf46dec1e0d7ea2b549b13ae4fb6e2f3
huiwan [Mon, 13 Feb 2017 01:50:58 +0000 (09:50 +0800)]
Revert "Settings: Lost cached BT devices in found devices list"
This reverts commit
4bf5b15e47e8090cef0698abf310d8a4f8f33246.
Change-Id: Ifd38bb12583f9a49c102084a62c889415a95fec8
CRs-Fixed:
1111656
huiwan [Wed, 25 Jan 2017 05:12:17 +0000 (13:12 +0800)]
Settings[Wifi]: fix the input invalid length for WEP encryption.
Add following check for WEP password:
WEP40, WEP104, WEP128 -- 5, 13, 16
HEX -- 10, 26, 32, character&number only
Change-Id: Ia76583f23ed860fcce7ff80f7bc7a70579c1bb88
CRs-Fixed:
1115766
Dominggoes Isakh [Mon, 10 Apr 2017 21:42:08 +0000 (23:42 +0200)]
Settings: Fix internal storage summary for non-emulated storage
BUGBASH-355
Change-Id: I5df43d0c46ab5cf742fa5ddb8a8c44056d375026
Abhisek Devkota [Thu, 20 Apr 2017 19:08:53 +0000 (12:08 -0700)]
Automatic translation import
Change-Id: Ia6079a3ee5f6487b2217d8414e882944d6dd06ed
Dan Pasanen [Wed, 5 Apr 2017 13:46:36 +0000 (08:46 -0500)]
Merge tag 'android-7.1.2_r2' into cm-14.1
Android 7.1.2 Release 2 (N2G47E)
Change-Id: I45b519f43290a79b86f3976cddecf1a0199ced25
Abhisek Devkota [Wed, 29 Mar 2017 21:25:37 +0000 (14:25 -0700)]
Automatic translation import
Change-Id: I8cd9b7447d49c85770f51b0080b17585b2485596
Joey Rizzoli [Sun, 26 Mar 2017 19:06:49 +0000 (21:06 +0200)]
Revert "[2/2] settings: support setting a separate encryption password"
This reverts commit
c585070fc70c88643ca6f568f8c4cab6d21144a8.
Separated encryption password implementation is currently not so well implemented
and it exposes some additional security issues
Change-Id: I0000476d3fae0ad067b741366efe62787213515b
Signed-off-by: Joey Rizzoli <joey@lineageos.org>
Michael Bestas [Mon, 15 Sep 2014 22:02:26 +0000 (01:02 +0300)]
Settings: Fix AOSP WiFi AP translations
* Add missing spaces between SSID and AP security
Change-Id: Idcd284a16cbd10a0e73db8bfda988f2ad3e6e6f1
Michael W [Sun, 26 Mar 2017 14:43:20 +0000 (16:43 +0200)]
Settings: Fix german string
* This string seems to have had some issues when AOSP/CAF did
the german translation
* Add the proper translation
Change-Id: I39e68554e10bb12515c1504c3f4fba51e00fb3f4
Abhisek Devkota [Wed, 22 Mar 2017 19:41:41 +0000 (12:41 -0700)]
Automatic translation import
Change-Id: Ief8c65986599ff601d91cfdad521f697d41d37d6
Danny Baumann [Mon, 4 Jan 2016 14:24:03 +0000 (15:24 +0100)]
Fix zen mode allowed event preference summary.
Simply using lower-cased versions of other strings might work for
English, but not for most other languages.
Also improve formatting of list: Instead of showing 'a, b, c', show 'a,
b and c'.
Change-Id: I7a809e0655cbde3af1695ec3ddf86ec818fb191d
Abhisek Devkota [Mon, 20 Mar 2017 20:55:05 +0000 (13:55 -0700)]
Automatic translation import
Change-Id: I2f0b991da6b8ea873f239b67dabd80ef4798058f
Harry Youd [Sun, 19 Mar 2017 10:02:13 +0000 (10:02 +0000)]
Make Build Date and API Level unselectable
Change-Id: I5c269ce2ecfbef92e95fc4f0c9b8d31f7f71f462
Gabriele M [Wed, 15 Mar 2017 21:05:46 +0000 (22:05 +0100)]
AppOpsDetails: Check app permissions safely
checkOp() throws a SecurityException when the application is not
allowed to perform the given operation. Use checkOpNoThrow() so
that no exception is thrown. If the operation is not permitted,
AppOpsManager.MODE_ERRORED will be returned and AppOpsDetails will
treat it as MODE_IGNORED (i.e. don't allow).
BUGBASH-52
Change-Id: Ic3177a24ae52438594e65cd19e29a86c1ee299e8
Abhisek Devkota [Wed, 15 Mar 2017 20:37:19 +0000 (13:37 -0700)]
Automatic translation import
Change-Id: Ie312b05e9cd833224aa54486d0bd6045e168e410
Danny Baumann [Thu, 16 Feb 2017 13:50:56 +0000 (14:50 +0100)]
Fix possible NPE on SIM settings shutdown.
Change-Id: Ibf6b54fc2b97a780cfd7ace17c54855ef7e70c57
Danny Baumann [Tue, 28 Feb 2017 11:26:37 +0000 (12:26 +0100)]
Clean up SIM enable toggle implementation
- Move strings to cm_strings.xml
- Improve string wording
- Remove unused code
- Streamline implementation
Change-Id: I58fc3002cfcc37dd1798819223289cc541bed211
Thecrazyskull [Mon, 27 Feb 2017 21:15:22 +0000 (16:15 -0500)]
Settings: port manual provisiong support
commit
7adcacb2b7b586f2cc1fe26db769e63553a89494
Author: Ricardo Cerqueira <ricardo@cyngn.com>
Date: Thu Jul 28 12:29:40 2016 +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
commit
bdc7782bceb1dfe27996aa4be6bdbae865777aaa
Author: Venkatraman Nerellapalli <venkataraman.nerellapalli@codeaurora.org>
Date: Sat Jan 9 17:20:00 2016 +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
commit
e7f94ba9a879bd0928efade6ed3734eb829ed834
Author: Luca Stefani <luca.stefani.ge1@gmail.com>
Date: Sun Jul 3 21:56:08 2016 +0200
Settings: Disable sim switch if subscription isn't valid
Change-Id: I22ba9a3270da13f77fdd43586b7dc487f0929453
commit
c6856615eb456139108570dc855356e0cb95ab7c
Author: LuK1337 <priv.luk@gmail.com>
Date: Sun Jul 3 22:11:26 2016 +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
commit
9e21654c1d8f3393cfb662866b64e3531645e31b
Author: LuK1337 <priv.luk@gmail.com>
Date: Sun Jan 3 22:32:00 2016 +0100
Hide manual provisioning switch when extphone framework is not present
* It doesn't work without it.
Change-Id: Iec11ec2006059f26668f2a6fee4c2c9ca6650119
commit
00823fa8f1f91da538440425e676b95b4d829457
Author: Ricardo Cerqueira <ricardo@cyngn.com>
Date: Thu Nov 5 18:23:52 2015 +0000
Break MSIM dependency on qci-telephony-framework
If the provisioning state is invalid, the framework is most likely
absent. Consider the card as provisioned to pass all relevant checks.
Change-Id: I975ff156e4328e9d3f6e2626a863bbacb29e3337
commit
e92619a138fc1a2370ed0d583bae0573c214eaf0
Author: Sandeep Gutta <sangutta@codeaurora.org>
Date: Mon Sep 14 20:14:07 2015 +0530
Telephony(MSIM): Select preferred primary sub.
Add UI to select preferred primary sub.
It is used when two SIM cards inserted have same
priority as per policy.
Change-Id: I5726fe9f4df03e680dc2406854d08da77297444d
commit
dade627ff0569117908a5ef47f93251530c6f319
Author: Sandeep Gutta <sangutta@codeaurora.org>
Date: Sun Sep 13 22:09:23 2015 +0530
Telephony(MSIM): Fix to do not allow both SIM deactivation
Use proper SubInfo record object to do not allow
user to deactivate both SIMs on DSDS devices.
Change-Id: I6f56d819367272b3a009c7a8133709c643e8bd84
CRs-Fixed: 893504
commit
d9983cb15c59672f3030869a6b5f143da5320866
Author: Sandeep Gutta <sangutta@codeaurora.org>
Date: Mon Aug 10 15:09:59 2015 +0530
Telephony(MSIM): Manual provision related fixes
- Consider Manual provision state while displaying
active sub info list.
- Enable sms/data user preference option only
if more than one subscription active.
- Introduce below system proeprty to control AOSP
behavior of user selection of fallback preference
for sms/data
"persist.radio.aosp_usr_pref_sel"
Change-Id: I2b308b801f3f677c5a3ffaee5a8e6beda12aedd2
commit
86b04f6dfd56383bc0142cb5d03ebca9648b5061
Author: Chaitanya Saggurthi <csaggurt@codeaurora.org>
Date: Thu Jul 16 16:33:34 2015 +0530
Telephony(MSIM): Add Manual provisioning support
Add toggle switch UI option in SimSettings screen to
enable/disable SIM cards
Change-Id: Id07271aedb12eabc0b106ac278ba2e12c71cfe03
Change-Id: I451081b38d2652914ec82c53bf32128ce393c25d
Abhisek Devkota [Wed, 8 Mar 2017 22:05:04 +0000 (14:05 -0800)]
Automatic translation import
Change-Id: I498ddb3a81db83026ea5fbe429a7daedebff3339
Michael W [Thu, 2 Mar 2017 21:29:50 +0000 (22:29 +0100)]
Automatic translation import
Change-Id: I822afbea6bda544a3cf68027caf204de45bc2756
Danesh M [Tue, 26 Jan 2016 22:54:27 +0000 (14:54 -0800)]
Settings: Add overlay for hiding wifi region code
CYNGNOS-1637
Change-Id: Ieb1f6553a2addb17ec6b93b51ab8fb19f6c5ca49
Abhisek Devkota [Sat, 25 Feb 2017 02:54:29 +0000 (18:54 -0800)]
Automatic translation import
Change-Id: I858ee9d5f20d78693736e932e727b6686e96c75b
Gabriele M [Fri, 24 Feb 2017 19:51:28 +0000 (20:51 +0100)]
Fix TTS engine label text wrapping
If the font size is increased, the gear icon that allows to access
the preferences of a TTS engine can go out of the visible area.
Change-Id: I67a63943a4d1ff8d0f3c7bf10f23bae9be34a40c
Abhisek Devkota [Fri, 24 Feb 2017 03:17:16 +0000 (19:17 -0800)]
Automatic translation import
Change-Id: I2baa095d3b62d8c56b48a646e36ee5ad22a99c29
Gabriele M [Wed, 22 Feb 2017 13:16:36 +0000 (14:16 +0100)]
Revert "Settings:Change the way of email account displayed"
We shouldn't use a whitelist here, we want to show the accounts
of every app.
This reverts commit
36b6c501c434237a33e12b0572fc4644437d99c2.
Change-Id: I376b68b51eb78d9ba9c0cfb1759f5b84bf414e81
Danny Baumann [Wed, 8 Feb 2017 12:44:07 +0000 (13:44 +0100)]
Improve layout of app ops details screen.
Change-Id: I3ee30280f6542f2c01ba39c2f821094942b9e943
Abhisek Devkota [Sun, 19 Feb 2017 23:05:27 +0000 (15:05 -0800)]
Automatic translation import
Change-Id: I96ca495b39cf585ff670f7d6b0f0e95b1528f754
Abhisek Devkota [Thu, 16 Feb 2017 18:42:18 +0000 (10:42 -0800)]
Automatic translation import
Change-Id: I6a0f8f61a174c7e36f289a6da7253d271e70d053
Danny Baumann [Wed, 8 Feb 2017 09:31:47 +0000 (10:31 +0100)]
Track RemotePreferenceManager API changes.
Done in change Ica17c19ab6e1cdfd402968ce2594d3ed362e23ee.
Change-Id: Iea32d0d322e1ce4aede1735501070e6d1ef8bfd3
JIRA:LINN-3
(cherry picked from commit
cdc125961af74eabce1a68576a8a4a1513ae668c)
Andrew Dodd [Thu, 13 Sep 2012 01:59:20 +0000 (21:59 -0400)]
wifi: Allow configuration of country code for wifi
Wifi country code handling is a nightmare - Most retail devices
have region customization in /system for each country a device
is shipped to.
This doesn't work very well for a firmware like Cyanogenmod,
where we try to support all target countries with one firmware
package. For whatever reason, with newer Broadcom drivers/
firmware blobs, the old trick of using a universal region code
(ccode=ALL in nvram_net.txt) does not seem to work. Who knows
what the deal is for other wifi chipsets.
The good thing is that wpa_supplicant has a standardized
cross-chipset method for setting the region code, and we
use that here.
Cherry-Pick: https://review.cyanogenmod.org/#/c/119667/
JIRA: CML-118
Change-Id: Ia9f5133f61f56d89ccb290e37a393f5de507e1cf