Commit Graph

51159 Commits

Author SHA1 Message Date
Arc Wang
e4359a9eee Merge "Fix Wi-Fi Easy Connect buttons UI defects" 2019-03-20 01:53:24 +00:00
Fan Zhang
e230d19810 Merge "Make a public activity for zen access details." 2019-03-19 23:52:17 +00:00
Fan Zhang
e366f02712 Make a public activity for zen access details.
Bug: 128547723
Test: manual
Change-Id: I0546cbb37c2be50bff44396fa2874d9eb294813c
2019-03-19 23:52:06 +00:00
Fan Zhang
b24514189a Store the application context statically in FeatureFactory
It stores the application context in a static class, and will be
destoryed when application stops.

Bug: 124701288
Test: robo
Change-Id: I4678072f3f38ae682be6ba075c85e63c49f8febe
2019-03-19 16:07:25 -07:00
TreeHugger Robot
6ce76c0035 Merge "Sound + Output Switcher on Volume Slice" 2019-03-19 22:49:04 +00:00
TreeHugger Robot
df31ff0ef3 Merge "Enlarge the height of collapsing button" 2019-03-19 22:36:30 +00:00
Salvador Martinez
cbd35ab0d5 Fix sticky battery saver toggle
It was persisting to settings secure instead of settings global.

Test: robotests pass
Bug: 128929858
Change-Id: I8c5bcc875d71096e70f1a70ec84e85d46c3abe43
2019-03-19 15:20:51 -07:00
Yohei Yukawa
2f8e02fdbe Finalize text of per-profile IME settings
This is a follow up CL to a recent CL [1], which updated text in the
Settings app as follows:
 * "Keyboard & inputs" to "Keyboards"
 * "Input assistance" to "Tools"

For consystency, this CL updates the header text for the work-profile
specific enties in Languages & input from
  Work profile input & assistance
to
  Work profile keyboards & tools.

Other than that, there is no user-visible behavior change.

 [1]: Idbf1e3a8b0c7116271e424548ef37340199eaea2
      5b27d18e38

Bug: 124049901
Fix: 123314089
Test: Manually verified as follows.
  1. Build and flash an AOSP build
  2. Install Test DPC
  3. Open Settings -> System -> Languages & input
  4. Make sure that the new category header for work-profile specific
     entries is now shown as "Work profile keyboards & tools"
Change-Id: Ib6470debe9be29ec0985cf1e3eb31d232c6b3880
2019-03-19 14:15:37 -07:00
Malcolm Chen
41855ec8b9 Move SIM select logic from SimSelectNotification to Telephony.
SimSelectNotification used to listen to SIM_STATE_CHANGED from Telephony
and do checkings to decide whether to pop up notification and
SimDialogActivity. The logic needs updated and only Telephony knows it
well. So this change moves the logic into Telephony. SimSelectNotification
only listens to Telephony's decision, brings up notification and trigger
SimDialogActivity.

Bug: 128645056
Test: sanity and manual
Change-Id: I6153e27dd00dd9cdf8682f135eb39f8af3a75608
2019-03-19 13:57:19 -07:00
Mill Chen
8ac550c912 Merge "Add Grayscale conditional" 2019-03-19 20:47:56 +00:00
Mill Chen
12f9b2a73b Enlarge the height of collapsing button
To improve the accessibility of Settings, we make the height of
collapsing button set to 48dp.

Fixes: 128896511
Test: rebuild
Change-Id: I341196802d6d488a8adb88501901e761bc188f7b
2019-03-19 13:17:09 -07:00
jackqdyulei
7fb5e75752 Make BT icon colorful
Add new method to get rainbow bt icon and also refactor
AdaptiveHomepageIcon:
1. Rename
2. Add ConstantState

Bug: 126425211
Test: RunSettingsRoboTests

Change-Id: Idb8aaf253d0d9e2ab33d8852f093e6689ebadde4
2019-03-19 12:22:38 -07:00
TreeHugger Robot
cd9ef2abbd Merge "Remove wake from Settings gestures.xml" 2019-03-19 18:20:38 +00:00
Rich Cannings
34042bbf1d DO NOT MERGE Refactor passwords/pins/patterns to byte[]
Relating to packages/apps/Settings

Bug: 120484642
Test: manual - test setting and unlocking passwords/pins/patterns.
      automated - atest packages/apps/Settings/tests/robotests/src/com/android/settings/password/

