Commit Graph

46062 Commits

Author SHA1 Message Date
Evan Laird
7d9ec632f2 Allow config to disable battery percent setting
Respect config_battery_percentage_setting_available to determine whether
or not to allow showing battery percentage in the status bar.

Test: visual
Bug: 80129194
Change-Id: I23b0065ed99865a8df37c098b2f0f16d57799706
2018-06-13 20:13:47 -04:00
Pengquan Meng
5b255c9cbc [automerger skipped] Merge "Remove internal ApnSetting." am: 4079677883
am: 1fc6859126  -s ours

Change-Id: Ic6772c2b65d98c78863c5e9b60e7c1ac1cc714cb
2018-06-13 16:19:25 -07:00
Pengquan Meng
1fc6859126 Merge "Remove internal ApnSetting."
am: 4079677883

Change-Id: I130a2038c2c5b289c107d9e640c038965ef60e34
2018-06-13 15:33:56 -07:00
Pengquan Meng
4079677883 Merge "Remove internal ApnSetting." 2018-06-13 20:47:13 +00:00
Beverly
55dfd8a86b Add help uri for prevent ringing gesture
Test: build
Bug: 79270169
Change-Id: Iea5598f26649854521202363cad6ee297cef3057
(cherry picked from commit 486d1facfa)
2018-06-13 13:25:31 +00:00
yuemingw
b98d538bbe Remove internal ApnSetting.
Remove com.android.internal.telephony.dataconnection.ApnSetting and
use android.telephony.data.ApnSetting instead.

Bug: 77511388
Test: existing test
Change-Id: Idb66b7af22c0531d4ffc324075849abc08667a87
Merged-In: I8ca1fb399026a8ef4ba9afa18678d986daa50606
2018-06-13 13:33:59 +01:00
Salvador Martinez
31a33ba6b6 Change UI for wireless AP tether band selection
am: acff57fa68

Change-Id: I47124f2fa50015eca97cee589b4a1f94f43123fd
2018-06-12 17:15:51 -07:00
Salvador Martinez
acff57fa68 Change UI for wireless AP tether band selection
We decided to use the list preference after all due to
some devices not supporting various combinations of AP
configurations. This change makes it so that there are
three different UIs depending on the configurations
which are supported.
- 5.0 GHz unsupported: disable the preference and just
set the value to 2.4 GHz
- all supported, no dual mode: allow the user to choose
EITHER 2.4 GHz or 5.0 GHz
- all supported, dual mode: allow the user to choose
2.4 GHz or BOTH 2.4 GHz & 5.0 GHz with 5.0 being
preferred

Test: atest SettingsRoboTests
Bug: 80315296
Change-Id: I888d35811a98b8cf0155a3cb96c42ff762763378
Merged-In: I888d35811a98b8cf0155a3cb96c42ff762763378
2018-06-12 22:59:28 +00:00
yuemingw
ff73564ea0 Remove internal ApnSetting.
Remove com.android.internal.telephony.dataconnection.ApnSetting and
use android.telephony.data.ApnSetting instead.

Bug: 77511388
Test: existing test
Change-Id: I8ca1fb399026a8ef4ba9afa18678d986daa50606
2018-06-12 15:59:24 +00:00
Ivan Chiang
11cea132bd DO NOT MERGE Revert "DO NOT MERGE Revert "Fix gray out previously connected device preference issue""
This reverts commit ca85cc9d27.

Reason for revert: This patch should be submitted with whole topic.

Bug: 80227045
Change-Id: I446329aa3370b64b2a943a0f970d0236258455a3
2018-06-12 15:33:06 +00:00
Artem Iglikov
270c692e7f Merge "DO NOT MERGE Revert "Fix gray out previously connected device preference issue"" into pi-dev
am: 5cb6b79400

