Commit Graph

42876 Commits

Author SHA1 Message Date
Ningyuan Wang
a8df3064cd Wifi Settings: Add auto option for softap
For device with 5g support, settings will display auto, 2g, and 5g options.
For decice without 5g support, auto and 2g option are shown.

Bug: 68763822
Test: compile
Test: m RunSettingsRoboTests -j40
Test: manually test by checking UI and start hotspot with no issue
Test: manually test that wifi settings logs expected values

Change-Id: Iee9f8cff6aa48df80f5c228596cd9a14f884c274
2018-01-19 16:41:13 -08:00
Daniel Nishi
232ebf1ca7 Add an intent for the advanced connected devices.
This allows us to intent into it for setting specific advanced settings.

Bug: 66679618
Test: BT notification punts to correct screen

Change-Id: I6ff4fbcea2ebf563d634419eac0713365061f88d
2018-01-19 15:51:07 -08:00
Qingxi Li
0caad2f3ba Add checkbox for erase esim under network reset screen
This CL add a checkbox letting user decide when they reset the network
configurations under System > Reset options > Reset Wi-Fi, mobile &
Bluetooth, whether they want to reset eSIM together or not. If the user
choose to reset eSIM togather, EuiccManager#eraseSubscriptions will be
called and all the eSIM profiles will be removed.

Bug: 62961867
Test: E2E & make RunSettingsRoboTests
Change-Id: I533756b12c0474e8e58cc6fe60a38c119365cee2
2018-01-19 14:26:50 -08:00
TreeHugger Robot
a9f6d41635 Merge "Block sleep options in Settings app when DISALLOW_CONFIG_SCREEN_TIMEOUT is set." 2018-01-19 22:25:23 +00:00
TreeHugger Robot
95c89da244 Merge "Unregister hotspot receiver in TetherService." 2018-01-19 22:01:18 +00:00
TreeHugger Robot
7e62030e78 Merge "Add capability for OEMs to supply their own SearchIndexableResources." 2018-01-19 21:50:28 +00:00
Adrian Roos
ca2b1f8564 DisplayCutout: Add support for multiple cutout emulation options
Instead of a single emulation option, users can select from a list
of different styles of cutouts.

Bug: 65689439
Test: atest EmulateDisplayCutoutPreferenceControllerTest
Change-Id: I75598254849c11d9973f2b9cfdbec117bc3957da
2018-01-19 21:47:57 +01:00
Lei Yu
6411b170a5 Merge "Add restrict app detail page" 2018-01-19 20:47:52 +00:00
TreeHugger Robot
d0660d2849 Merge "Include instant apps in Recently opened apps list" 2018-01-19 20:42:50 +00:00
TreeHugger Robot
a5d5806cb5 Merge "Fix FakeUid implementation" 2018-01-19 20:41:45 +00:00
Doris Ling
c692758818 Unregister hotspot receiver in TetherService.
- when the service exits, also unregister the hotspot receiver.
- move TetherService and HotspotOffReceiver to wifi.tether package.

Change-Id: I0044a52bf80a5530a58b5186ab056de55e83532b
Fixes: 69844871
Test: make RunSettingsRoboTests
2018-01-19 12:12:57 -08:00
yuemingw
cdeeaff473 Block sleep options in Settings app when DISALLOW_CONFIG_SCREEN_TIMEOUT is set.
Test: m -j RunSettingsRoboTests
Bug: 67675734
Change-Id: Icdcadd03caa2884338d4300fb41f0036b8b9eb51
2018-01-19 20:01:21 +00:00
Ben Lin
4d163fcc93 Add capability for OEMs to supply their own SearchIndexableResources.
This moves SearchIndexableResources to be supplied by FeatureFactory
rather than its own singleton, which in effect allows OEMs to supply their
own, in the case where they have their own classes they want to be
indexed (or, remove certain classes that used to be indexed).

Bug: 72179744
Test: All tests pass.

Change-Id: Ia06b2026df7eca4c53b44a5a589c4aaa0b69d96c
2018-01-19 11:49:51 -08:00
TreeHugger Robot
182a0fc91b Merge "Zen automatic rule page ui changes" 2018-01-19 19:09:12 +00:00
Antony Sargent
a6203c3f6a Include instant apps in Recently opened apps list
We were accidentally excluding instant apps from the recently opened
apps list in Settings->Apps and notifications.