Change-Id: Idec8338d141c185bef67ade12035fdb2fa9d17ea
(cherry picked from commit b27c4308a2)
2019-03-19 11:15:14 -07:00
Lei Yu
e87fe284b6 Merge "Add circle background outline to unthethered icon" 2019-03-19 17:46:17 +00:00
Clown SHEN
9187906493 Merge "Display more information on network detail page" 2019-03-19 17:37:26 +00:00
Fan Zhang
83f85b0a1f Merge "Stop using framework internal layout for timezone header." 2019-03-19 17:18:42 +00:00
Fan Zhang
5d2e0fc10f Stop using framework internal layout for timezone header.
The framework version header has deviated from supportlib version long
ago, and we shouldn't hack our theme to make this layout work. Instead
we now have a custom layout compatible to settings theme.

Fixes: 128833223
Test: visual
Change-Id: I83087352240de183b0639daf844bd7f90e02056a
2019-03-19 10:17:46 -07:00
Fan Zhang
3099c47904 Merge "Update strings of notification channel slice" 2019-03-19 17:14:56 +00:00
Fan Zhang
01bb0f9bcb Merge "Create a page to manage dnd permission for individual app" 2019-03-19 17:14:07 +00:00
Beverly
19f8d244e6 Remove wake from Settings gestures.xml
Test: manual
Bug: 127955764
Change-Id: Icea129fe5a7b1dbb0bc5ff799c99907a278396df
2019-03-19 10:56:07 -04:00
TreeHugger Robot
f5e2bfee28 Merge "Log latency and timeout occurrence for contextual cards." 2019-03-19 13:25:25 +00:00
Yanting Yang
d3ae430150 Update strings of notification channel slice
Bug:128641319
Test: manual
Change-Id: Ia5f5ee770a28c0720526e60ffdb48fb2bd3de13f
2019-03-19 19:56:17 +08:00
TreeHugger Robot
dc7683b3a4 Merge "Update OWNERS for backup settings" 2019-03-19 11:48:40 +00:00
tmfang
0d79b61634 Use "Disable"/"Enable" for system app
- Also modify warning message for disable dialog.

Bug: 124116610
Bug: 128769312

Test: visual
Change-Id: I2f68f51538d3dd17898aa668dae52d1d8e955ec7
2019-03-19 19:39:27 +08:00
Yi-Ling Chuang
620d6aeccb Log latency and timeout occurrence for contextual cards.
Fixes: 124492762
Test: rebuild
Change-Id: I552adf7e6d76e8576a790e83792d067ed5716dc2
2019-03-19 18:31:01 +08:00
Arc Wang
baf002d61a Fix Wi-Fi Easy Connect buttons UI defects
1. Apply attr/colorAccent to button icons for theme UI control
2. Apply attr/selectableItemBackground for button tapping ripple effect
3. Use ConstraintLayout to separate ssid EditText and scan button
4. Remove ButtonPreference and add AddNetworkPreference.
   ButtonPreference's naming and design look like a general purpose UI
   component but it's not. This change refactors the code.
5. In AddNetworkPreference, use settingslib layout file
   'preference_access_point' to fix UI alignment problems.

Bug: 126964552
Bug: 125434239
Bug: 126762937

Test: manual test
      atest com.android.settings.wifi.WifiSettingsTest
Change-Id: Ib899a1e10f96bb8427ff00d6b5dfca37a0642c44
2019-03-19 16:27:04 +08:00
TreeHugger Robot
f669a3bd70 Merge "Import statsdprotolite library to use atoms.proto" 2019-03-19 04:06:20 +00:00
cosmohsieh
b795dcbcd1 [Network Connection] Implement new UI changing
1. Change title to multi-lines display
2. Add "SingleSpecifiedSSID" mode, will have connect button
3. Don't pop error dialog, if there is connection failure. Let user
retry.
4. Hide progress icon if list item exists

Bug: 128586511
Test: atest NetworkRequestDialogFragmentTest
Change-Id: Icc560e4882fbcd941574e44690a27d5082a7c4c7
2019-03-19 10:15:33 +08:00
TreeHugger Robot
23924cf3f4 Merge "Enable nav bar overlay when gestural nav is enabled and tune edge swipe width." 2019-03-19 00:17:38 +00:00
Raff Tsai
7ba77ceadf Import statsdprotolite library to use atoms.proto
Bug: 124701288
Test: rebuild
Change-Id: I38ba80707f8b6cbf7d590d72f4f7fb937dc82a89
2019-03-19 07:19:20 +08:00
Hai Shalom
94c888fb30 Merge "[Wi-Fi] Do not delete certs when forgetting network" 2019-03-18 22:38:47 +00:00
Tracy Zhou
ecb94f5466 Enable nav bar overlay when gestural nav is enabled and tune edge swipe
width.

