Commit Graph

33863 Commits

Author SHA1 Message Date
Daniel Nishi
8e457342f8 Merge "Fix a crash when transferring an app." 2017-03-08 18:19:26 +00:00
Bartosz Fabianowski
1a8399ffd0 Update layout and strings for DO Disclosures
This CL updates the DO Disclosures page (aka "Enterprise Privacy")
to incorporate UI layout and string changes proposed since
implementation began. There are no logic changes.

Test: make RunSettingsRoboTests
Bug: 32692748

Change-Id: I6ae972e77bd90eb9c61d6a516046a6eb09981ad3
2017-03-08 19:07:29 +01:00
Bartosz Fabianowski
732d695985 Add CA certs Privacy Settings page
This CL adds information about CA certs installed by Device Owner and/or
Profile Owners to the Enterprise Privacy Setting page.

Test: make RunSettingsRoboTests
Bug: 32692748

Change-Id: I67bbe5af2b5b6326e4cd7224d0c6f17ab256dace
2017-03-08 10:51:12 +01:00
Suprabh Shukla
f59d2115ed Adding app specific screen for "External Sources"
Adding app specific screen so that third party apps and package
installer can directly intent there to direct users to change the
setting. Also added automater tests.

Test: adb shell am instrument -w -e class \
'com.android.settings.applications.ExternalSourcesSettingsTest' \
'com.android.settings.tests/android.support.test.runner.AndroidJUnitRunner'

Bug: 33792674
Bug: 35487166

Change-Id: I5a481ee7032979df94a9e267ea74aa90da6a0906
2017-03-07 23:44:51 -08:00
TreeHugger Robot
fdb307bfc0 Merge "Display a hardware info dialog when click model number." 2017-03-08 03:52:33 +00:00
Dmitry Dementyev
e24780ed4c resolve merge conflicts of 75ae46d035 to lmp-mr1-dev
Change-Id: Ib80d006bbd7b76396b4941e001f5c69fb7b643fa
Bug: 33123882
Test: manual tests:
2017-03-07 19:52:02 -08:00
Stephen Chen
2d73008bae Create NetworkScorerPicker preference controller to set preference summary.
Bug: 35854552
Test: make ROBOTEST_FILTER=NetworkScorerPickerPreferenceControllerTest
RunSettingsRoboTests -j40

Change-Id: I6dbd18abd67613ed0f85a52f1a3e13fdab0dca6c
2017-03-07 18:52:01 -08:00
TreeHugger Robot
5b60b793ba Merge "Hide video preference when video is not avaiable." 2017-03-08 02:09:47 +00:00
TreeHugger Robot
a3a83470b5 Merge "VPN screen clean up" 2017-03-08 01:53:22 +00:00
Daniel Nishi
6a256e77d6 Fix a crash when transferring an app.
This crash occurs because the background loader is loading
the storage for an app which is currently being moved off of
the device. In the native code which is calculating the storage,
it throws an InstallerException which is caught and rethrown as an
IllegalStateException.

We handle this in the view by reporting that we could not calculate
the size of the app.

Change-Id: I109b1be60ae60f8ef31b08cb4392b576261fa806
Fixes: 35922033
Test: Robotest
2017-03-07 17:53:12 -08:00
TreeHugger Robot
dde06062f4 Merge "Move the action buttons in installed app detail page in the preference xml." 2017-03-08 00:30:14 +00:00
Fan Zhang
b43bc628d8 VPN screen clean up
Fix: 35960168
Fix: 35856128
Test: visual
- Increase new vpn dialog padding
- Update VPN icon

Change-Id: Ibc7f4fc5b9eff24693a25542e7d3481fbe3c393d
2017-03-07 16:21:38 -08:00
TreeHugger Robot
8e8e7d9f31 Merge "Use light status bar theme in confirm credential activity" 2017-03-08 00:08:54 +00:00
Fan Zhang
26ce68c0ea Hide video preference when video is not avaiable.
Change-Id: Ic4efc21d41b328591f2146534b7edecd86cb83ac
Fix: 35855399
Test: manual
2017-03-07 15:59:39 -08:00
TreeHugger Robot
4a23676590 Merge "Fix test when running with ROBOTEST_FILTER option" 2017-03-07 23:55:21 +00:00
Fan Zhang
dc5a06e7e4 Display a hardware info dialog when click model number.
Change-Id: I28eeb3e5c3ed290d4e03e0f3989adde0b966bede
Fix: 35851000
Test: make RunSettingsRoboTests
2017-03-07 15:42:40 -08:00
Stephen Chen
d3c6802bc5 Set Tron log event on NetworkScorerPicker.
Bug: 35854268
Test: make
Change-Id: I5430fa6f76dc689a7358a23e7fad5fa8ab0469e6
2017-03-07 15:32:47 -08:00
TreeHugger Robot
8e12df9d62 Merge "Fix a crash when opening uninstalled app detail page" 2017-03-07 23:13:20 +00:00
TreeHugger Robot
8d2f72dd78 Merge "Update "make password visible" preference string" 2017-03-07 23:06:02 +00:00
Daniel Nishi
41f36cdae8 Merge "Use the screen context when adding preferences." 2017-03-07 22:55:06 +00:00
Doris Ling
cb22870aa1 Move the action buttons in installed app detail page in the preference xml.
- instead of dynamically creating the preferences for the action
buttons, add the actions items to the installed app details xml.
- rename the reference as it is no longer a footer.

