OSDN Git Service
Chih-Wei Huang [Sun, 14 Feb 2021 13:34:12 +0000 (21:34 +0800)]
Merge remote-tracking branch 'cm/cm-14.1' into cm-14.1-x86
Sunny Shao [Thu, 2 Jul 2020 09:20:26 +0000 (17:20 +0800)]
Enable the filterTouchesWhenObscured in Special app access
- Enable the filterTouchesWhenObscured attribute on all toggle
switches in all pages of the special app access
Bug:
155288585
Test: make RunSettingsRoboTests
Merged-In: I011cfe4b7e4e624a8338332ac47a353f7f3ab661
Change-Id: I85842db3faa558ea61bc878ca76ff6d8ce1a4b03
(cherry picked from commit
7359b3840f06ef75c70d75a5708011fef25a2bab)
Jakub Pawlowski [Thu, 14 May 2020 00:15:26 +0000 (02:15 +0200)]
Prevent overlay drawing on top of Bluetooth discovery request dialog
Bug:
155650356
Change-Id: I9cee6e5bb8cef77aa385d664fe0738db1496ef20
Merged-In: I9cee6e5bb8cef77aa385d664fe0738db1496ef20
(cherry picked from commit
ac671004231fb2ceb85f3101995e22dcc52c8088)
Jakub Pawlowski [Thu, 14 May 2020 00:03:14 +0000 (02:03 +0200)]
Prevent overlay drawing on top of Bluetooth pairing dialog
Bug:
155648639
Change-Id: I99643ee9084f3a9bc1ad9a459ac27c587d832c91
Merged-In: I99643ee9084f3a9bc1ad9a459ac27c587d832c91
(cherry picked from commit
3f5bf02fd8b72a57052fefccf90d0f42ab8ab5e0)
Sunny Shao [Mon, 11 May 2020 14:55:05 +0000 (22:55 +0800)]
Allows to launch only authenticator owned activities
- 3rd party developers can define himself-authenticator
and use the accountPreferences attribute to load the
predefined preference UI.
- If a developer defines an action intent to launch the
other activity in xml and it would return true due
to the true exported attribute and no permission.
- To avoid launching arbitrary activity. Here allows
to launch only authenticator owned activities.
Bug:
150946634
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.accounts
Test: PoC app
Change-Id: I5ce1a0b3838db7b3fbe48c6ea23d5f093d625cdb
Merged-In: I5ce1a0b3838db7b3fbe48c6ea23d5f093d625cdb
(cherry picked from commit
d6d8f988449617d757a5d7439314198d10d6ee78)
(cherry picked from commit
4b6e82fd5d2204cd37eae0d7c7b08f19b96baffe)
Chih-Wei Huang [Wed, 20 May 2020 13:48:00 +0000 (21:48 +0800)]
Merge remote-tracking branch 'cm/cm-14.1' into cm-14.1-x86
Mill Chen [Wed, 26 Feb 2020 15:55:51 +0000 (23:55 +0800)]
RESTRICT AUTOMERGE
Allow LockScreenPattern to be launched in the pinning screen
If work profile lock is enabled and work app is pinned, users will get a
black/white screen on the phone. That's because Settings is prevented
from other apps launch any pages of Settings in the pinning mode.
In order to launch some pages of Settings from other apps, we add a
condition to the preventive mechanism and allow the activity inherited
from SettingsBaseActivity to override the condition to have the activity
to be launched from other apps in the pinning mode.
Bug:
137015265
Bug:
135604684
Test: manual test
Change-Id: I8070de79a83350d1658efcb19e983669dad0e673
Merged-In: I8070de79a83350d1658efcb19e983669dad0e673
(cherry picked from commit
3f4d3b4ac257451ccc1676f65321dedb2cb1870e)
Mill Chen [Tue, 16 Jul 2019 09:45:46 +0000 (17:45 +0800)]
Prevent accounts page directly opening in screen pinning mode
In Settings there is no auth mechanism to prevent accounts page being
opened in screen pinning mode. This CL makes it so that when users are
trying to navigate to any pages in Settings from other apps in screen
pinning mode, Settings app will directly close its page.
Bug:
137015265
Bug:
135604684
Test: manual
Change-Id: If26eda408a9ef6fa03ad82e5bee51bb7185950d6
Merged-In: If26eda408a9ef6fa03ad82e5bee51bb7185950d6
(cherry picked from commit
f3242dab3546c019d4b79c502f7b8850d36123a5)
(cherry picked from commit
ad2502a91a6d0814396b2d26a7270e8cbdb2ed38)
Chih-Wei Huang [Tue, 22 Oct 2019 09:45:52 +0000 (17:45 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into cm-14.1-x86
Conflicts:
src/com/android/settings/ChooseLockGeneric.java
src/com/android/settings/SettingsActivity.java
src/com/android/settings/bluetooth/BluetoothPairingDialog.java
Chih-Wei Huang [Tue, 22 Oct 2019 08:09:59 +0000 (16:09 +0800)]
Merge remote-tracking branch 'cm/cm-14.1' into cm-14.1-x86
Chih-Wei Huang [Wed, 16 Oct 2019 14:07:55 +0000 (22:07 +0800)]
Merge tag 'android-7.1.2_r39' into nougat-x86
Android 7.1.2 Release 39 (
5787804)
Jonathan Scott [Tue, 7 May 2019 16:20:00 +0000 (17:20 +0100)]
Make ScreenPinningSettings behaviour consistent with lock tasks.
Bug:
127605586
Test: Manual
Change-Id: I4186c2d57b42b6e3d27013f2c9708fca56c561fe
Merged-In: I1cdd82bea4dc9e4182694b061a7746aa83dabdfe
(cherry picked from commit
b985aa2f2930e30218bdd1cf1161453b7e622418)
Raff Tsai [Fri, 8 Mar 2019 08:19:30 +0000 (16:19 +0800)]
Do not allow draw on top for App notification settings
Fixes:
119115683
Test: manual
Change-Id: Ib7b878a23b4a99171c58b5de992fb87feca8a28a
Merged-In: Ib7b878a23b4a99171c58b5de992fb87feca8a28a
(cherry picked from commit
fe86a2a51f0b8e01e5f595bd60edc594eef58aba)
(cherry picked from commit
04208f16b02c793f52b8c04d41799f79f286b056)
Michael Bestas [Tue, 6 Aug 2019 17:33:44 +0000 (20:33 +0300)]
Automatic translation import
Change-Id: I1f61a17b4bbc7600fc3d1a2a0bb7a32cc1518ce8
Uldiniad [Tue, 30 Oct 2018 23:39:02 +0000 (23:39 +0000)]
[BACKPORT]Settings: per-app VPN data restriction
*) Add option to disable all vpn data in app data usage settings.
*) VPN restriction independent from WiFi/mobile data restrictions.
Cherry-picked from https://review.lineageos.org/#/c/LineageOS/android_packages_apps_Settings/+/232793/
Change-Id: I9cb527747afa21b3dce4d61be834416a2fb9e9b4
Jonathan Scott [Tue, 7 May 2019 16:20:00 +0000 (17:20 +0100)]
[RESTRICT AUTOMERGE] Make ScreenPinningSettings behaviour consistent with lock tasks.
Bug:
127605586
Test: Manual
Change-Id: I4186c2d57b42b6e3d27013f2c9708fca56c561fe
Merged-In: I1cdd82bea4dc9e4182694b061a7746aa83dabdfe
(cherry picked from commit
b985aa2f2930e30218bdd1cf1161453b7e622418)
Raff Tsai [Fri, 8 Mar 2019 08:19:30 +0000 (16:19 +0800)]
Do not allow draw on top for App notification settings
Fixes:
119115683
Test: manual
Change-Id: Ib7b878a23b4a99171c58b5de992fb87feca8a28a
Merged-In: Ib7b878a23b4a99171c58b5de992fb87feca8a28a
(cherry picked from commit
fe86a2a51f0b8e01e5f595bd60edc594eef58aba)
(cherry picked from commit
04208f16b02c793f52b8c04d41799f79f286b056)
Fan Zhang [Fri, 15 Feb 2019 00:07:37 +0000 (16:07 -0800)]
Do not allow draw on top for default sms picker.
Fixes:
120484087
Test: manual
Change-Id: I4be265565678302fad207839216d5cd65dcb6e94
Merged-In: I4be265565678302fad207839216d5cd65dcb6e94
(cherry picked from commit
9d46e1fdfe1b70618c5a92c3e3461a4b379db236)
(cherry picked from commit
95d0fb7f4911403844666632ece42467f60ad753)
Fan Zhang [Fri, 15 Feb 2019 00:07:37 +0000 (16:07 -0800)]
Do not allow draw on top for default sms picker.
Fixes:
120484087
Test: manual
Change-Id: I4be265565678302fad207839216d5cd65dcb6e94
Merged-In: I4be265565678302fad207839216d5cd65dcb6e94
(cherry picked from commit
9d46e1fdfe1b70618c5a92c3e3461a4b379db236)
(cherry picked from commit
95d0fb7f4911403844666632ece42467f60ad753)
Michael Bestas [Sun, 10 Mar 2019 22:22:31 +0000 (00:22 +0200)]
Automatic translation import
Change-Id: I883549e61ac8ea1f3846320d59620eeea0a1d362
syphyr [Sat, 24 Nov 2018 22:06:36 +0000 (23:06 +0100)]
Make adb use a custom prop for adb root
Change-Id: Ibc6b06d5e4729bd76fc26ffcd072a2ba4219c708
Doris Ling [Tue, 31 Jul 2018 21:04:44 +0000 (14:04 -0700)]
BACKPORT: Disable changing lock when device is not provisioned.
When the device is not yet provisioned and settings is launched:
- disable the entry point for changing device lock
- remove the search panel from settings home page
- remove the search menu
Bug:
110034419
Test: make RunSettingsRoboTests
Change-Id: Ieb7eb0e8699229ec0824ccc19d7b958ac44965a2
Merged-In: Ieb7eb0e8699229ec0824ccc19d7b958ac44965a2
(cherry picked from commit
770f4abf9de2bb7d74497cc4b5f6795023229ef2)
CVE-2018-9501
Michael Bestas [Sun, 14 Oct 2018 10:46:05 +0000 (13:46 +0300)]
Automatic translation import
Change-Id: I0f13a7ad827e30b8b769fae67a23d3cfbd3e5aa0
Doris Ling [Thu, 2 Aug 2018 00:24:34 +0000 (17:24 -0700)]
DO NOT MERGE Disable changing lock when device is not provisioned.
When the device is not yet provisioned and settings is launched:
- disable the entry point for changing device lock
- set display search menu to false
- disallow update to display the search menu
Bug:
110034419
Test: make RunSettingsRoboTests
Change-Id: Ieb7eb0e8699229ec0824ccc19d7b958ac44965a2
(cherry picked from commit
94ea2dad5b936381d8ea0195ea7e63df956c0aed)
Antony Sargent [Tue, 13 Feb 2018 00:17:54 +0000 (16:17 -0800)]
Merge translations of Bluetooth confirmation text
This is a manual merge of the translated strings from the master branch
of the 'bluetooth_pairing_shares_phonebook' string. The fix for this bug
requires these translations because the fix was to slightly reword the
confirmation text in the pairing dialog and stop substituting in the
device name.
Bug:
62672248
Test: manual
Change-Id: I829baada46cdb2314021d8772feb8811072e41d8
(cherry picked from commit
732b65ca4de0bf9cedeb3f2369a2ca596e78cfd3)
Hansong Zhang [Mon, 2 Apr 2018 17:48:18 +0000 (10:48 -0700)]
DO NOT MERGE Fix unexpected behavior in Bluetooth pairing
* Set default PBAP permission to false
* Remove all newline and tab characters in Bluetooth device name
Bug:
72872376
Bug:
73173182
Test: manual
Change-Id: Ib3b99017c8da01446ce6302d43dcfb1ef8fba02c
(cherry picked from commit
4f58c19afa6531fbc56222775dc776f8b976881c)
Antony Sargent [Tue, 13 Feb 2018 00:17:54 +0000 (16:17 -0800)]
Merge translations of Bluetooth confirmation text
This is a manual merge of the translated strings from the master branch
of the 'bluetooth_pairing_shares_phonebook' string. The fix for this bug
requires these translations because the fix was to slightly reword the
confirmation text in the pairing dialog and stop substituting in the
device name.
Bug:
62672248
Test: manual
Change-Id: I829baada46cdb2314021d8772feb8811072e41d8
(cherry picked from commit
732b65ca4de0bf9cedeb3f2369a2ca596e78cfd3)
Hansong Zhang [Mon, 2 Apr 2018 17:48:18 +0000 (10:48 -0700)]
DO NOT MERGE Fix unexpected behavior in Bluetooth pairing
* Set default PBAP permission to false
* Remove all newline and tab characters in Bluetooth device name
Bug:
72872376
Bug:
73173182
Test: manual
Change-Id: Ib3b99017c8da01446ce6302d43dcfb1ef8fba02c
(cherry picked from commit
4f58c19afa6531fbc56222775dc776f8b976881c)
Honglu Yin [Fri, 15 Jan 2016 06:21:14 +0000 (14:21 +0800)]
Title is different after tapping "Memory used by apps"
“App usage” is displayed as title after tapping
“Memory used by apps” on “Memory” screen. Change the
title from “App usage” to “Memory used by apps” for
consistency.
Change-Id: I3bada43f1fea1ae9acabb151ac68b60900a26dda
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
Michael Bestas [Sat, 5 May 2018 16:20:27 +0000 (19:20 +0300)]
Automatic translation import
Change-Id: I9f8bebea19bb7fdcd11253676d3ec875739a8c3e
Chih-Wei Huang [Wed, 2 May 2018 14:40:22 +0000 (22:40 +0800)]
Merge remote-tracking branch 'cm/cm-14.1' into cm-14.1-x86
Michael Bestas [Thu, 19 Apr 2018 19:45:26 +0000 (22:45 +0300)]
Automatic translation import
Change-Id: I16a8623218ecee42034d0ea4263a6fd7d0742174
Dan Pasanen [Fri, 16 Mar 2018 01:42:36 +0000 (20:42 -0500)]
PrivacyGuard: skip icon lookup for OP_NONE
* OP 0 (zero) is OP_COARSE_LOCATION. We only want to
skip a lookup when the OP is OP_NONE (-1).
Change-Id: I64366aff1aa90bb71c2b99dae5485b0262860107
Dan Pasanen [Fri, 16 Mar 2018 01:40:44 +0000 (20:40 -0500)]
PrivacyGuard: add a couple more missing icons
* Add new icon for "Turn on screen" (ic_phone_android from
https://github.com/google/material-design-icons)
* Use music note icon for media volume
Change-Id: I9c8d314906b973319c7aeb7d0d173c7a12925b94
Tobias Tefke [Sun, 11 Mar 2018 16:58:28 +0000 (17:58 +0100)]
Privacy Guard: Add icon for VPN permission
Change-Id: I5f940c1966f9df755bc2643414b34b0303eac0a1
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
Chih-Wei Huang [Tue, 13 Feb 2018 02:48:48 +0000 (10:48 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into cm-14.1-x86
Chih-Wei Huang [Tue, 13 Feb 2018 02:48:19 +0000 (10:48 +0800)]
Merge remote-tracking branch 'cm/cm-14.1' into cm-14.1-x86
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
Chih-Wei Huang [Thu, 4 Jan 2018 08:40:20 +0000 (16:40 +0800)]
Merge tag 'android-7.1.2_r36' into nougat-x86
Android 7.1.2 Release 36 (N2G48H)
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
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)
Fan Zhang [Fri, 22 Sep 2017 16:32:02 +0000 (09:32 -0700)]
Set device credential's Window flag to be SECURE.
This prevents showing any pattern/pin in recent list.
Change-Id: Ife33131004d66092bfa57aa57a9bb856800ce28d
Fixes:
64339515
Bug:
38258991
Merged-In: Ia9935ef710cf1795d9ce464e0a9edff75be9c0c3
Merged-In: I99c283dd4a1f2d579f565ccf5839a705e75ed6fc
Merged-In: Ibe781a3a1e1483a8c6fde4c7cc5dffbf54bdba59
Test: manual
(cherry picked from commit
1cc50ae19093f2f0c219dd75d6841519e2acfeb4)
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
android-build-team Robot [Fri, 3 Nov 2017 19:55:39 +0000 (19:55 +0000)]
Merge cherrypicks of [
3166006,
3165952,
3164925,
3164926,
3164927,
3164928,
3167313,
3167314,
3167315,
3167316,
3167317,
3167318,
3167319,
3167320,
3167321,
3167322,
3166318,
3166319,
3166320,
3166321,
3166322,
3166323,
3166324,
3167333,
3167334,
3167373,
3165112,
3166325,
3165229,
3165230] into nyc-mr2-release
Change-Id: Ia32fd60f20866b4fc00eac4951fba5add39e0cd8
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
8441943bfa1dd72fad25ae9d20851b871dd9c143)
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>
Jaap Jan Meijer [Wed, 25 Oct 2017 16:13:45 +0000 (00:13 +0800)]
Merge remote-tracking branch 'cm/cm-14.1' into cm-14.1-x86
Jaap Jan Meijer [Mon, 31 Jul 2017 19:30:00 +0000 (03:30 +0800)]
Merge remote-tracking branch 'cm/cm-14.1' into cm-14.1-x86
Jaap Jan Meijer [Sat, 25 Feb 2017 11:01:14 +0000 (12:01 +0100)]
Revert "Add preference for enabling root access (3/3)"
This reverts commit
2388701001db54c3f81fd644aa3ca63aac93764c.
Jaap Jan Meijer [Sat, 25 Feb 2017 11:01:10 +0000 (12:01 +0100)]
Revert "Settings: Add Superuser entry"
This reverts commit
e99f887cdd1920c71869614820f112172d40270f.
Abhisek Devkota [Sat, 21 Oct 2017 18:11:15 +0000 (11:11 -0700)]
Automatic translation import
Change-Id: I479e6e749f9cc3443c386d2a7a7e31ef265abbd2
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
8441943bfa1dd72fad25ae9d20851b871dd9c143)
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)
android-build-team Robot [Thu, 28 Sep 2017 17:16:57 +0000 (17:16 +0000)]
Merge cherrypicks of [
2973982,
2974657,
2974658,
2973983,
2973984,
2974689,
2974690,
2974691,
2974692,
2974710,
2974711,
2974713,
2974714,
2974215,
2974216,
2974217,
2974218,
2974219,
2974220,
2974729,
2974730,
2974731,
2974732,
2974733,
2974734,
2974735,
2974736,
2974737,
2974738,
2974739,
2974740,
2974741,
2974742,
2974749,
2974750,
2974751,
2974752,
2974753,
2974647,
2974744,
2974693,
2974694,
2974648,
2974513,
2974665,
2974746] into nyc-mr2-release
Change-Id: I0d33346d338c50065825f52a47a1c09c4a27a4c6
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
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)
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
android-build-team Robot [Thu, 27 Jul 2017 00:30:15 +0000 (00:30 +0000)]
Merge cherrypicks of [
2607234,
2607235,
2606313,
2607236,
2607238,
2607239,
2606314,
2606315,
2607240,
2606316,
2606317,
2607241,
2607242,
2607243,
2607244,
2607370,
2607371,
2607245,
2607246,
2607247,
2607248,
2607249,
2607372,
2607390,
2607391,
2607392,
2607393,
2607373,
2607394,
2607397,
2607398,
2607375,
2607401,
2607376,
2607402,
2607377,
2607403,
2607404,
2607378,
2607405,
2607379,
2607380,
2607381,
2607406,
2607382,
2607407,
2607408,
2607409] into nyc-mr2-release
Change-Id: Icc26e4fc1c963ded7996ec0ce416643c1ff3d759
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)