Change-Id: I6c958dc1d0c4d87eeafe1855da6455f4185597da
2018-06-12 06:35:19 -07:00
TreeHugger Robot
5cb6b79400 Merge "DO NOT MERGE Revert "Fix gray out previously connected device preference issue"" into pi-dev 2018-06-12 12:47:36 +00:00
Artem Iglikov
ca85cc9d27 DO NOT MERGE Revert "Fix gray out previously connected device preference issue"
This reverts commit 95abf59af4.

Reason for revert: Crashes settings (b/110075201)

Bug: 110075201
Change-Id: Ie6ea94e0891754f18576bd21447b64410d2fd23a
2018-06-12 11:55:31 +00:00
Ivan Chiang
d718f4bb8b Merge "Fix gray out previously connected device preference issue" into pi-dev
am: 2ffa711cd1

Change-Id: Id889619b77d10826ad0c0eefe494b7aea3a4d779
2018-06-12 01:20:56 -07:00
TreeHugger Robot
2ffa711cd1 Merge "Fix gray out previously connected device preference issue" into pi-dev 2018-06-12 07:34:15 +00:00
android-build-team Robot
fa06be0727 Merge cherrypicks of [4315359, 4315389, 4315390, 4315519, 4315520, 4315360, 4317665, 4317701, 4315391, 4316085] into pi-release
Change-Id: I913d48556bf01f9baf0b1e2d6dfc41127a9816d1
2018-06-12 01:49:25 +00:00
Fan Zhang
23059f5e5a Skip device index job if caller is not Settings app.
Change-Id: I96184f111e83477b46ddf321ec74917bab330048
Fixes: 80437512
Fixes: 109713077
Test: robotests
(cherry picked from commit 74ba1a51d7)
(cherry picked from commit 9ecf3e0c11)
2018-06-12 01:48:58 +00:00
Fan Zhang
251c324646 Skip device index job if caller is not Settings app.
am: 9ecf3e0c11

Change-Id: I84974379ac3074367623cce60d6633fd4390ed00
2018-06-11 11:40:07 -07:00
Fan Zhang
9ecf3e0c11 Skip device index job if caller is not Settings app.
Change-Id: I96184f111e83477b46ddf321ec74917bab330048
Fixes: 80437512
Fixes: 109713077
Test: robotests
(cherry picked from commit 74ba1a51d7)
2018-06-11 15:54:36 +00:00
android-build-team Robot
da294f14cd Snap for 4832339 from 29eec443e0 to pi-release
Change-Id: I17fd812e30dbfff2a563e67ebfee988306fb5b97
2018-06-10 19:05:22 +00:00
Xin Li
5a0817ce57 Merge pi-dev-plus-aosp-without-vendor into stage-aosp-master
am: 44de687b93

Change-Id: I9aca24c1ee7a0ce46d8a7845ba78735fd03410c7
2018-06-09 03:23:12 -07:00
Beverly
a045b13e0a Merge "Fix typo" into pi-dev
am: 29eec443e0

Change-Id: I3fc887ca87b96b93989e187abf05b66201d29b95
2018-06-08 11:42:11 -07:00
TreeHugger Robot
29eec443e0 Merge "Fix typo" into pi-dev 2018-06-08 18:32:47 +00:00
ryanywlin
de3d9a0a73 2nd attempt handle BT is not supported on emulator
am: 59287d40d1

Change-Id: I843fc58484df106af09cae87dcb886ea49aa53ea
2018-06-08 11:10:56 -07:00
Xin Li
44de687b93 Merge pi-dev-plus-aosp-without-vendor into stage-aosp-master
Bug: 79597307
Change-Id: Ibb6c6e3f775ee19127711fcc10b2e00a2289a026
2018-06-08 11:08:02 -07:00
Beverly
78f0f781fa Fix typo
Test: manual
Bug: 109925028
Change-Id: I87ec517249567123df1a8eace17109ed7e0bae2b
2018-06-08 15:17:09 +00:00
android-build-team Robot
c27a211791 Snap for 4829593 from ee96c3a259 to pi-release
Change-Id: Iee7304c974f4b903c116c161ec38a4e8c3491c78
2018-06-08 07:21:01 +00:00
ryanywlin
59287d40d1 2nd attempt handle BT is not supported on emulator
Error handle before using LocalBluetoothManager in the onStart
and onStop

