Commit Graph

45841 Commits

Author SHA1 Message Date
Hansong Zhang
d27f2a4d03 Merge "Remove developer menu: AVDTP delay reports/inband ringing" into pi-dev
am: cc31240f28

Change-Id: I756e4f218f9b593e0329c06fc1663c1833ffa389
2018-05-14 11:28:35 -07:00
TreeHugger Robot
cc31240f28 Merge "Remove developer menu: AVDTP delay reports/inband ringing" into pi-dev 2018-05-14 18:20:29 +00:00
Beverly
8f52258962 Add DND Settings suggestion
Cherry-picked from pi-dev ag/4019736

Test: SettingsSuggestionsTest, ZenOnboardingActivityTest
Change-Id: Ie78c9cf8287ee56bc4596efe20d27f8eb432ab6c
Bug: 78445134
2018-05-14 18:15:29 +00:00
Naina Nalluri
6885d85a7c Add Slices for WifiCalling
Add Slices for WifiCalling
WifiCalling Slice Provider:
  1. If there is no activation needed or if the Wifi calling
     is currently turned on - provide the slice to toggle the
     value
  2. Else display appropriate message with further instructions
WifiCalling Slice Broadcast Receiver:
  1. If the action is turning off wifi or if there is no
     activation needed. Change the setting with ImsManager.
  2. And Ask to requery the slice in one second to display
     updated settings if 1 is valid or display appropriate message

Bug: 63731862
Bug: 78192106
Test: Use support-slices-demos-debug.apk to test on device
Test: Robotests
Change-Id: I29e1822fd24ebcff575fa48ad93f84ed91bf4d87
2018-05-14 10:19:15 -07:00
TreeHugger Robot
edf6798c1c Merge "Remove developer menu: AVDTP delay reports/inband ringing" 2018-05-14 17:02:22 +00:00
Beverly
aeea4dec82 [automerger skipped] Merge "DO NOT MERGE Always show custom zen vis eff option" into pi-dev am: 8e27fc7583
am: 65251dd8eb  -s ours

Change-Id: I382ed93f60e5c31f96cde9c68bad7792d952a2df
2018-05-14 08:41:28 -07:00
Beverly
65251dd8eb Merge "DO NOT MERGE Always show custom zen vis eff option" into pi-dev
am: 8e27fc7583

Change-Id: I42fbcfcf6073722656cc9186f83c3fee6bbc2777
2018-05-14 08:38:10 -07:00
TreeHugger Robot
8e27fc7583 Merge "DO NOT MERGE Always show custom zen vis eff option" into pi-dev 2018-05-14 15:29:12 +00:00
Jason Monk
2e76a9ba54 Protect against multiple starts of device index job
Its rare, but can happen.

Test: existing tests pass
Change-Id: Ie7aaa47902741d5f7fdd954f35e8f13e9466e07c
Fixes: 78898947
2018-05-14 11:14:19 -04:00
Beverly
f487cb9e0a DO NOT MERGE Always show custom zen vis eff option
+ dnd string edits

Change-Id: I2fcbe6c527b40610f997efacb08049c07b3a6dd7
Bug: 79538038
Bug: 78447976
Test: ZenModeViseffectsCustomPreferenceControllerTest
2018-05-14 14:39:32 +00:00
Pavel Grafov
f6534cc0c8 Merge "Simplify password length constraints checking" 2018-05-14 12:33:33 +00:00
Pavel Grafov
5f139101e2 Simplify password length constraints checking
Currently minimum password length policy is queried twice:
1. When constructiong the intent in
   ChooseLockGenericFragment.getIntentForUnlockMethod and then
   passed into setPasswordLengthRange in getLockPasswordIntent
2. in ChooseLockPasswordFragment.processPasswordRequirements via
   LockPatternUtils.getRequestedMinimumPasswordLength().

These two values are then combined in processPasswordRequirements
using Math.max(), which doesn't make sense since it is the same
value.
With this CL it is only queried once in processPasswordRequirements.

+ cleaned up code filling in unused list.
+ removed unused extras, since they are never set anywhere.

Bug: 30558331
Test: atest ChooseLockPasswordTest
Test: atest SetupChooseLockPasswordTest
Test: atest ChooseLockGenericTest
Test: manual, set password policy and change password.

Change-Id: Ifc4946d5b3b26131da01178fa9c827de7a52c7c6
2018-05-14 12:09:15 +01:00
timhypeng
1ae09fe2bf Click left side of list in "previously connected devices" should connect to the device
* For fix the TreeHugger error in pi-dev, cherry pick the ag/3943978 in
  master and fix TreeHugger error. Change android.support.v7.* to androidx.*
* In "previously connected devices", to connect device
* In "Available media devices", to activate device

