Commit Graph

58853 Commits

Author SHA1 Message Date
Automerger Merge Worker
d21a3207ef Merge "Add 5G RAT into Bearer field." am: 5f6a4b1dae am: 3350d4d05d
Change-Id: If6bb822fa55a0c477172348ea7dc10112c3b36df
2019-12-19 12:24:22 +00:00
Daniel Huang
3350d4d05d Merge "Add 5G RAT into Bearer field."
am: 5f6a4b1dae

Change-Id: I1921fa9611b2222228667bd55e6ac4df5b19a83a
2019-12-19 04:08:08 -08:00
zoey chen
d7eb8113c7 [Settings] Remove usage of TelephonyManager getDefault() hidden API
Bug: 146537234
Test: make
Change-Id: I818848b0ae323efe8b890cde9d9819d9a606f96d
Mergde-In: I818848b0ae323efe8b890cde9d9819d9a606f96d
2019-12-19 19:45:59 +08:00
Daniel Huang
5f6a4b1dae Merge "Add 5G RAT into Bearer field." 2019-12-19 11:24:41 +00:00
menghanli
756104417a Create settings for window magnification (2/n)
Provide a setting for new Magnify area feature and joystick controller

Bug: 146019459
Bug: 146473544
Test: make RunSettingsRoboTests ROBOTEST_FILTER=MagnificationModePreferenceControllerTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=MagnificationWindowControlPreferenceControllerTest
Test: make RunSettingsRoboTests2
Change-Id: Ia32fa073c59ad304e9ef9eb530ba37dd24c2f2f6
2019-12-19 18:08:10 +08:00
zoey chen
20f67e1b33 [Settings] Cannot use UnsupportedAppUsage API, use appropriate method to replace it.
Bug: 146537234
Test: make
Change-Id: I818848b0ae323efe8b890cde9d9819d9a606f96d
2019-12-19 17:35:38 +08:00
danielwbhuang
db59528d84 Add 5G RAT into Bearer field.
Within APN editor, 5G RAT need to be added into Bearer field.

Bug: 143995814
Test: 1. Build pass.
      2. make RunSettingsRoboTests ROBOTEST_FILTER=ApnEditorTest
      3. check UI:
      3-1. Open APN settings page: Settings > Network & Internet > Mobile Network > Advanced > Access Point Names.
      3-2. Click the 3 dots at the up corner, and then select "New APN" > "Bearer"

Change-Id: If09afd00cf7860c3bbb40be748ca04c9a55ee5b8
2019-12-19 17:17:10 +08:00
Tsung-Mao Fang
8e58e2c7a5 Remove permission bar chart in Privacy setting
- Because permission hub is already postponed,
we don't need to show this UI in privacy settings.

Test: Rebuild, visual, robotest
Change-Id: I51aca52bc605a3c6b0cafc084e8e491c280d770f
Fix: 143447873
Merged-In: I51aca52bc605a3c6b0cafc084e8e491c280d770f
(cherry picked from commit ab914adc00)
2019-12-19 16:51:58 +08:00
Stanley Wang
5536205081 Merge "Index user accounts." 2019-12-19 06:05:33 +00:00
Betty Chang
44aa082c24 Merge "[Mainline] Use SystemApi setDefaultVoiceSubscriptionId instead of setDefaultVoiceSubId" 2019-12-19 03:25:16 +00:00
Sunny Shao
a74060c1b7 Add Tapjacking Protection for SettingsHomepageActivity
Add/remove the SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS flag into/from
SettingsHomepageActivity and SettingsPanelActivity with lifecycle.

Bug: 138442483
Test: make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.homepage
      make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.panel
      manual test
Change-Id: I72f9a947f57f74a8c09127d6c39173594c248ddc
Merged-In: I72f9a947f57f74a8c09127d6c39173594c248ddc
2019-12-19 02:59:10 +00:00
Stanley Wang
3b02810356 Index user accounts.
Index user accounts in AccountDashboardFragment if there is no managed
user profile.

Fixes: 146478761
Test: manual & robotest
Change-Id: I719dc6ee8030a11f1cbfacc8f24419e9e4c3ca18
2019-12-19 10:55:42 +08:00
Ahmed ElArabawy
dafc3fd386 Merge "Wifi: Handle adding 6GHz band to SoftAP" 2019-12-19 02:30:15 +00:00
Kevin Chang
a26009e04c Merge "Support accessibility shorcut secondary action (4/n)" 2019-12-19 02:13:40 +00:00
changbetty
9b7b185da4 [Mainline] Use SystemApi setDefaultVoiceSubscriptionId instead of setDefaultVoiceSubId
Bug: 146309719
Test: make RunSettingsRoboTests ROBOTEST_FILTER=DefaultSubscriptionControllerTest
Change-Id: I0ebc90f9d86a3123e86f40fd17f0be584964b4c6
2019-12-19 02:09:03 +00:00
joshmccloskey
53ccc448c8 Using new Biometric API
Test: Verified disabling fingerprint will not allow
the user to unlock work apps with fingerprint. (But can use fingeprint
within apps.)
Test: Verified disabling face and/or iris on a fingerprint device will
continue to
allow the user to unlock work apps with fingerprint.
Test: Verified disabling face on a face authentication device
will not allow the user to unlock work apps with face authentication.
(But can use face
authentication within apps.)
Test: Verified disabling fingerprint and/or iris on a face
authentication device will continue to allow the user to unlock work
apps with face authentication.