Test: make RunSettingsRoboTests
Change-Id: I9cac956ceacbfba74a79b38cb01afa2de74ee6fe
Fixes: 71591298
2018-01-19 11:04:22 -08:00
TreeHugger Robot
937dfdf253 Merge "Only show app action button if it is not instant app." 2018-01-19 18:48:23 +00:00
jackqdyulei
0fb2d68f97 Add restrict app detail page
1. Move force standby action to BatteryUtils
2. Add click action for restricted preference(go to detail page)
3. Build app list in detail page using packageOps list

Bug: 71502850
Test: RunSettingsRoboTests
Change-Id: I1e6733e5402e7a854b07a8bbb43a86255276bfaa
2018-01-19 09:59:53 -08:00
Leif Wilden
de7135fbb1 Merge "Migrate to use instrumentation classes from settingslib." 2018-01-19 17:58:00 +00:00
TreeHugger Robot
ad6ba3bd5a Merge "Renamed Storage Access to Directory Access." 2018-01-19 15:33:44 +00:00
Jeff Sharkey
fa432af9f4 Merge "Add new no-op interface method." am: 78bfc6f55f am: 6f918104aa
am: cd08de069a

Change-Id: Iae7e87a1965a549923875c13f142df09a2557672
2018-01-19 05:26:03 +00:00
TreeHugger Robot
1656ef677c Merge "AR/FR: Settings changes." 2018-01-19 03:54:32 +00:00
TreeHugger Robot
8d7f244999 Merge "Fix the time format error in high usage dialog" 2018-01-19 03:49:34 +00:00
TreeHugger Robot
dc660045bc Merge "Remove more things from search v1" 2018-01-19 02:50:24 +00:00
Carlos Valdivia
a9736ed257 AR/FR: Settings changes.
The basic AOSP settings infrastrucutre. Will add the Google specific
resources and tests to GoogleSettings in the next AR/FR change.

Test: make DEBUG_ROBOLECTRIC=1 RunSettingsRoboTests -j40
ROBOTEST_FILTER=com.android.settings.MasterClearTest.java

Change-Id: I7278b5c6d2a72e71d81c7fa5f937a2313d6c322c
2018-01-18 18:02:24 -08:00
jackqdyulei
ecee676093 Fix the time format error in high usage dialog
It should show time string rather than milli seconds.

Fixes: 71960199
Test: RunSettingsRoboTests
Change-Id: I35acbad53069c06379b4b7884ff9bd8aa24c5697
2018-01-18 17:48:37 -08:00
Lei Yu
48bd637d19 Merge "Add database to store anomaly data" 2018-01-19 01:35:53 +00:00
Jeff Sharkey
cd08de069a Merge "Add new no-op interface method." am: 78bfc6f55f
am: 6f918104aa

Change-Id: I4c6643c124838a6dd3d69d58be358f824461a632
2018-01-19 01:12:04 +00:00
Jeff Sharkey
6f918104aa Merge "Add new no-op interface method."
am: 78bfc6f55f

Change-Id: I9dd3e64ad11886d852ed0db15830aa93f4f63dfc
2018-01-19 01:04:49 +00:00
Jeff Sharkey
78bfc6f55f Merge "Add new no-op interface method." 2018-01-18 23:58:30 +00:00
Fan Zhang
74706b6ed1 Remove more things from search v1
Test: robotests
Change-Id: Ide54d1cec69ae3a6782a979d3eeb7f3fc44f09b3
2018-01-18 15:43:34 -08:00
Beverly
738b400ea0 Zen automatic rule page ui changes
- Can change rule name from header
- Text for turning on/off rule is now "Use rule" instead of on/off

Test: make ROBOTEST_FILTER=EntityHeaderControllerTest RunSettingsRoboTests -j40
Test: manual (Settings > Sound > Do Not Disturb > Turn On Automatically)
Bug: 63077372
Change-Id: Id55b02de0509f168c2470a4f875e84140eb840fa
2018-01-18 18:31:03 -05:00
TreeHugger Robot
18a9d7bad0 Merge "Remove apps with usage access from security page" 2018-01-18 22:23:18 +00:00
Doris Ling
eb2695c2aa Only show app action button if it is not instant app.
- for instant app, we are showing another set of buttons, and hence the
regular app action buttons should be not be available.

