Commit Graph

58356 Commits

Author SHA1 Message Date
Arc Wang
e16ce3dcea [Wi-Fi] Hide Connect button when passpoint is expired
If the passpoint is connected and expired, we still show
Disconnect button.

Bug: 148317997
Test: manual
      Observe a connected passpoint and see Disconnect button.
      Observe a disconnect passpoint and see no Connect button.
      Should add test case in WifiDetailPreferenceController2Test
      at later CL.

Change-Id: I07f22804eccce80c44ac709412cb594faaf6ccb0
2020-01-31 17:06:29 +08:00
Arc Wang
41ff138c21 [Wi-Fi] Fix some test failures of com.android.settings.wifi.details2
WifiMeteredPreferenceController2 always has a non null mWifiEntry, remove redundant test case
testController_resilientToNullConfig

Bug: 146479774
Test: make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.wifi.details2
Change-Id: I8194476ea0f337e63b29ff73e9071f6df65d13af
2020-01-31 15:23:51 +08:00
Arc Wang
f591fe0901 [Wi-Fi] Remove passpoint methods in WifiEntryShell
Bug: 143326832
Test: build
Change-Id: I9d21909f18df03d50f69447c3f2014b75ecd2d8b
2020-01-31 15:19:35 +08:00
Arc Wang
4ee5d1819b Merge "Remove WifiEntry.METERED_CHOICE_UNKNOWN" 2020-01-30 06:32:07 +00:00
TreeHugger Robot
f8df99a8d6 Merge "Fix volume panel crashing" 2020-01-30 04:03:47 +00:00
Quang Luong
94f10ec0b5 Remove WifiEntry.METERED_CHOICE_UNKNOWN
METERED_CHOICE_UNKNOWN should represent the default value of the metered
choice, but this can be represented by METERED_CHOICE_AUTO already.

Bug: 70983952
Test: build
Change-Id: I3bea9217e197ff88eba606be9235b1db65158425
2020-01-29 16:45:06 -08:00
Raff Tsai
fcd9f1a870 Fix volume panel crashing
slider position is smaller than min value causes the exception.
Fixed by limit the position within min and max value.

Fixes: 148270968
Test: manual
Change-Id: I3d162f6d2f1035b81b1b2eb915b488084e7ea36e
2020-01-30 08:24:47 +08:00
TreeHugger Robot
8ad24a25ad Merge "Add character limit for app_link_open_always_summary string" 2020-01-29 20:28:29 +00:00
TreeHugger Robot
1767201534 Merge "Use MasterSwitchPref vs subclass" 2020-01-29 19:20:48 +00:00
TreeHugger Robot
ecb62abbc5 Merge "Add setting to hide silent notifs in status bar" 2020-01-29 18:35:16 +00:00
Zimuzo Ezeozue
610a2c3fe4 Merge "Request MANAGE_EXTERNAL_STORAGE permission" 2020-01-29 17:56:10 +00:00
Julia Reynolds
82433b0239 Use MasterSwitchPref vs subclass
MasterSwitchPrefence changed in an incompatible way, but also
added functionality so we no longer need to subclass it.

Test: atest
Fixes: 146503141
Change-Id: I2441c8c265370c138ced13741aa5afd5c2088917
2020-01-29 17:11:45 +00:00
Automerger Merge Worker
79025506e8 [automerger skipped] Merge "[DO NOT MERGE] Update CellIdentityGsm Constructor" am: 0c2cd2a94d am: 1edf46fc74 am: 9aa72472a5 -s ours
am skip reason: subject contains skip directive

Change-Id: If114f9dde65c92b8bff36b27688ace2f91d2ac3a
2020-01-29 16:59:28 +00:00
Automerger Merge Worker
9aa72472a5 Merge "[DO NOT MERGE] Update CellIdentityGsm Constructor" am: 0c2cd2a94d am: 1edf46fc74
Change-Id: I8e4241bce34b6a2099c116cbe76d6e84896d6331
2020-01-29 16:37:28 +00:00
Julia Reynolds
86c0007e1d Add setting to hide silent notifs in status bar
Test: atest
Bug: 148444551
Change-Id: If7171ed36984b76552f3f795f0b4652dce5daad3
2020-01-29 11:25:18 -05:00
Sarah Chin
1edf46fc74 Merge "[DO NOT MERGE] Update CellIdentityGsm Constructor"
am: 0c2cd2a94d

