Commit Graph

46722 Commits

Author SHA1 Message Date
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
Matthew Fritze
6a03db093a Don't crash if IMEI is empty
Change-Id: I5993d332dbd218c981ef5432aebb735d0000f67a
Fixes: 109787187
Test: robotests
2018-06-08 10:49:06 -07:00
TreeHugger Robot
f11638c61c Merge "Remove bottom padding on screen saturation preview" 2018-06-08 17:23:26 +00:00
TreeHugger Robot
a9b742dd53 Merge "Add help uri for prevent ringing gesture" 2018-06-08 16:29:31 +00:00
Matthew Fritze
8ea60bfdbd Remove bottom padding on screen saturation preview
Change-Id: I5c43209d5711c32e6ab91f65a2fced4b0c9b4c23
Fixes: 80091062
Test: none, only visual changes.
2018-06-08 09:12:05 -07:00
TreeHugger Robot
7bc2f98188 Merge "Fix typo" 2018-06-08 15:39:47 +00:00
Beverly
78f0f781fa Fix typo
Test: manual
Bug: 109925028
Change-Id: I87ec517249567123df1a8eace17109ed7e0bae2b
2018-06-08 15:17:09 +00:00
TreeHugger Robot
28e0ce5b40 Merge "Don't force lower case in ZenSettings" 2018-06-08 14:44:33 +00:00
TreeHugger Robot
fe805d7a41 Merge "Hide block pref on non-configurable channels" 2018-06-08 14:44:16 +00:00
Beverly
91ab1338cb Fix typo
Test: manual
Bug: 109925028
Change-Id: I87ec517249567123df1a8eace17109ed7e0bae2b
2018-06-08 10:44:05 -04:00
Beverly
486d1facfa Add help uri for prevent ringing gesture
Test: build
Bug: 79270169
Change-Id: Iea5598f26649854521202363cad6ee297cef3057
2018-06-08 09:53:28 -04: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
fd29d18ce6 Fix context leak in AudioSwitchPreferenceController. am: ee96c3a259
am: 1fe94d4fd7

Change-Id: I398a214bb05fa6c957530dde42c3c6b18d55658c
2018-06-07 21:52:30 -07:00
Fan Zhang
1fe94d4fd7 Fix context leak in AudioSwitchPreferenceController.
am: ee96c3a259

Change-Id: I3575074241ee60d573563edbffa214f0d705bea3
2018-06-07 18:14:01 -07:00
Fan Zhang
adc04c06c9 Fix context leak in AudioSwitchPreferenceController.
am: ee96c3a259

Change-Id: I45109cbcee3bbc4d7dc2cc56ca8b8df7073fd34a
2018-06-07 18:02:33 -07:00
TreeHugger Robot
87bb929d7a Merge "Fix context leak in AudioSwitchPreferenceController." 2018-06-07 22:57:17 +00:00
Fan Zhang
d9f7fba943 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
Bug: 80507279
Test: robotests
Test: inspected hprof before/after change
2018-06-07 22:46:19 +00:00
Maurice Lam
681ac5bcc3 Fix Robolectric tests
Test: atest RunSettingsRoboTests
Change-Id: I66a6d1c42d57685c4beb9daeb534685c5cdd9c50
2018-06-07 13:12:50 -07:00
Julia Reynolds
9e2ec5fa07 Hide block pref on non-configurable channels
Test: robotests
Bug: 109875297
Change-Id: I164ae2e07d178db9e84746e5c59f0968e6c77eae
2018-06-07 19:49:49 +00: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
90c770278e Merge "Add comments and additional constants for the known bad anomaly types." into pi-dev am: 32d9f451f9
am: d4fba82998

Change-Id: I4f4985a792a337c90b2949d0015dc50343cad007
2018-06-07 10:39:20 -07:00
Joe Onorato
7f0669ee72 Merge "Add comments and additional constants for the known bad anomaly types." into pi-dev
am: 32d9f451f9

Change-Id: I683ed669823d800743a180ae2af3e072f98a35f2
2018-06-07 10:08:10 -07: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
Beverly
bb0501c2fd Don't force lower case in ZenSettings
Programatically lower casing letters is bad for translations

Change-Id: Iea39186b9716f628ed96ad457b09440bd177d821
Fixes: 77961695
Test: ZenModeSettingsTest.java
2018-06-07 11:14:11 -04:00
Nathan Harold
a927f53f3d [RadioInfo] Save PreferredNetworkMode to Settings am: daea8be9ab
am: 1701aaf186

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

Change-Id: Ibc0487db15cdd7b3a5648e11779af619a689f69d
2018-06-06 19:30:55 -07:00
Bill Yi
80d1245741 [automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev am: a1be4c0829 -s ours
am: ac7ce09efe  -s ours

Change-Id: If5dae0c194229ea6ee60a8e28e9f5411a809ef7c
2018-06-06 19:30:07 -07:00
Evan Rosky
70564e8c18 Request Focus in fingerprint rename dialog am: 7a1d52eb06
am: 679c8de583

Change-Id: I5e17fe8417ad5394bea6d9cc1a9a8f96f6fc1fa4
2018-06-06 19:25:24 -07:00
Nathan Harold
d78d8ae848 [RadioInfo] Save PreferredNetworkMode to Settings
am: daea8be9ab

Change-Id: Iab9e256f930c0f7db705e779ab15fdf1a8bbb205
2018-06-06 19:22:10 -07:00
Nathan Harold
1701aaf186 [RadioInfo] Save PreferredNetworkMode to Settings
am: daea8be9ab

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

Change-Id: Ib40eeb1f691b4a7bf6a84cf67d3a678dd729505e
2018-06-06 19:04:57 -07:00
Bill Yi
888300c604 [automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am: a1be4c0829  -s ours

Change-Id: Ide758ccb20120f9b72fcce14589716604b855d5a
2018-06-06 18:54:26 -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
Evan Rosky
fe36f3c82f Request Focus in fingerprint rename dialog
am: 7a1d52eb06

Change-Id: Ic0bb6acb7968afe0977cf78287a31abbc7de9a4a
2018-06-06 18:09:16 -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
TreeHugger Robot
eba407663e Merge "Make icon size on Printing settings match the rest of settings" 2018-06-06 23:58:27 +00:00
Antony Sargent
5a6c3fe645 Make icon size on Printing settings match the rest of settings
The icons on this page were being displayed at 48dp because we were
using a generic Preference element, instead of the custom settings
AppPreference which we use in lots of other places in settings for
displaying app entries in a list (and has a custom layout that ends up
with 32dp icons).

Fixes: 78654919
Test: manual (go to Settings -> Connected devices -> Connection
preferences -> Printing)

Change-Id: Icf21ab6b41fc00936cd58f3342a8c5502c6dd87f
2018-06-06 16:35:52 -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
Doris Ling
bb0692ac8f Only add entry with unique package name to default browser list.
am: 688d1d81cb

Change-Id: I3dd753e265dad5b1961e702cd16a890435dfafef
2018-06-06 15:44:26 -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
TreeHugger Robot
bef9b58f17 Merge "Change UI for wireless AP tether band selection" 2018-06-06 21:19:41 +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
Salvador Martinez
e83388164c 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
2018-06-06 13:09:41 -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
TreeHugger Robot
bc8f79c700 Merge "If zen settings are updated, don't show onboarding" 2018-06-06 19:51:37 +00:00