Change-Id: I53f2a10921451c281166e123671c088ab87b2b0d
Fixes: 71919219
Test: make RunSettingsRoboTests
2018-01-18 14:16:27 -08:00
jackqdyulei
963b7cca25 Add database to store anomaly data
1. Refactor HighUsageApp to AppInfo so it could be
reused both in dialog and app restriction
2. Add BatteryDatabaseHelper to store the anomaly log

Bug: 70570352
Test: RunSettingsRoboTests

Change-Id: I900cd9746ff7f1e19bd6f3948463588b7cf72b85
2018-01-18 14:09:30 -08:00
TreeHugger Robot
bdade7d49a Merge "Update suggestion card layout" 2018-01-18 22:02:13 +00:00
Felipe Leme
6042c0bd6c Renamed Storage Access to Directory Access.
Test: manual verification
Test: make RunSettingsRoboTests -j40

Bug: 63720392
Bug: 72135562

Change-Id: I31e63456994d7a9cd2a83a260930835a1052e793
2018-01-18 13:56:24 -08:00
Jeff Sharkey
2d71185d31 Add new no-op interface method.
Test: bit FrameworksNetTests:android.net.,com.android.server.net.
Test: bit FrameworksTelephonyTests:com.android.internal.telephony.dataconnection.DataConnectionTest
Change-Id: I46ab8fab705a6467f72b13b7dbc7f8af5f76fecf
Exempt-From-Owner-Approval: trivial no-op overload
Bug: 64133169
2018-01-18 14:51:21 -07:00
Ningyuan Wang
fa897f5c96 Merge "Remove roam scan developer settings" 2018-01-18 21:20:51 +00:00
TreeHugger Robot
b0e89cd1c3 Merge "Add dynamic summaries to Slices" 2018-01-18 20:37:42 +00:00
Fan Zhang
bd2cb7db3f Remove apps with usage access from security page
Change-Id: I6791de77caa5d88a26bd2cddd8d5dcdee189a319
Fixes: 72164705
Test: robotests
2018-01-18 12:17:11 -08:00
TreeHugger Robot
be090e9fe9 Merge changes Ic95d219b,I58d82cbc
* changes:
  Don't add any trust agents if the controller is not available.
  Introduce boolean flags to show/hide items in Security & location.
2018-01-18 19:54:09 +00:00
Doris Ling
964b36d415 Update suggestion card layout
- set card corner radius
- update card margin according to number of card and card position
- update text alignment for title and summary

Bug: 70573674
Test: visual
Change-Id: Icfceed5614ded97ce2a7767667ae97f92b89b2fa
2018-01-18 11:36:21 -08:00
Leif Hendrik Wilden
1546cca529 Migrate to use instrumentation classes from settingslib.
Test: Compiles. Manually tested.
Change-Id: Ie5515bb0fe3e621fc7723a9b04ba23e4bfa9c401
2018-01-18 11:13:24 -08:00
Michael Rosenfeld
e1bb0c2f4c Fix build breakage dependency.
Test: manual, builds
Change-Id: I43bd8dedc48a268bdf6cfaaf1f4c524ef6d3b646
2018-01-18 11:11:51 -08:00
Ningyuan Wang
60b8bee9f7 Remove roam scan developer settings
Bug: 72116071
Test: compile
Test: m RunSettingsRoboTests -j40
Test: Manually check developer options, make sure roam scan is
gone

Change-Id: Ibe9fb31551962ecbb2979d0d2ec6885838b919b7
2018-01-18 10:18:53 -08:00
TreeHugger Robot
f3b4449f67 Merge "Change Settings to use URL_FILTERED and blocks menu options when DPC Apns are enforced." 2018-01-18 18:01:40 +00:00
Andrew Sapperstein
df8607a204 Merge "Ignore first crash dialog." 2018-01-18 17:49:33 +00:00
Adrian Roos
27e3e302e7 Merge "DisplayCutout: Add emulation option to DeveloperSettings" 2018-01-18 17:31:59 +00:00
TreeHugger Robot
b0781fa3a6 Merge "Show Toast with location of trace when trace is disabled" 2018-01-18 17:12:42 +00:00
Ashita Sriraman
7b3daab6c6 Merge "Moving Settings tests closer to the settings code" 2018-01-18 17:02:17 +00:00