Change-Id: I2f72a85f39ec539e6c6bc2cf710ed2f5ebeb5f9a
2019-12-18 16:18:31 -08:00
Kevin Chyn
04def02253 Merge "Log requested enrollment strength" 2019-12-18 19:37:30 +00:00
Bernardo Rufino
24c5cd7da3 Merge "Report if app-specific SAW intent" 2019-12-18 18:17:40 +00:00
TreeHugger Robot
c30ca3efbd Merge "Settings: add a new developer menu entry to show refresh rate overlay" 2019-12-18 17:57:43 +00:00
TreeHugger Robot
69e678be58 Merge "Ignore failed test cases" 2019-12-18 13:26:27 +00:00
Automerger Merge Worker
ee8e7742da Merge "Fixes sound panel create multiple SoundSettings activity" am: e45a8aadd4 am: 3999464409 am: f424190715
Change-Id: If7d8124bb4ffc5594affe8dd0dedf446c5dee02f
2019-12-18 12:45:01 +00:00
Automerger Merge Worker
f424190715 Merge "Fixes sound panel create multiple SoundSettings activity" am: e45a8aadd4 am: 3999464409
Change-Id: I2b5875e2c79daf6e5b7173da59b33e2cfcfbad6e
2019-12-18 12:25:43 +00:00
Raff Tsai
3999464409 Merge "Fixes sound panel create multiple SoundSettings activity"
am: e45a8aadd4

Change-Id: I20e5dd44471df7a25bd50e0bafdf040cf9b04134
2019-12-18 04:09:49 -08:00
Treehugger Robot
e45a8aadd4 Merge "Fixes sound panel create multiple SoundSettings activity" 2019-12-18 12:08:11 +00:00
Tsung-Mao Fang
2c89e0b658 Ignore failed test cases
Test: Rerun test cases
Bug: 146479774
Change-Id: Ibb718bce490095c150ab101741df0fcb0e0e7aeb
2019-12-18 11:41:11 +00:00
TreeHugger Robot
78cba18564 Merge "Fix some test cases" 2019-12-18 11:09:02 +00:00
Bonian Chen
b212076d60 Merge "[Settings] Unable to display disabled SIM" 2019-12-18 10:41:23 +00:00
Raff Tsai
a9e7517f2c Fixes sound panel create multiple SoundSettings activity
- Use FLAG_ACTIVITY_NEW_TASK to prevent activity stack contains
many activites

Fixes: 142231489
Test: 1. Press volume button and click in volume settings button
      2. Press Media Volume to open SoundSettings
      3. Repeat 1, Press Call Volume to open SoundSettings
      4. Repeat 1, Press Alarm Volume to open SoundSettings
      5. Press back, should see volume panel
Change-Id: I87cd75fbd43f77446191ad50ed7a002a2202337f
2019-12-18 18:38:37 +08:00
Tsung-Mao Fang
0ffd9685fd Fix some test cases
Either ignore or fix test cases.

Test: Rerun test cases
Bug: 146316826
Bug: 146317667
Change-Id: Iaf2c094c89982e979abef70c13b86e2c2950146b
2019-12-18 17:44:34 +08:00
zoey chen
7ab984b603 [Setting] Use @SystemApi to replace the hidden api
Bug: 145785535
Test: make
Change-Id: I32554eec8e9f0477a7342a8137a32939b5393fad
Merged-In: I32554eec8e9f0477a7342a8137a32939b5393fad
2019-12-18 17:41:02 +08:00
Automerger Merge Worker
0a12e51755 Merge "[Settings] Create a proxy for SubscriptionManager" am: b2380eaaee am: 73e6ec3231 am: 268595f26a
Change-Id: I94567b327e905dbea9c185c9ec06e5c14e486a3a
2019-12-18 09:31:52 +00:00
Zoey Chen
ab1432c6c7 Merge "[Setting] Use @SystemApi to replace the hidden api" 2019-12-18 09:23:09 +00:00
Automerger Merge Worker
268595f26a Merge "[Settings] Create a proxy for SubscriptionManager" am: b2380eaaee am: 73e6ec3231
Change-Id: Iafb4bf54ea21d88867b675bb71bf7eb1fec5bf06
2019-12-18 09:21:56 +00:00
Bonian Chen
73e6ec3231 Merge "[Settings] Create a proxy for SubscriptionManager"
am: b2380eaaee

