Commit Graph

58043 Commits

Author SHA1 Message Date
hughchen
cfca56fef1 Update Bluetooth api
This CL is used to update Bluetooth api.

- Use BluetoothProfile.CONNECTION_POLICY_ALLOWED instead of
  BluetoothProfile.PRIORITY_ON
- Use BluetoothProfile.CONNECTION_POLICY_FORBIDDEN instead of
  BluetoothProfile.PRIORITY_OFF

Fixes: 141582844
Test: manually
Change-Id: I527813e38583a4e4a1489090e8a17c6bd50c3e81
2019-12-10 11:21:16 +00:00
TreeHugger Robot
978f7b007a Merge "Do no convert FaceSettingsAttention to slice." 2019-12-10 10:11:32 +00:00
Yi-Ling Chuang
e6b48bcf80 Do no convert FaceSettingsAttention to slice.
The check logic of this preference requires a page loading prior to
slice auto convertion, so it is not suitable to become a slice.
Converting it to a slice will lead to an app crash.

Fixes: 145723632
Test: robotests
Change-Id: Ie6eafb244e9a1cc9267f6b747c8e357d239e688e
2019-12-10 17:00:59 +08:00
Arc Wang
cdf8e2161e [Wi-Fi] Sign in icon supports dark theme
Add android:tint attribute.

Bug: 128238735
Test: Manual visual
Change-Id: I9fe8f99ad8b3e11b12b0720da2cdf7c41711bb8f
2019-12-10 15:59:27 +08:00
Tsung-Mao Fang
cb8dbbeac2 Hide summary for Google app in battery usage
"Google" app is quicksearchbox which always has a foreground service running.
This causes it shows a huge usage time.
So, we make the summary invisible now.

Test: Rebuild and visual
Change-Id: Iba8083cc058e1d391dc20610fb6eb140c2c25350
Fix: 144063003
2019-12-10 14:20:29 +08:00
PO HUNG CHEN
afc513e3fa Revert "Fix flame boot failure"
This reverts commit c542c01672.

Reason for revert: followup b/145904897

Change-Id: I0364c34e42b569d643ea6098026cd540d25df75d
2019-12-10 04:11:21 +00:00
Raff Tsai
e7e4dd905a Receive tab info from SettingsIntelligence
Bug: 144673633
Test: manual
Change-Id: Ia28c5a43debbfcc6f6f6d465764adad0977ea319
2019-12-10 11:11:43 +08:00
Raff Tsai
cbcd8d1bea Merge "Implement work-profile infra in BasePreferenceController" 2019-12-10 03:02:17 +00:00
tim peng
ea1106494d Merge "Add codec dialog preference controller for Bluetooth developer option" 2019-12-10 02:49:17 +00:00
Arc Wang
220936ad7a Merge "[Wi-Fi] Fix transition mode problems" 2019-12-10 02:43:13 +00:00
TreeHugger Robot
821db5c036 Merge "Add sample rate preference for Bluetooth developer option" 2019-12-10 01:42:16 +00:00
Raff Tsai
f71db73025 Implement work-profile infra in BasePreferenceController
- Add settings:forWork in xml
- Set mIsForWork based on xml attribute
- Delete WorkProfilePreferenceController and move its function to
BasePreferenceController

Fixes: 123376083
Test: Add work profile, go to Settings->System->Language&input,
UI should show work profile related items
Change-Id: Id2dcbb0e158c117cdfd363466a275f4e133c345e
2019-12-10 09:32:37 +08:00
Rahul Sabnis
9348f31126 Remove calls to APIs no longer being supported
Bug: 143245666
Test: Manual
Change-Id: Ibec2c9d60ec5c90e9e4f0a03b75c54164f50f42d
2019-12-09 16:08:29 -08:00
Xiangyu/Malcolm Chen
1d8158fc0b Merge "Add disable pSIM option in Settings" 2019-12-09 22:30:06 +00:00
TreeHugger Robot
1fe113d922 Merge "Raise string length limits per linguist's requests" 2019-12-09 19:32:27 +00:00
Howard Chen
c542c01672 Fix flame boot failure
Bug: 145890923
Test: Compile
Change-Id: I8fe011a471fe92006d153ed531c19abd3b02fb05
2019-12-09 20:53:59 +08:00
Arc Wang
be02f16b3a [Wi-Fi] Fix transition mode problems
Replace SECURITY_PSK_SAE_TRANSITION & SECURITY_OWE_TRANSITION with
AccessPpoint#isPskSaeTransitionMode() &
AccessPpoint#isPskOweTransitionMode()

