Commit Graph

42495 Commits

Author SHA1 Message Date
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
yuemingw
ab1f251def Change Settings to use URL_FILTERED and blocks menu options when DPC Apns are enforced.
Change-Id: I64f55d9a625097baa17c0fa05250d944dea09896
Fix: 68208277
Test: manual
2018-01-18 16:12:34 +00:00
TreeHugger Robot
6ce0b4e8b2 Merge "Remove aggressive handover developer setting" 2018-01-18 10:59:21 +00:00
Yueming Wang
66f9f64454 Merge "Disable UI in Settings app when DISALLOW_CONFIG_LOCATION_MODE is set." 2018-01-18 10:26:57 +00:00
TreeHugger Robot
46a1cb747c Merge "Asynchronously load SliceData from SliceProvider" 2018-01-18 05:00:59 +00:00
TreeHugger Robot
de46d3d4ff Merge "Specify package name when launching search UI" 2018-01-18 04:14:24 +00:00
TreeHugger Robot
70ad5e661a Merge "Move styleActionBar to onStart()" 2018-01-18 03:03:02 +00:00
Bolun Shan
6ddcb8ab91 Merge "DO NOT MERGE: Keep access point list updated once in short time" am: d7682e6d3c -s ours am: bc00e361d5
am: b50162415a  -s ours

Change-Id: I9f7850dfd0836b6e3e6c40bca8295e515a476bef
2018-01-18 03:01:29 +00:00
Bolun Shan
b50162415a Merge "DO NOT MERGE: Keep access point list updated once in short time" am: d7682e6d3c -s ours
am: bc00e361d5

Change-Id: Ie4be52fa2e0d304aa268a4610ba03cb52997dd5d
2018-01-18 02:59:45 +00:00
Bolun Shan
bc00e361d5 Merge "DO NOT MERGE: Keep access point list updated once in short time"
am: d7682e6d3c  -s ours

Change-Id: I134755ec0ec77dea80649440b969f9bcee8eab17
2018-01-18 02:57:28 +00:00
Treehugger Robot
d7682e6d3c Merge "DO NOT MERGE: Keep access point list updated once in short time" 2018-01-18 02:48:31 +00:00
tiansiming
8e3e611755 Merge "Fix NPE crash in AppInfoBase" am: e49cc3d659 am: abcb069d95
am: b5697b2d45

Change-Id: I5e40dde6e0f98a8ba046df78f9b9e3ddcc3f2ce9
2018-01-18 02:34:11 +00:00
TreeHugger Robot
18d249074d Merge "Import translations. DO NOT MERGE" 2018-01-18 02:30:25 +00:00
tiansiming
b5697b2d45 Merge "Fix NPE crash in AppInfoBase" am: e49cc3d659
am: abcb069d95

Change-Id: Id60245ba109dc977ee1078e8d3f50288e5bdbcc7
2018-01-18 02:25:19 +00:00
tiansiming
abcb069d95 Merge "Fix NPE crash in AppInfoBase"
am: e49cc3d659

Change-Id: I719b50356e890e57a8d6574aae23a2d5d0fd989b
2018-01-18 02:15:29 +00:00
Ben Lin
cf6d84109b Don't add any trust agents if the controller is not available.
TrustAgentListPreferenceController gets a list of trust agents and add
them to the security_category preference category at runtime. However,
this update process is always ran - even if the controller is explicitly
disabled/not available. This fixes this.

Bug: None
Test: Updated TrustAgentListPreferenceControllerTest.
Change-Id: Ic95d219bc1d0c7cfa0c4eed0d3dd12dec0e14df6
2018-01-18 01:59:13 +00:00
Ben Lin
dd1e1e1d99 Introduce boolean flags to show/hide items in Security & location.
This adds 6 new boolean flags:
config_show_manage_device_admin
config_show_unlock_set_or_change
config_show_screen_pinning_settings
config_show_manage_trust_agents
config_show_show_password
config_show_trust_agent_click_intent