Change-Id: Ib66ad2735d01dc3f918ffbd133fcbe5d006bb85f
2019-12-18 01:07:43 -08:00
Bonian Chen
b2380eaaee Merge "[Settings] Create a proxy for SubscriptionManager" 2019-12-18 09:04:53 +00:00
Arc Wang
8e5f76b57f Merge "[Wi-Fi] Launch WifiNetworkDetailsFragment2 for a connected Wi-Fi network" 2019-12-18 09:02:54 +00:00
Arc Wang
808a9f11f5 Merge "[Wi-Fi] Replace WifiTracker with WifiTracker2 in WifiDetailPreferenceController2" 2019-12-18 09:02:37 +00:00
Yoshiaki Naka
81dbc00b6e Retrieve EID from each card
Each eUICC has its own EID. The same EID retrieved from the default
eUICC shall not be displayed for all the SIM status dialogs when the
device supports multiple UICCs.

Bug: 141256483
Test: Manual and SimStatusDialogControllerTest

Change-Id: I367ae3a5f97ff92e03312bed6fe37727ae3798ab
2019-12-18 17:57:47 +09:00
Bonian Chen
2716dd18bb [Settings] Unable to display disabled SIM
Disabled p(e)SIM should be allowed to display to the user.

Bug: 144172733
Test: Manual
Change-Id: I6825fde8ffb22bc95d6c50a60bdeb8027a2f93b8
2019-12-18 16:44:42 +08:00
Kevin Chang
ea3d3520c3 Support accessibility shorcut secondary action (4/n)
Replace metrics constants of different edit dialogs.

Bug: 142531156
Test: Maunal
Change-Id: I52b3d481d815edab17b954283ae5e366723a842c
2019-12-18 16:37:14 +08:00
Paul Chang
70133b368f Merge "Update System default handler title on Bug report handler settings" 2019-12-18 07:57:26 +00:00
Paul Chang
dab972e95e Update System default handler title on Bug report handler settings
- Replace "Android System (Shell)" with "Android System"
- https://screenshot.googleplex.com/U3pxUHx3Uv0
- https://screenshot.googleplex.com/qKqqZUJM2w6

Bug: 143017534
Test: Flash device and check the title
Change-Id: I3036520d5887f70d1c43896eda56587d2ff9cdab
2019-12-18 15:56:07 +08:00
Arc Wang
ce5e7a4626 [Wi-Fi] Launch WifiNetworkDetailsFragment2 for a connected Wi-Fi network
This change also remove redundant code of WifiNetworkDetailsFragment2
from WifiSettings.

Bug: 143326832
Test: Manual
      Click connected Wi-Fi network and check the UI of
      WifiNetworkDetailsFragment2
Change-Id: Id72c26116177f8e7063e433a6456557bd36c7927
2019-12-18 07:23:14 +00:00
Goven Liu
b945785ddb Merge "[Wi-Fi] Use new defined proto field for adding new networks panel page." 2019-12-18 07:22:14 +00:00
Arc Wang
b60e91bf0b [Wi-Fi] Replace WifiTracker with WifiTracker2 in WifiDetailPreferenceController2
There are still many methods not implemented in WifiEntry. This change has below workarounds:

1. Add WifiEntryShell to provide dummy WifiEntry methods.
2. Add @Ignore to WifiDetailPreferenceController2Test.

Must remove these workarounds after we have more constructed WifiEntry methods.

Bug: 143326832
Test: make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.wifi.details2
      make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.wifi.savedaccesspoints2
      make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.wifi
Change-Id: Ic2edb424b9c645838558fe131991ccb9105dc64c
2019-12-18 15:21:59 +08:00
Automerger Merge Worker
faa90620b2 [automerger skipped] Merge "Added horizontal seperator in Face Settings" into qt-qpr1-dev am: 30bf9e2e5e am: a07760377e -s ours
am skip reason: Change-Id I05bfa9b1826c5d4dfcbba6cbe2d2e320014950e3 with SHA-1 409a1c689b is in history

Change-Id: Ic73efc1ad35a4805f38264e55ed5dfd6e48b8aff
2019-12-18 06:40:38 +00:00
Automerger Merge Worker
a07760377e Merge "Added horizontal seperator in Face Settings" into qt-qpr1-dev am: 30bf9e2e5e
Change-Id: Iacdac6e3fc2f8ba03f5cd3a590f52c5c990e1226
2019-12-18 06:27:02 +00:00
android-build-team Robot
6b7081154a Merge cherrypicks of [9943992, 9944684, 9944054, 9943993, 9944476, 9942363, 9942364, 9942365, 9942367, 9944685, 9944686, 9943217, 9944762, 9944764, 9944481, 9944411, 9944055, 9944056, 9944057] into qt-qpr1-release
Change-Id: I79028754f4eb72b297e36d3bb43927d98b652e52
2019-12-18 06:24:31 +00:00
Mill Chen
36bbb02dca 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)
(cherry picked from commit a545a85f9d)
2019-12-18 06:24:03 +00:00
Kevin Chyn
30bf9e2e5e Merge "Added horizontal seperator in Face Settings" into qt-qpr1-dev 2019-12-18 06:15:58 +00:00