Change-Id: I41b99f50bcc4916384555b5d9470ac937ff1d2ac
Fix: 36001501
Test: make RunSettingsRoboTests
2017-03-07 14:52:02 -08:00
Fan Zhang
6bb0d00d74 Fix test when running with ROBOTEST_FILTER option
Change-Id: I864af10cecb6ad520c999a41be4f6ba6f6c378bf
Bug: 36024626
Test: make RunSettingsRoboTests
2017-03-07 14:28:21 -08:00
Steven Ng
3183c22238 Merge "Fix phishing attack in ChooseLockGeneric" 2017-03-07 21:49:32 +00:00
Fan Zhang
1faaf6ea66 Use light status bar theme in confirm credential activity
Change-Id: I21443fd4eedf3ec9760e751a39d624e0c75530d5
Fix: 35996219
Test: visual
2017-03-07 13:44:18 -08:00
Fan Zhang
57336b93d6 Update "make password visible" preference string
Change-Id: Iaeaf5382476e22bf934ea2b0a200ec5ed146a48d
Fix: 35139378
Test: visual
2017-03-07 13:35:29 -08:00
Fan Zhang
1f81d10dc5 Fix a crash when opening uninstalled app detail page
Change-Id: I417e7eb6f9c857ace4e8047b226abe03a7c8248d
Fix: 36027848
Fix: 34392538
Test: make RunSettingsRoboTests
2017-03-07 13:24:31 -08:00
TreeHugger Robot
e0b65fce67 Merge "Remove code that check for dashboard feature." 2017-03-07 20:57:28 +00:00
Steven Ng
436256c36d Fix phishing attack in ChooseLockGeneric
Test: 1) make and run SettingsTests. It passes.
      2) Manual test 1
         a) On a device supports fingerprint, set a password but not fingerprint.
         b) adb shell am start -a android.app.action.SET_NEW_PARENT_PROFILE_PASSWORD
         c) Confirm Lock password screen is shown
         d) Select "Skip fingerprint". There isn't a second lock password confirmation screen.
         e) A new password can be set successfully.
      3) Manual test 2
         a) Repeat step 2)a) - 2)c)
         b) Select "Fingerprint + PIN". There isn't a second lock password confirmation screen.
         c) A new password and fingerprint can be enrolled successfully.

Bug: 33059280
Change-Id: I1078c6e303fc41aeeb370e5d6518d1f16b5837f1
2017-03-07 19:48:35 +00:00
Gustav Sennton
3c89d8e2cf Fix disabled WebView packages being shown as enabled in Dev Setting.
WebView packages that cannot be chosen as WebView implementation should
be shown as disabled in the 'WebView Implementation' Dev Setting.
Simplify the logic in DefaultAppInfo a little bit to avoid
special-casing for the WebView Dev setting.
Also add tests to ensure we are correctly disabling WebView packages in
the Dev setting and showing their disabled-reasons.

Bug: 35707106
Test: 'make RunSettingsRoboTests'
Test: Ensure disabled WebView packages show up as being disabled in the
'WebView Implementation' Dev Setting.
Change-Id: Ic2f5265c3451b6396e55b7bc29689c3d889ddb5e
2017-03-07 19:30:10 +00:00
Doris Ling
f2cf2aea37 Remove code that check for dashboard feature.
- remove DashboardFeatureProvider.isEnabled() and all relating code
and tests.