Bug: 80491267
Test: make RunSettingsRoboTests ROBOTEST_FILTER="AudioOutputSwitchPreferenceControllerTest" -j42
Change-Id: I47f7d3b7cddc2fbbafb8fb5cf0fb6adb2d0d2d55
2018-06-08 15:05:22 +08:00
Fan Zhang
1fe94d4fd7 Fix context leak in AudioSwitchPreferenceController.
am: ee96c3a259

Change-Id: I3575074241ee60d573563edbffa214f0d705bea3
2018-06-07 18:14:01 -07:00
Fan Zhang
ee96c3a259 Fix context leak in AudioSwitchPreferenceController.
In this controller the context is stored into a global singleton but was
not cleared, thus leaking context and associated views.

Change-Id: I4247f8ff753bc0a331c6c81a0e4b5b4bc41588de
Fixes: 80507279
Test: robotests
Test: inspected hprof before/after change
2018-06-07 18:53:59 +00:00
Joe Onorato
d4fba82998 Merge "Add comments and additional constants for the known bad anomaly types." into pi-dev
am: 32d9f451f9

Change-Id: Ib66379c8c5a5dbae415aecc701ebb0a66859b7d5
2018-06-07 10:07:51 -07:00
TreeHugger Robot
32d9f451f9 Merge "Add comments and additional constants for the known bad anomaly types." into pi-dev 2018-06-07 16:48:51 +00:00
Fan Zhang
0e1393ae8c Delete obsolete activity alias for dev settings
This activity alias is here since android 4.x for backward
compatibility. We no longer need it, and keeping it will cause security
issue.

Change-Id: Ib7817fd7cf8c8e66ca50534a0387cdc5773f837b
Merged-In: I3f985e7fe14bd290db73b8c46dd817591df02015
Fixes: 92497653
Test: manual
2018-06-07 16:47:31 +00:00
android-build-team Robot
3f067b0dd3 Snap for 4826885 from daea8be9ab to pi-release
Change-Id: I7724348225353adb6ccf98febc86010556248f97
2018-06-07 07:27:26 +00:00
Nathan Harold
1701aaf186 [RadioInfo] Save PreferredNetworkMode to Settings
am: daea8be9ab

Change-Id: I801ae6b29a4cfe1286c4f032662191154dc911fb
2018-06-06 19:19:44 -07:00
Beverly
1717b8550e Merge "If zen settings are updated, don't show onboarding" into pi-dev
am: aaac61eb5e