Fixes: 128680874, 128711028
Test: Manual
Change-Id: I371819c6f6206f2bbc8599c0b14b4da9b67a2e14
2019-03-18 15:14:57 -07:00
Fan Zhang
93c690979f Merge "Disable draw overlay for most of Settings." 2019-03-18 21:55:24 +00:00
Fan Zhang
9d98344122 Disable draw overlay for most of Settings.
Fixes: 120484087
Test: robotests
Change-Id: I1f7c8e83bd5054525bde5ca35fac55b7c9586c7c
2019-03-18 14:54:39 -07:00
Fan Zhang
5bb2a87b7f Create a page to manage dnd permission for individual app
- Change the original ZenAccessPage to
  - Remove the inline switch
  - Make the preference click target go into the new detail page
  - Some formatting/style change.

- Create a new detail page for zen access.
  - Exit if app didn't declare this permission
  - Preset the switch toggle to their current permission grant state
  - Move the warning dialog logic from ZenAccessSettings to here.

- Move some common functionality into ZenAccessController, a static
  helper class

Bug: 128547723
Test: robotest
Change-Id: I1ebb32396869d07ff4283b300bd716506298c9b5
2019-03-18 14:42:31 -07:00
Brad Ebinger
7099f1ce20 [automerger skipped] Merge "Do not show Provisioning items for IMS if it is not enabled." am: be10b45fe6 am: 76b4661f56
am: 6ed6eeb05f -s ours
am skip reason: change_id I9624535fe766cd79eadb30502c1a0574650a02ef with SHA1 5dfe7f8af9 is in history

Change-Id: Ie9996ba6c93a195053c430aeb4bad88bd314b1f2
2019-03-18 14:01:17 -07:00
Brad Ebinger
6ed6eeb05f Merge "Do not show Provisioning items for IMS if it is not enabled." am: be10b45fe6
am: 76b4661f56

Change-Id: I04d7e91cce1424608581ca36f6282e71c9d3ac7e
2019-03-18 13:42:49 -07:00
Yong Shi
a37337349c Show the disclaimer regarding WFC location privacy policy
In some countries the rules is very strict about responsibility and
liability around location data during emergency calls. The purpose of
this feature is to notify end user that the location information will
be shared for calls over wifi calling.

Test: manual - Checked that WFC locatopn privacy policy is shown when
changing wifi calling setting to turned on.
Test: auto - Passed LocationPolicyDisclaimerTest.
Bug: 67872298

Change-Id: I03895743fb8da95269069ad7eda9a7b3e282857e
2019-03-18 20:42:04 +00:00
Brad Ebinger
76b4661f56 Merge "Do not show Provisioning items for IMS if it is not enabled."
am: be10b45fe6

Change-Id: Ie8c404d980d7437550019fccdcac0868fa5d845d
2019-03-18 13:29:25 -07:00
TreeHugger Robot
d55718eeca Merge "Fix voice access issue on home page" 2019-03-18 19:59:27 +00:00
TreeHugger Robot
00b0abd68e Merge "Force LSKF in ConfirmCredential UI when pending escrow token exists" 2019-03-18 19:44:47 +00:00
Fan Zhang
9f5e7b77ff Merge "Fix crash on AppInfo screen" 2019-03-18 18:36:49 +00:00
Hunter Knepshield
711b78d5ed Merge "[Strings + layout] Minor changes for eSIM erase." 2019-03-18 18:17:20 +00:00
TreeHugger Robot
eaf00ae476 Merge "Handle the SQLiteDatabase already-closed problem" 2019-03-18 18:13:27 +00:00
TreeHugger Robot
15bd7f24e9 Merge "Add null check for worker" 2019-03-18 18:01:08 +00:00
Brad Ebinger
be10b45fe6 Merge "Do not show Provisioning items for IMS if it is not enabled." 2019-03-18 17:35:27 +00:00
Jack Yu
c2299333ae Merge "Renamed NetworkRegistrationState to NetworkRegistrationInfo" 2019-03-18 17:28:08 +00:00
Rubin Xu
e0efe27f03 Force LSKF in ConfirmCredential UI when pending escrow token exists
Escrow tokens can only be activated by user confirming their LSKF,
while ConfirmCredential allows both LSKF and biometrics by default.
By requiring LSKF, it simplifies the DPC's flow of requesting the user
to activate a pending escrow token.

This change tweaks the ConfirmCredential UI to skip biometrics if pending
token exists.

Bug: 127377026
Bug: 76084679
Bug: 79547502
Test: manual
Change-Id: Iee9b2d57d7f4de98e225b3aeff7cc35cc8e3d36a
2019-03-18 17:20:26 +00:00
TreeHugger Robot
50bdbe92ab Merge "Move WakeGestureScreenGestureSettings" 2019-03-18 17:20:01 +00:00