Bug: 35764802
Test: make RunSettingsRoboTests
Change-Id: If7796677abc8904b7436525836d50cdef38e37a4
2017-03-07 11:15:03 -08:00
TreeHugger Robot
2437d3c64a Merge "Add default IME to Privacy Settings page" 2017-03-07 18:36:55 +00:00
Daniel Nishi
c7bf800ebf Merge "Align the profile calculation with other screens." 2017-03-07 17:49:28 +00:00
Daniel Nishi
5e1f6dc241 Merge "Fast track the installed app details storage." 2017-03-07 17:48:54 +00:00
Tony Mak
ef4c83962d Fix failed to remove account in managed profile
Fix: 35996483

Test: m -j RunSettingsRoboTests
Test: manual test
          1. Remove account in work profile
          2. Remove account in user 0


Change-Id: I3ed9364afbf8ef5cddd0edc0d4e0e5e48d2dd62a
2017-03-07 15:33:20 +00:00
Bartosz Fabianowski
2700cdbdac Add default IME to Privacy Settings page
This CL adds information about default IMEs set by Device Owner and/or
Profile Owners to the Enterprise Privacy Setting page.

Test: make RunSettingsRoboTests
Bug: 32692748

Change-Id: I9f78ab4792a5a1d444808048ff33e3e20a0483dc
2017-03-07 12:43:42 +01:00
TreeHugger Robot
01b721ee11 Merge "Remove some dashboard alias" 2017-03-07 06:19:55 +00:00
Doris Ling
1694d4bfde Remove some dashboard alias
- remove UsersDashboardAlias, PaymentSettingsDashboardAlias,
  ManageApplicationsDashboardAlias, and AppNotificationDashboardAlias,
  and merge the metadata into the target activity
- remove StorageActivity
- remove the old top level settings categories

Bug: 35764802
Test:  RunSettingsRoboTests
Change-Id: I0faf006c92a1822228bea20ad884cd9a21696fd3
2017-03-06 20:41:01 -08:00
Jaewoong Jung
5adf6f2524 Merge "Changes event handling phases for DeviceListPreferenceFragment." am: 084c20409b am: 015fe72cd3
am: 42786ef2f2

Change-Id: I5f5be1929616a550dd26acf5059c932bdd321fd6
2017-03-07 02:31:47 +00:00
Jaewoong Jung
42786ef2f2 Merge "Changes event handling phases for DeviceListPreferenceFragment." am: 084c20409b
am: 015fe72cd3

Change-Id: Ice1275e292262a86caafe64d01676eaccad0f702
2017-03-07 02:29:45 +00:00
Jaewoong Jung
015fe72cd3 Merge "Changes event handling phases for DeviceListPreferenceFragment."
am: 084c20409b

Change-Id: Ic0abdcd7a7de944b3348590cdfa922fcf1dcbed1
2017-03-07 02:27:15 +00:00
TreeHugger Robot
126d9ae6f4 Merge "Create settings page for choosing default Network Scorer." 2017-03-07 02:06:09 +00:00
TreeHugger Robot
5914d143e7 Merge "Update preference logger to log pref change as ACTION" 2017-03-07 02:00:32 +00:00
Lei Yu
0d988208c0 Merge "Add type UNACCOUNTED("miscellaneous") in advanced battery page" 2017-03-07 01:54:21 +00:00
Saige McVea
b6e0d6c194 Merge "Accessibility settings refresh." 2017-03-07 01:16:53 +00:00
TreeHugger Robot
e5150a18ea Merge "Revert color-coded icons." 2017-03-07 00:42:15 +00:00
TreeHugger Robot
68ef61a105 Merge "Create whitelist for the most popular settings" 2017-03-06 23:56:33 +00:00
Fan Zhang
c6f4c9c9b5 Update preference logger to log pref change as ACTION
Change-Id: I600cf6ec79cbc876347c3fdb20ea70fffbc04524
Fix: 34775467
Test: make RunSettingsRoboTests
2017-03-06 15:39:22 -08:00
Saige McVea
89a5c62963 Accessibility settings refresh.
Added logic for proper handling of new accessibility service categories. Preferences and
services are no longer distinctly separated - services are added after system preferences
in their appropriate category, or are grouped under "Downloaded services".

Bug: 30374533

Test: CTS tests updated to accommodate addition of summary.

Change-Id: I38255ede8880922e60487607f8d1bd520b1adf75
2017-03-06 15:08:42 -08:00
Treehugger Robot
084c20409b Merge "Changes event handling phases for DeviceListPreferenceFragment." 2017-03-06 23:02:13 +00:00
Stephen Chen
9347c95c39 Create settings page for choosing default Network Scorer.
Bug: 35203304
Bug: 35852687
Test: make RunSettingsRoboTests -j40
Change-Id: Iaef671e0a9e8beb560e1d2c9864f44ef46993a6b
2017-03-06 14:08:50 -08:00