Commit Graph

46794 Commits

Author SHA1 Message Date
Beverly
756e3b6caf Add summary to PreventRingingParent
Parent preference previously didn't have a summary
Moved summary test to PreventRingingParentPreferenceControllerTest

Test: PreventRingingParentPreferenceControllerTest.java
Change-Id: I2891e1ccffc4ea8007c8bd25689f242ee34c652c
2018-06-11 10:45:34 -04:00
TreeHugger Robot
ddd9283ee0 Merge "Change the string" 2018-06-11 03:39:19 +00:00
Xin Li
cdde5166e5 Merge pi-dev-plus-aosp-without-vendor into stage-aosp-master am: 44de687b93
am: 5a0817ce57

Change-Id: I872c4eb99d693c48a174cbd98231c75af199ed79
2018-06-09 06:52:22 -07: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
TreeHugger Robot
e716b47d60 Merge "Check EnforcedAdmin to see if location is locked down by device policy." 2018-06-09 01:23:26 +00:00
TreeHugger Robot
485e8a3531 Merge "Misc search clean up" 2018-06-08 23:01:04 +00:00
Fan Zhang
7f5692bdea Misc search clean up
- Make color mode page searchable and suppress its parent page.
- Suppress entire DataUsageSummaryLegacy page in search. This page will
  be deleted soon

Change-Id: I0f98c9073358934b98e986d034c89a9bf87e58ad
Fixes: 70720645
Test: robotests
2018-06-08 14:51:19 -07:00
TreeHugger Robot
ca2f6f6e38 Merge "Check wifi password length by byte, not char." 2018-06-08 21:37:26 +00:00
TreeHugger Robot
db6d667ea4 Merge "Fix memory leaks in Settings" 2018-06-08 21:07:30 +00:00
TreeHugger Robot
246c17fbc7 Merge "Avoids systemui color tint flicker because no system ui flags set" 2018-06-08 20:50:00 +00:00
Antony Sargent
212b5676d0 Remove references to SettingsBase styles
We've moved the values for several preference-related styles used in
Settings from SettingsLib into the support library. This CL removes the
references to the SettingsLib versions from Settings so they can be
removed from SettingsLib.

Also delete an unused layout file that was moved to SettingsLib a long
time ago (preference_dropdown_material_settings.xml).

Bug: 64689839
Test: visual (styles for things like icon spacing, dividers, etc. should
be the same)

Change-Id: Ib7a745218086269c2e861b18df68bd835929da19
2018-06-08 13:26:16 -07:00
Fan Zhang
b6584d0a5a Check wifi password length by byte, not char.
Change-Id: Ie6dc441780660c52ff01a2bced79a4e95200d731
Fixes: 79209073
Test: robotest
2018-06-08 13:18:07 -07:00
TreeHugger Robot
8be9e0d605 Merge "Don't crash if IMEI is empty" 2018-06-08 19:07:22 +00:00
Fan Zhang
838f6c7812 Fix memory leaks in Settings
Bug: 80507279
Test: inspected hprof before and after fix
Change-Id: I6ea2925695deb6261263649e858484e1667ec522
2018-06-08 11:56:42 -07:00
Beverly
ad48472c6a Merge "Fix typo" into pi-dev am: 29eec443e0
am: a045b13e0a

Change-Id: Iccf8130b9740faf66c8b05189ff0d0b13aebe5fe
2018-06-08 11:47:07 -07:00
Beverly
d2cb9eb9ce Merge "Fix typo" into pi-dev
am: 29eec443e0

Change-Id: I745148c2db292e04c3cb25e18969ead8a438b9e7
2018-06-08 11:44:14 -07:00
Beverly
a045b13e0a Merge "Fix typo" into pi-dev
am: 29eec443e0

Change-Id: I3fc887ca87b96b93989e187abf05b66201d29b95
2018-06-08 11:42:11 -07:00
ryanywlin
884a945334 2nd attempt handle BT is not supported on emulator am: 59287d40d1
am: de3d9a0a73

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

Change-Id: I8c9d2a14dc85d45633a6b7d54ff6e6577b0739b4
2018-06-08 11:11:26 -07: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
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
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
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