Bug: 144320676
Bug: 144320649
Bug: 144325162
Bug: 144321574
Test: make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.wifi
Change-Id: I6596c48ea54adcaf579682634965c379c7938895
Merged-In: Ic3c7ac1238a51b6e215ed63761720d2bc371d012
2019-12-09 19:20:55 +08:00
Bonian Chen
28227a3117 Merge "[Settings] Fix crash when no SIM" 2019-12-09 10:29:22 +00:00
timhypeng
6a1b765d74 Add quality preference controller for Bluetooth developer option
Bug: 142227996
Test: make -j50 RunSettingsRoboTests
Change-Id: I42b6ecdc0b661f9057db23405785351980f04056
2019-12-09 15:27:10 +08:00
TreeHugger Robot
41eff9f631 Merge "Add quality preference for Bluetooth developer option" 2019-12-09 06:06:37 +00:00
Bonian Chen
8a512ca7b4 [Settings] Fix crash when no SIM
Airplane mode enabler exception under the condition of
no active subscription. This is due to incorrect null pointer
checking within source code.

Bug: 145830780
Test: manual
Change-Id: I47cb4d82b7b99b4c34270023cd58f479347477da
2019-12-09 13:39:27 +08:00
timhypeng
bd80f7f949 Add channel mode preference controller for Bluetooth developer option
Bug: 142227996
Test: make -j50 RunSettingsRoboTests
Change-Id: Ibf2238ee8b5d3a9d91ea40fea16aa44583a22cc0
2019-12-09 13:38:49 +08:00
Raff Tsai
9700435b4d Merge "Fix robolectric test error" 2019-12-09 05:37:25 +00:00
TreeHugger Robot
efa2229556 Merge "Add channel mode preference for Bluetooth developer option" 2019-12-09 05:37:21 +00:00
timhypeng
8b5790dcc0 Add bit per sample preference controller for Bluetooth developer option
Bug: 142227996
Test: make -j50 RunSettingsRoboTests
Change-Id: I8cde0d80d3533368dce6d101d49036fc97627526
2019-12-09 13:17:25 +08:00
timhypeng
8e2aa11e3a Add codec dialog preference controller for Bluetooth developer option
Bug: 142227996
Test: make -j50 RunSettingsRoboTests
Change-Id: I5cff61f9f90d9e6a125455685a3608be043f6e7c
2019-12-09 13:14:58 +08:00
tim peng
e655695690 Merge "Add bit per sample preference for Bluetooth developer option" 2019-12-09 05:12:12 +00:00
timhypeng
588a1ca250 Add sample rate preference for Bluetooth developer option
Bug: 142227996
Test: make -j50 RunSettingsRoboTests
Change-Id: I5cae9498082d1839add63d2bc01e29639a0c20ee
2019-12-09 13:10:28 +08:00
timhypeng
dc05caec4d Add quality preference for Bluetooth developer option
Bug: 142227996
Test: make -j50 RunSettingsRoboTests
Change-Id: I025557ec0977a1585cf65bfacc4a01020c9ea19a
2019-12-09 12:55:45 +08:00
Raff Tsai
895b380c10 Fix robolectric test error
Test: make RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.deviceinfo.storage"
Change-Id: I7d9843ece0e5c6ce2a93af13822e26494e3514b2
2019-12-09 12:38:06 +08:00
timhypeng
4db1f25f3b Add channel mode preference for Bluetooth developer option
Bug: 142227996
Test: make -j50 RunSettingsRoboTests
Change-Id: Iace94d24d8d395366c8fb78863d2fe09ecd0f60d
2019-12-09 12:31:30 +08:00
PO HUNG CHEN
1ff95c6ef0 Merge "Show terms of service before install GSI/DSU" 2019-12-09 03:41:00 +00:00
PO HUNG CHEN
7f244d5163 Merge "Add a GSI/DSU Loader to the developer option." 2019-12-09 03:36:46 +00:00
timhypeng
19f0230520 Add bit per sample preference for Bluetooth developer option
Bug: 142227996
Test: make -j50 RunSettingsRoboTests
Change-Id: Idaf9be96f4e48acf46cbf53ae7f7d100db002c7c
2019-12-09 11:27:10 +08:00
Philip P. Moltmann
cdc8c101eb Adjust to changed internal API
Test: Built
Bug: 144997947
Change-Id: Ib988b85992800223c81e2f729150150ea195a98b
2019-12-08 19:26:51 -08:00
tim peng
d100099ecc Merge "Add codec dialog preference for Bluetooth developer option" 2019-12-09 03:21:47 +00:00
Mill Chen
3c6a3011fa 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 f3242dab35)
2019-12-09 03:19:31 +00:00
Mill Chen
ad2502a91a 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 f3242dab35)
2019-12-09 03:19:12 +00:00
Mill Chen
a545a85f9d 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 f3242dab35)
2019-12-09 03:18:24 +00:00
TreeHugger Robot
f5ea10b76e Merge "Add a LiveDataController" 2019-12-09 03:03:47 +00:00
Jay Aliomer
268d6b092a Dark theme drop down does not show selected option
a place holder for the summary was updated in commit https://googleplex-android-review.git.corp.google.com/changes/platform%2Fpackages%2Fapps%2FSettings~9818614/revisions/3/files/res%2Fxml%2Fdark_mode_settings.xml/download?parent=1
This change is reverted in this CL