Change-Id: Ibce639f419d021ba6abe507381644eb3fd8249ef
2020-01-29 08:14:34 -08:00
Sarah Chin
0c2cd2a94d Merge "[DO NOT MERGE] Update CellIdentityGsm Constructor" 2020-01-29 15:56:09 +00:00
Alex Johnston
8b15d86c5a Merge "Update string displayed on work pin/password challenge" 2020-01-29 14:10:40 +00:00
Sunny Shao
14e2be7851 Add character limit for app_link_open_always_summary string
Fixes: 148422248
Test: compilation

Change-Id: If8d10e3394025baa559ae11881ee7775e171d6f2
2020-01-29 20:59:57 +08:00
Winson Chung
37a67a483e Merge "Updating developer winscope tile to start sysui tracing" 2020-01-29 05:04:49 +00:00
Alex Johnston
28c6b577ad Update string displayed on work pin/password challenge
* The incorrect string was being displayed when the user
  was asked to enter their pin/password.
* Updated the string to include **work** instead of
  **device** when entering a work pin/password.

Bug: 148211118
Test: Manual testing
Change-Id: I2239a5011dec62fd63574bbf75495548ddd0d907
2020-01-28 17:49:33 +00:00
David Su
613371047b Merge "Rename WifiManager.enableVerboseLogging/getVerboseLoggingLevel" 2020-01-27 18:40:08 +00:00
Automerger Merge Worker
f123108d6b [automerger skipped] Merge "[Settings] DataUsage crash when no SIM inserted" am: 5c8b22657c am: 798b5816d1 am: b201a11991 -s ours
am skip reason: Change-Id I4e893fc7de4a3292b3949860ebb59fbe52ac1a8f with SHA-1 5cf0e1ba47 is in history

Change-Id: I534edee34d5b716852c0ac4ac3b8a5d8d50f90af
2020-01-27 06:33:36 +00:00
Automerger Merge Worker
b201a11991 Merge "[Settings] DataUsage crash when no SIM inserted" am: 5c8b22657c am: 798b5816d1
Change-Id: I1184f29ae4c4d25584c382c4604bab547c45de00
2020-01-27 06:18:29 +00:00
Bonian Chen
798b5816d1 Merge "[Settings] DataUsage crash when no SIM inserted"
am: 5c8b22657c

Change-Id: Iab61f527b75c22eab597eea7ffead91babd72de3
2020-01-26 22:05:07 -08:00
Bonian Chen
5c8b22657c Merge "[Settings] DataUsage crash when no SIM inserted" 2020-01-27 05:21:35 +00:00
Bonian Chen
bdf7346de0 Merge "[Settings] DataUsage crash when no SIM inserted" 2020-01-27 03:46:37 +00:00
Bonian Chen
f550fc2181 [Settings] DataUsage crash when no SIM inserted
Check for null pointer when looking up subcription id.

Bug: 148175728
Test: m RunSettingsRoboTests -j ROBOTEST_FILTER=DataUsageUtilsTest
Change-Id: Icc1314d262f1af686134dcf6a0b187adfc3eb4df
Merged-In: I4e893fc7de4a3292b3949860ebb59fbe52ac1a8f
2020-01-25 09:37:00 +00:00
Zim
3d437ebb4b Request MANAGE_EXTERNAL_STORAGE permission
With the deprecation of WRITE_MEDIA_STORAGE in R. Apps should migrate
to requesting MANAGE_EXTERNAL_STORAGE permission

Test: m
Bug: 144914977
Change-Id: Iab8b44d52d2eb85185baa8a029432aa70d38a93b
2020-01-24 22:29:02 +00:00
Winson Chiu
f9a1252378 Merge "Catch Security and IllegalStateExceptions when enabling overlays" 2020-01-24 19:40:06 +00:00
Fan Zhang
ea99b6ebbd Clean up owner list
Test: manual
Change-Id: I988dc97e3b8c7e10bfe834c740c0adc3ec0aa2f9
2020-01-24 09:44:43 -08:00
Tsung-Mao Fang
fa00e245cd Ignore test cases for ListWithEntrySummaryPreferenceTest
We ignore the failing test cases temporarily.
And we will fix it soon.