Which when individually set to false, will hide the item from "Security
& location". It will also hide them from surfacing in search results.

Bug:62379222
Test: make RunSettingsRoboTests
ROBOTEST_FILTER=com.android.settings.security
Change-Id: I58d82cbc7f366a9666cdb0f7cd1b90ebbaf418f4
2018-01-17 17:58:38 -08:00
Fan Zhang
9de4999015 Move styleActionBar to onStart()
Change-Id: I002c266acc0e1095269e92eb7988b1ab505e48ff
Fixes: 72097389
Test: robotest
2018-01-17 17:29:33 -08:00
Bolun Shan
92cf21583d DO NOT MERGE: Keep access point list updated once in short time
The function onAccessPointsChanged will be called many times
and access points will be updated many times in 300ms. So check
if the same event exists before calling postDelayed.

Bug: 68230819
Test: Manual test
Change-Id: Id098e1b77c28b62a5495c3369ed950531e59dba2
2018-01-18 01:29:21 +00:00
Matthew Fritze
0cb918a1de Asynchronously load SliceData from SliceProvider
The slices paradigm is to return a slice as soon as possible
whith whatever information is currently available. Then, load the
longer information in the background and broadcast on the Uri when
the changes are ready.

This CL incorprates a cache system for SettingsSliceProvider to
load that data in the background to solve the issues of multiple
simultaneous callers.

Bug: 67996923
Test: robotests
Change-Id: I0e3f9984181e1c989fed139707cdb27956cf6de6
2018-01-17 16:31:58 -08:00
Bill Yi
e0c5d8e372 Import translations. DO NOT MERGE
Change-Id: I00ad95c01ca523ce726292a376a797f85c9648f4
Auto-generated-cl: translation import
2018-01-17 16:21:55 -08:00
TreeHugger Robot
1c224726a9 Merge "Make LinearColorBar support RTL" 2018-01-18 00:08:24 +00:00
Fan Zhang
60e707df87 Specify package name when launching search UI
Test: robotests
Change-Id: Ib8cc2aa1a6d4de82b32cbe3da8473bb61cf0c530
2018-01-17 16:00:04 -08:00
Lei Yu
6f220968b4 Revert "DO NOT MERGE Add metric log for anomaly."
am: 00322c0f83  -s ours

Change-Id: Id2350a188c34d5f5f2146da4ae08cf8c09c6c597
2018-01-17 23:47:37 +00:00
Lei Yu
00322c0f83 Revert "DO NOT MERGE Add metric log for anomaly."
This reverts commit adf11594d3.

Merged-In: I83761e2a9c206ea7a04f7d031a6961fdab7ca9a0
Change-Id: I015d8c0d05c7ae9abfd4939f7a95e1f0daecc1fc
2018-01-17 23:36:05 +00:00
TreeHugger Robot
2ce430afc4 Merge "Separate suggestions and conditions." 2018-01-17 22:45:45 +00:00
Fan Zhang
7a6726ecda Make LinearColorBar support RTL
- Move the class to widget package
- Remove a bunch of useless drawing

Change-Id: I82f840819c89eaf3cf9b7a87e56f1031989e3262
Fixes: 62700884
Test:  robotest
2018-01-17 14:39:06 -08:00
TreeHugger Robot
c1eeb4c9fd Merge "Show current setting for Tap & Pay" 2018-01-17 22:39:02 +00:00
TreeHugger Robot
1cf4c03f87 Merge "Tweak bluetooth text alignment" 2018-01-17 22:20:21 +00:00
TreeHugger Robot
3487c1633b Merge "Allow lines to be highlighted on managed service pages." 2018-01-17 22:08:26 +00:00
Akshay Joshi
2d4f581f39 Merge "Update storage usage to be consistent in settings" 2018-01-17 21:41:25 +00:00
TreeHugger Robot
ba1ca0d551 Merge "Disable lowBatteryTip and ReducedBatteryTip" 2018-01-17 21:30:42 +00:00