Change-Id: I96929a31ab8f644f83db74ce12b201bd0852c782
2018-06-06 18:34:25 -07:00
Bill Yi
ac7ce09efe [automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am: a1be4c0829  -s ours

Change-Id: I70453eadb2cf9f4f4130fb68d5ce6f03cc018c3a
2018-06-06 17:30:01 -07:00
Nathan Harold
daea8be9ab [RadioInfo] Save PreferredNetworkMode to Settings
Historically, the debug menu intentionally did not
save the preferred network mode once chosen. This
causes problems because some settings cause a phone
switch which overrides the preferred network mode,
which can cause another phone switch and again
override the preferred network mode, completely
obliterating the requested debug setting. This change
will now save the debug menu setting to the system
settings, which will prevent the circular changes and
loss of setting due to phone switching.

However, caching the debug setting to prevent the phone
switch logic from overriding the setting has a side
effect, which is why it wasn't done historically.
If a debug setting of the preferred network mode
is set, it will cause the UX of the non-debug network
preference screen to change. Thus, someone who uses
the debug menu to make changes must be careful to
re-set the setting to return to the correct UX of the
publicly displayed menu.

Bug: 95133265
Test: -manually set preferred network mode using the
       RadioInfo menu and observed that there is no
       phone switch when setting CDMA.
      -confirmed that changing the network mode in
       RadioInfo will cause UX changes to the public
       network preference menu.

Change-Id: I91f669956a6d02515530855c4617cd0a767d73fa
2018-06-06 17:27:50 -07:00
Evan Rosky
679c8de583 Request Focus in fingerprint rename dialog
am: 7a1d52eb06

Change-Id: I5add9d81a0e6814e5664fc25a3309acda29361b5
2018-06-06 17:24:22 -07:00
Joe Onorato
f4781a79b4 Add comments and additional constants for the known bad anomaly types.
They aren't being used now, but by declaring them now we can consolidate
what we are encouraging OEMs to do in the PI timeframe.

Bug: 78013987
Test: treehugger
Change-Id: I7f86491448e799081b18d71274d2629a902d4972
2018-06-06 16:22:33 -07:00
TreeHugger Robot
aaac61eb5e Merge "If zen settings are updated, don't show onboarding" into pi-dev 2018-06-06 21:40:43 +00:00
TreeHugger Robot
a1be4c0829 Merge "Import translations. DO NOT MERGE" into pi-dev 2018-06-06 21:38:42 +00:00
Beverly
8aef786baa If zen settings are updated, don't show onboarding
Change-Id: I33c328e5d90f1b948c7dacb2e7f6265a1e496d35
Fixes: 109668117
Test: ZenOnboardingActivity
(cherry picked from commit da412f07e5)
2018-06-06 20:29:43 +00:00
Bill Yi
ff3c83466c Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I8cc9d67a4676ed8db1d8c48a76478efc715375fb
2018-06-06 13:20:03 -07:00
Evan Rosky
7a1d52eb06 Request Focus in fingerprint rename dialog
Bug: 68841055
Test: Manual. dialog comes up with focused entry
Change-Id: I5bb1b7227c1323595bf7f483e11e87e2c3550093
2018-06-06 12:52:05 -07:00
android-build-team Robot
bcf0f7aa84 Snap for 4824048 from 688d1d81cb to pi-release
Change-Id: I9646c90ca902eb5e5cec740582c6336448923041
2018-06-06 07:21:25 +00:00
Doris Ling
6e6ed32a03 Only add entry with unique package name to default browser list.
am: 688d1d81cb

Change-Id: I36e4ececdbe333a25f2f7cba6e4a3e4e2f229b71
2018-06-05 19:42:15 -07:00
Doris Ling
688d1d81cb Only add entry with unique package name to default browser list.
When we query the package manager for activities that can handle the
web data uri, different capable activities within the same package will
be returned as separate entries. However, when we show the default
browser apps to the user, the entries are simply base on package name.
So, if there are multiple activities within the same package that can
handle the web data, they will be shown as duplicate entries.

When we process the resolved activities, check the corresponding package
name for duplicate entries before adding it to the default browser list.

Change-Id: I4e1f1e1ea22781efe24d791b367246423ca7a3c4
Merged-In: I70c88866eb3d5fe6466554749e23c85f429dd30c
Fixes: 84207432
Test: make RunSettingsRoboTests
2018-06-05 17:48:30 -07:00
android-build-team Robot
be7f9c7313 Snap for 4821244 from bed0aff4a2 to pi-release
Change-Id: I99b6ac5df600ded3e48e026f2be8f75735017ae3
2018-06-05 07:23:31 +00:00
Atanas Kirilov
5a996aa7fe [automerger skipped] Merge "Merge translations of Bluetooth confirmation text" into oc-dev am: 8994d1f0a4 -s ours am: b072779789 -s ours am: 71046c3d10 -s ours
am: bed0aff4a2  -s ours

Change-Id: I67fcc4599901d226a6170c0c9c08ac3c0ff655bb
2018-06-04 18:17:44 -07:00