Bug: 148200531
Test: Run robotest
Change-Id: Ie42e85be19d3ac1658065bd730a6d9ec7bb06a21
2020-01-24 22:07:01 +08:00
TreeHugger Robot
13fa76e16d Merge "Add RESTRICTED bucket to Developer Options." 2020-01-24 12:27:37 +00:00
Automerger Merge Worker
336e7f1856 Merge "Add IKEv2/IPsec VPN options" am: b189ffb318 am: 9d5397ab42 am: b9df8248fa
Change-Id: I50104a17fd5b7d07cb50b9d6fcc002d7cfd96b6c
2020-01-24 07:59:53 +00:00
Sooraj Sasindran
64f11ee82a Merge "access system resources with android.R package" 2020-01-24 05:36:15 +00:00
Bonian Chen
5cf0e1ba47 [Settings] DataUsage crash when no SIM inserted
Check for null pointer when looking up subcription id.

Bug: 148175728
Test: m RunSettingsRoboTests -j ROBOTEST_FILTER=DataUsageUtils
Change-Id: I4e893fc7de4a3292b3949860ebb59fbe52ac1a8f
2020-01-24 11:08:50 +08:00
David Su
dadef49214 Rename WifiManager.enableVerboseLogging/getVerboseLoggingLevel
- Rename enableVerboseLogging -> setVerboseLoggingEnabled
- Rename getVerboseLoggingLevel -> isVerboseLoggingEnabled
- Converted getter/setter to take/return boolean

Bug: 144925765
Test: compiles
Change-Id: I6406a91b4692871cf558a63f8510f1734ae48f93
2020-01-23 13:57:33 -08:00
Quang Luong
f21a9b0b11 Merge "Remove WifiEntry transitional security types" 2020-01-23 19:49:43 +00:00
Kweku Adams
24fffd106d Add RESTRICTED bucket to Developer Options.
Add the RESTRICTED to the Standby Apps section in Developer Options so
that developers can easily test the behavior of their app in the bucket.

Bug: 145551233
Test: flash and use UI to put app into RESTRICTED bucket
Change-Id: I786f55a08c1fc53ace2031a635396a0529b2b772
2020-01-23 10:24:01 -08:00
Adrian Roos
150a7f0ac1 Merge "Update name of used API" 2020-01-23 16:29:44 +00:00
PO HUNG CHEN
74d73cc0ea Merge "Typo in dynamic developer settings DSU loader" 2020-01-23 15:32:48 +00:00
Howard Chen
e09b42dfbd Typo in dynamic developer settings DSU loader
Bug: 148162879
Test: Compile
Change-Id: I51747e401345dd2317b56313b889d68256cdce8d
2020-01-23 22:21:30 +08:00
Ben Murdoch
7129dd98d8 Merge "Refactor Add new user / restricted profile UX flow." 2020-01-23 14:16:44 +00:00
Ben Murdoch
34462c0cb0 Refactor Add new user / restricted profile UX flow.
Incorporate the choose user name / avatar into the
user creation flow so that we don't end up with many
"New User"s.

Bug: 147653252
Test: make -j64 RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.users.EditUserInfoControllerTest"
Change-Id: Ie19230791d8b50c8ab04df89909606179364ebab
2020-01-23 11:11:02 +00:00
Zhen Zhang
0c2e4d3c94 Merge "Add config value to switch between Tether Settings UIs." 2020-01-23 07:07:09 +00:00
Automerger Merge Worker
b9df8248fa Merge "Add IKEv2/IPsec VPN options" am: b189ffb318 am: 9d5397ab42
Change-Id: Ia26abaa384163d241dbc59e69e6f705f95663752
2020-01-23 06:18:15 +00:00
Benedict Wong
9d5397ab42 Merge "Add IKEv2/IPsec VPN options"
am: b189ffb318

Change-Id: I865a04f4453fc0304ddc3daf9be47ebf2e8a1c3c
2020-01-22 22:09:59 -08:00
Benedict Wong
b189ffb318 Merge "Add IKEv2/IPsec VPN options" 2020-01-23 05:11:47 +00:00
Bonian Chen
fae3cf3c49 Merge "[Settings] Support default value for APN protocol" 2020-01-23 03:43:14 +00:00
TreeHugger Robot
a06c915949 Merge "Fix recent location apps problem without profile" 2020-01-23 02:26:34 +00:00