Test: manual
Fixes: 145672617
Change-Id: I41443e7334487e3afac0343333a9ed289d2fe390
2019-12-07 22:19:41 +00:00
Malcolm Chen
e5dcd02f4c Add disable pSIM option in Settings
As we start disabling pSIM option in R, we check that if the feature is
supported, add the "Use SIM" toggle back to pSIM page.

Bug: 141018421
Test: manual test
Change-Id: I1af497ce5ede93f823825718b8136ff8ae0ab49c
2019-12-06 13:20:06 -08:00
Victor Hsieh
1ab2c789f4 Raise string length limits per linguist's requests
Test: build
Bug: 145711825
Bug: 145716674
Bug: 145716707
Bug: 145716705
Change-Id: Idfc5943b3b1d5476f921e303a0088618eebcaeb6
2019-12-06 13:16:43 -08:00
jiabin
5a4e364475 [automerger skipped] Merge "Remove DEVICE_OUT_ALL_SCO." am: ada1f6b10b am: 15d7195311
am: a32c7abcac -s ours
am skip reason: change_id Ib32f4c313c5d318b6f99e1f0591c98c4c7c82ade with SHA1 a30a209841 is in history

Change-Id: I0c4f08a5392441dc2d1d4c22689c12924ba080b1
2019-12-06 09:45:43 -08:00
jiabin
a32c7abcac Merge "Remove DEVICE_OUT_ALL_SCO." am: ada1f6b10b
am: 15d7195311

Change-Id: I18beff8ccdd6345cf9a790e4f14f58f56254c438
2019-12-06 09:39:58 -08:00
jiabin
15d7195311 Merge "Remove DEVICE_OUT_ALL_SCO."
am: ada1f6b10b

Change-Id: I01878a3b42900ff55b88e9c01705cd8b753388b5
2019-12-06 09:33:50 -08:00
Treehugger Robot
ada1f6b10b Merge "Remove DEVICE_OUT_ALL_SCO." 2019-12-06 17:26:20 +00:00
Arc Wang
5f23a43660 [Wi-Fi] Fix transition mode problems
Replace SECURITY_PSK_SAE_TRANSITION & SECURITY_OWE_TRANSITION with
AccessPpoint#isPskSaeTransitionMode() &
AccessPpoint#isPskOweTransitionMode()

Bug: 144320676
Bug: 144320649
Bug: 144325162
Bug: 144321574
Test: make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.wifi

Change-Id: Ic3c7ac1238a51b6e215ed63761720d2bc371d012
2019-12-06 18:17:07 +08:00
Ilya Matyukhin
614ebe3737 Merge "Fix "Skip lock screen" not working for secondary user" into qt-qpr1-dev am: 95820eb001
am: 39f1a86a3a

Change-Id: I54554d6fa2f643eda21f3be4fb56864e2f1d1f0a
2019-12-06 01:10:15 -08:00
timhypeng
a345cc2ee5 [automerger skipped] Merge changes from topic "update_battery_icon" into qt-qpr1-dev am: c08f70b7dd
am: edb8dd6140 -s ours
am skip reason: change_id Ifa9a31750b9a926e09aec9262aa89e8de66c91e2 with SHA1 3dd4f2cc19 is in history

Change-Id: I8ef3f7e7084e88f5a853422c004ac702e15136d7
2019-12-06 00:53:39 -08:00