Bug: 77607104
Test: make -j50 RunSettingsRoboTests
Change-Id: If5005031bd3f5dc4950abf2c77575785cd6f67b1
2018-05-14 11:26:43 +08:00
Bill Yi
c571701331 [automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev am: 8a9c47e1ba -s ours
am: e616b683bc  -s ours

Change-Id: I5b6323a6898d53e2fa383d29f8b1eea2ef8af5ad
2018-05-12 22:19:17 -07:00
Bill Yi
e616b683bc [automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am: 8a9c47e1ba  -s ours

Change-Id: I7ae0f89d8667c51357ae8fb6f65963049fb0480a
2018-05-12 22:14:43 -07:00
TreeHugger Robot
8a9c47e1ba Merge "Import translations. DO NOT MERGE" into pi-dev 2018-05-13 05:08:26 +00:00
Bill Yi
9c5d8fdc5a Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ide496214e78fbc4bdbd606ecff720a8cf988daa5
2018-05-12 12:16:11 -07:00
Salvador Martinez
34b1805053 [automerger skipped] Merge "Make it so client code does not tie tether to wifi" into pi-dev am: f005640b9c
am: de5cc27f0f  -s ours

Change-Id: I2b559714c89947bf38c50fbba97acdd4b1ef4dc2
2018-05-11 21:47:42 -07:00
Salvador Martinez
de5cc27f0f Merge "Make it so client code does not tie tether to wifi" into pi-dev
am: f005640b9c

Change-Id: Ib19d86fae333c7d363bc30e90a94027aefc91022
2018-05-11 21:42:41 -07:00
TreeHugger Robot
f005640b9c Merge "Make it so client code does not tie tether to wifi" into pi-dev 2018-05-12 04:37:27 +00:00
Hansong Zhang
e8cb916849 Remove developer menu: AVDTP delay reports/inband ringing
Bluetooth AVDTP delay reports and inband ringing are used by default.
Developer option menu no longer used.

Bug: 79610154
Test: robolectric
Change-Id: I67fe10808151f101fc7e891f75953f8539255026
2018-05-12 00:22:21 +00:00
Hansong Zhang
f4f68c4117 Remove developer menu: AVDTP delay reports/inband ringing
Bluetooth AVDTP delay reports and inband ringing are used by default.
Developer option menu no longer used.

Bug: 79610154
Test: robolectric
Change-Id: I67fe10808151f101fc7e891f75953f8539255026
Merged-In: I67fe10808151f101fc7e891f75953f8539255026
2018-05-12 00:22:16 +00:00
Doris Ling
b9a3b0c490 Merge "Update the initial expanded count for apps and notifications." into pi-dev am: 4af11079e8
am: b422264d55

Change-Id: I35998f28e12d542ce8a7d835fce8a433cdbf12fc
2018-05-11 17:17:47 -07:00
TreeHugger Robot
2ba69a08c8 Merge "Update the battery broadcast receiver." 2018-05-12 00:01:12 +00:00
Suprabh Shukla
a8eb28f219 Merge "Unrestricting app when put on power whitelist" into pi-dev am: e70e27ccea
am: d47817ffcb

Change-Id: I488c11a04f7350c96c71ca70d1122c7de7b27833
2018-05-11 17:00:22 -07:00
Doris Ling
b422264d55 Merge "Update the initial expanded count for apps and notifications." into pi-dev
am: 4af11079e8

Change-Id: Idcced54ab4b705257d5c24a416c078cf24d33b30
2018-05-11 16:50:15 -07:00
Lei Yu
a01cefad2e Merge "Add help uri for restricted apps page" into pi-dev am: f4c8a4cdf5
am: b8cfe7fff0

Change-Id: If67adaca3f1bfeada9317c48e32faa6f08dc0fc1
2018-05-11 16:44:09 -07:00
Doris Ling
4af11079e8 Merge "Update the initial expanded count for apps and notifications." into pi-dev 2018-05-11 23:33:36 +00:00
Suprabh Shukla
d47817ffcb Merge "Unrestricting app when put on power whitelist" into pi-dev
am: e70e27ccea

Change-Id: If9e91bde1f531a004b440a66eede2c93a565c2df
2018-05-11 16:22:15 -07:00
Lei Yu
b8cfe7fff0 Merge "Add help uri for restricted apps page" into pi-dev
am: f4c8a4cdf5

Change-Id: Ie642041ddcc57396cbf38e46657b2a8400a3168e
2018-05-11 16:20:23 -07:00
Beverly Tai
451eeaa08a [automerger skipped] Merge "DO NOT MERGE Add DND Settings suggestion" into pi-dev am: 49499bcb06
am: e493237128  -s ours

Change-Id: I1ea337c1a4ac4b50fcc4cb336987179ba90f7307
2018-05-11 16:16:10 -07:00
TreeHugger Robot
e70e27ccea Merge "Unrestricting app when put on power whitelist" into pi-dev 2018-05-11 23:06:49 +00:00
Lei Yu
f4c8a4cdf5 Merge "Add help uri for restricted apps page" into pi-dev 2018-05-11 23:05:41 +00:00
Lei Yu
d2b295ba36 Update the battery broadcast receiver.
Add a type for battery receiver, then in callback client know for
which reason it been invoked:
1. battery level change
2. battery saver state change
3. battery plug state change

So in this CL, we won't update battery tip for battery level change,
then battery tip won't be dismissed by itself.

Also note in onResume() we will manually update battery tip. So if
user stay in battery settings page and close the screen, once he opens
it we will still force update everything.

Fixes: 79171742
Test: RunSettingsRoboTests

Change-Id: I997844216fd8267e545d74e0d434de9e338f76a1
2018-05-11 16:02:07 -07:00
Doris Ling
079738a26a Merge "Rename settings category." into pi-dev am: a44d07c10d
am: 374d15333f

Change-Id: Ic6b4980793aa8360b156fc11e36e79e1ba1f6635
2018-05-11 16:01:38 -07:00
Ryan Lin
18aa25ea47 Merge "Add call volume in sound settings" into pi-dev am: b46389a588
am: 71b333f162

Change-Id: If69203fa5c4158f609484e6c3bbc0ca5bd6e0f58
2018-05-11 15:44:53 -07:00
Ryan Lin
440e08faf5 Merge "Implement getProfileId() method in the subclass" into pi-dev am: 0a87e54edb
am: 325b292eb6

Change-Id: Ia68e70ba6ebffa2df20c9b0b909abfaf9d7250e2
2018-05-11 15:25:02 -07:00
Ryan Lin
b5f9ba4e9b Merge "Use another callback to notify the updater that UI should be updated" into pi-dev am: dee5035764
am: 5d7faa9696

Change-Id: I7db97d62afbdb6deacc9f0b34393697acd44b0f2
2018-05-11 15:24:30 -07:00
TreeHugger Robot
4ef5b7c738 Merge "Update screen title for lock screen preferences." 2018-05-11 22:05:32 +00:00
Fan Zhang
326ff3dbe1 Add help uri for restricted apps page
Bug: 77299457
Test: Build
Change-Id: I46c208f9805f47a4f42e44338ea5dce0451dd671
2018-05-11 14:56:49 -07:00
TreeHugger Robot
38be78fbea Merge "Make pref unsearchable for more availibility status." 2018-05-11 21:53:18 +00:00
Doris Ling
362d783a17 Update the initial expanded count for apps and notifications.
- increase it by 1 to accomodate the injected setting.

Change-Id: I0e131c87ffbf2b296b66717b2c6f160abb3b3269
Fixes: 77823915
Test: visual
2018-05-11 14:37:55 -07:00
Beverly Tai
e493237128 Merge "DO NOT MERGE Add DND Settings suggestion" into pi-dev
am: 49499bcb06

Change-Id: I240e2722ab936742fb58ca96fe4bad13195aa21e
2018-05-11 14:10:11 -07:00
Suprabh Shukla
0f447022cf Unrestricting app when put on power whitelist
Power whitelisting and background restrictions are opposing rules, so to
keep apps out of confusing states, unrestricting an app whenever it is
put on the power whitelist.

Test: atest RunSettingsRoboTests:HighPowerDetailTest

Bug: 77924141
Change-Id: I4952ac6c893bc7e98aa1b6ad3a86906fc299dea5
2018-05-11 14:00:28 -07:00
Beverly Tai
49499bcb06 Merge "DO NOT MERGE Add DND Settings suggestion" into pi-dev 2018-05-11 20:59:49 +00:00
Beverly
d4e7eedfc9 DO NOT MERGE Add DND Settings suggestion
Test: SettingsSuggestionsTest, ZenOnboardingActivityTest
Change-Id: Ie78c9cf8287ee56bc4596efe20d27f8eb432ab6c
Bug: 78445134
2018-05-11 20:59:38 +00:00
Doris Ling
374d15333f Merge "Rename settings category." into pi-dev
am: a44d07c10d

Change-Id: I3d71989d34d150c6089e24527a55da35833fae6c
2018-05-11 13:56:47 -07:00
TreeHugger Robot
a44d07c10d Merge "Rename settings category." into pi-dev 2018-05-11 20:49:35 +00:00
Fan Zhang
ea04e32eed Update screen title for lock screen preferences.
Bug: 71892510
Test: visual
Change-Id: I4abe0c2370f10bb68e668c07a033852601b4c2ab
2018-05-11 13:45:02 -07:00
Ryan Lin
71b333f162 Merge "Add call volume in sound settings" into pi-dev
am: b46389a588

Change-Id: I38c7fbede3a758440c9d4ce0a7aa0b3999719cec
2018-05-11 13:36:20 -07:00