History log of /packages/apps/Settings/src/com/android/settings/enterprise/EnterprisePrivacySettings.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a112226db22f47587a814d1891b2ce137c62b2d5 23-Mar-2018 Lenka Trochtova <ltrochtova@google.com> Enterprice privacy: let the user know if admin enabled backups.

Bug: 73750212
Bug: 64012357
Test: make RunSettingsGoogleRoboTests

Change-Id: I586eaccaebb89a8b3e5b4014b3d6427ab2eb15a9
/packages/apps/Settings/src/com/android/settings/enterprise/EnterprisePrivacySettings.java
b5c651c9399aa53e0bef296a265a47c825fe12b2 30-Mar-2018 Fan Zhang <zhfan@google.com> Register most app info related controllers in xml

Bug: 77216595
Test: robotests
Change-Id: I79afa38820b7518d8b3112148802797ebcf6d184
/packages/apps/Settings/src/com/android/settings/enterprise/EnterprisePrivacySettings.java
f7843adabd4e8e1cc84a52721daabefa3a1410fd 22-Feb-2018 Fan Zhang <zhfan@google.com> More renaming in DashboardFragment

getPreferenceControllers() -> createPreferenceControllers() for the same
reason as in ag/3647936

Bug: 73668763
Test: robotests
Change-Id: I97670a91a2a38d1c844d1b9d37f4222c5e6f45a0
/packages/apps/Settings/src/com/android/settings/enterprise/EnterprisePrivacySettings.java
aed8994f6f50a6bc0adfaa92b499ebde3a8f2a76 22-Feb-2018 Fan Zhang <zhfan@google.com> Rename Indexable::getAllPreferenceControllers.

To getPreferenceControllers. "all" is redundant. Then internally, the
old getPreferenceControllers() is renamed to
createPreferenceControllers() to emphasize the controllers are created
from code (versus the ones created from xml).

Bug: 73668763
Test: robotest
Change-Id: Ifec46aefdc2a418031c8e152028b30bdcd396fc7
/packages/apps/Settings/src/com/android/settings/enterprise/EnterprisePrivacySettings.java
b5f5ffbece14b4f2882144f465ee67b35d5aa567 07-Nov-2017 Fan Zhang <zhfan@google.com> Remove DynamicAvailabilityPreferenceController.

- This class is over complex to use, and get in the way of show/hide
pref when availability change.
- The function from DynamicAvailabilityPreferenceController can be done
with PreferenceCategoryController.

Bug: 68956750
Bug: 32953042
Test: robotests
Change-Id: Ia7b7e214c072b8c77f5de3d959fdb1dc79217f76
/packages/apps/Settings/src/com/android/settings/enterprise/EnterprisePrivacySettings.java
c74bbcd3b247c3005d8997de650ade21039c5a96 18-Aug-2017 Tony Mak <tonymak@google.com> A separate entry for work profile CA cert

We mixed both primary and work profile CA certs into single entry
previously which is not aligned with the CTS requirement.
Separate them from now.

Test: m -j RoboSettingsTest
Test: Run related manual test in CtsVerifier

Bug: 64567417

Change-Id: Iaff2d9f25ef15b96c11727e7075bdae8e90ec8ce
/packages/apps/Settings/src/com/android/settings/enterprise/EnterprisePrivacySettings.java
1d583e125faf3ae4c9cd82636d8f3ecf1cdec3aa 13-Jun-2017 Tony Mantler <nicoya@google.com> Make PreferenceController a mixin

Bug: 62912136
Test: Existing tests in BaseSearchIndexProviderTest
Change-Id: Ieda359806c09a019840b2005446c7ec8b61fdb00
/packages/apps/Settings/src/com/android/settings/enterprise/EnterprisePrivacySettings.java
55038c0a95fee80a1d399c123be7cdde5b1f0d96 02-Jun-2017 Bartosz Fabianowski <bartfab@google.com> Hide "Changes made by your organization's admin" when empty

The admin of a manged device can take a number actions that will be
listed in the "Changes made by your organization's admin" section of
Settings. If the admin has not taken any such actions, the section
will be empty and should be hidden. This is accomplished by having a
PreferenceController for the section that observes the state of the
PreferenceControllers inside it.

Bug: 35912953
Test: m RunSettingsRoboTests

Change-Id: Ia95754493ee6c5a19b4aa9731fd56fd558e61849
/packages/apps/Settings/src/com/android/settings/enterprise/EnterprisePrivacySettings.java
777ed2535a7fd6f618a0d12f381af99252283574 10-May-2017 Juan Lang <juanlang@google.com> Depend on SettingsLib's version of lifecycle and FooterMixin.

The implementations have been imported into SettingsLib. Setting's copy
can now be removed, which this change also does.

Test: Manually check battery status, which uses FooterMixin, looks OK.
make RunSettingsLibRobotTests && make RunSettingsRoboTests
&& make RunSettingsGoogleRoboTests
Change-Id: I6539605fdad80d156ff5ff249e68df4a1c412067
/packages/apps/Settings/src/com/android/settings/enterprise/EnterprisePrivacySettings.java
b836da263d8559255c528fe68410649d979cf123 30-Mar-2017 Bartosz Fabianowski <bartfab@google.com> Device management info: Refer to current user, not primary user

The device management info page should show information about the
current user's policies, not the primary user's.

Bug: 32692748
Test: m RunSettingsRoboTests

Change-Id: I5d8afa7fae1c0f3a4da78b085365882827e6721b
/packages/apps/Settings/src/com/android/settings/enterprise/EnterprisePrivacySettings.java
0c88ff4ed91a731f83f9afe912b41f06f40a45ec 22-Mar-2017 Denis Kuznetsov <antrim@google.com> Update List of apps on device string,
remove "XX apps" string.

Bug: 32692748
Test: m RunSettingsRoboTests
Change-Id: I64f833497b5362f95cfc56a1057d97d9539ff029
/packages/apps/Settings/src/com/android/settings/enterprise/EnterprisePrivacySettings.java
b076e00c5eed6720c5347a2d15890aa9d11157b0 20-Mar-2017 Bartosz Fabianowski <bartfab@google.com> Finish removing N/A DO disclosures from search index

DO disclosures referring to actions that the admin did not actually
take are hidden in the UI, but still show up in the search index. This
CL switches the remaining PreferenceControllers from setting visibility
to implementing isAvailable() instead.

Bug: 32692748
Test: m RunSettingsRoboTests

Change-Id: I54360698f28b549b18cdc230e3b9087cf4e9ff4a
/packages/apps/Settings/src/com/android/settings/enterprise/EnterprisePrivacySettings.java
4a196252862d5d5e23e73afc411fc6789af92712 21-Mar-2017 Bartosz Fabianowski <bartfab@google.com> DO Disclosures: Combine personal and work CA cert

It was decided that rather than having two separate items for CA certs
in the personal and work spaces, we should have just one item that
lists the sum of installed certs.

Bug: 32692748
Test: m RunSettingsRoboTests

Change-Id: Ic8a3db214a07992e3970262c2ce91f3df8a87773
/packages/apps/Settings/src/com/android/settings/enterprise/EnterprisePrivacySettings.java
5dc168af1add029df23674f60eb4130b82012e70 10-Mar-2017 Bartosz Fabianowski <bartfab@google.com> Start removing N/A DO disclosures from search index

DO disclosures referring to actions that the admin did not actually
take are hidden in the UI, but still show up in the search index. This
CL takes the following steps toward fixing this:
* Pass the list of PreferenceControllers to the search indexer
* Make the first two PrefrenceControllers set isAvailable() correctly

There are more disclosures to update, but the difficult work is done
as all others will follow the same pattern.

Bug: 32692748
Test: m RunSettingsRoboTests

Change-Id: I7d3e248b80abe72b79fce7afa11f28a822de6986
/packages/apps/Settings/src/com/android/settings/enterprise/EnterprisePrivacySettings.java
cabc509e4f2d43a65910e1c8aa642aa59d781cae 14-Mar-2017 Fan Zhang <zhfan@google.com> Allow page to suppress all of its content from search.

To suppress things from search, we usually use preferencecontroller to
control individual items. But a page can sometimes to disabled
entirely. Now it can set isPageSearchEnabled to false to achieve that.

Change-Id: I39424b7fdc6460e27fd7c83cf09b5ace12d1cc37
Fix: 36201167
Test: make RunSettingsRoboTests
/packages/apps/Settings/src/com/android/settings/enterprise/EnterprisePrivacySettings.java
732d69598578979669437a0c4db36478f93a275f 06-Mar-2017 Bartosz Fabianowski <bartfab@google.com> 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
/packages/apps/Settings/src/com/android/settings/enterprise/EnterprisePrivacySettings.java
2700cdbdac14c27a047d3d20b75a738b25d2bfe8 17-Feb-2017 Bartosz Fabianowski <bartfab@google.com> 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
/packages/apps/Settings/src/com/android/settings/enterprise/EnterprisePrivacySettings.java
8903f666620ec26e957f2304747f02b238890175 14-Feb-2017 Bartosz Fabianowski <bartfab@google.com> Add wipe on login failure to Privacy Settings page

This CL adds information to the Enterprise Privacy Setting page that
tells the user how many times the password can be mistyped before
the device (or the work profile) is forcefully wiped.

Test: make RunSettingsRoboTests
Bug: 32692748

Change-Id: I4ae316802dbf5853ab4eacb0787647372d5e26c2
/packages/apps/Settings/src/com/android/settings/enterprise/EnterprisePrivacySettings.java
482908f22625791d051df16c24f94325dab0ae52 19-Jan-2017 Bartosz Fabianowski <bartfab@google.com> Add admin-set default apps to Enterprise Privacy Settings page

This CL adds information about the number of default handlers for
common intents (e.g. browser, e-mail, calendar) set by the admin.

Bug: 32692748
Test: make RunSettingsRoboTests

Change-Id: I569d9ddabeee2b2aa9a892b28066abb8bf920fcf
/packages/apps/Settings/src/com/android/settings/enterprise/EnterprisePrivacySettings.java
7e6df837ee23a62879d2e5182f923388d209ce56 24-Jan-2017 Fan Zhang <zhfan@google.com> Remove getCategoryKey() from DashboardFragment children.

Use the centralized registry to look up category key instead.

Bug: 32936784
Test: make RunSettingsRoboTests -j40
Change-Id: I0b8c72d70f93e4b5c58871ac90de41f69ad15653
/packages/apps/Settings/src/com/android/settings/enterprise/EnterprisePrivacySettings.java
9704a28c7b2934d40a70a4529a06641816be3d62 16-Jan-2017 Bartosz Fabianowski <bartfab@google.com> Add admin-granted permissions to Enterprise Privacy Settings page

This CL adds information about the number of apps that have been granted
particularly sensitive permissions (location, microphone, camera) by
the admin.

Bug: 32692748
Test: make RunSettingsRoboTests

Change-Id: I650d3e1ed3950960c58722b0c035a76daeb36478
/packages/apps/Settings/src/com/android/settings/enterprise/EnterprisePrivacySettings.java
13f569ebd676cf1616b039d0d8aa141fff34be49 13-Jan-2017 Bartosz Fabianowski <bartfab@google.com> Add number of enterprise-installed apps to Privacy Settings page

This CL adds information about the number of apps that were installed
by the admin to the Enterprise Privacy Settings page.

Test: make RunSettingsRoboTests
Bug: 32692748

Change-Id: Ib710a1249db6d285da962122fd3dfb35a43752a1
/packages/apps/Settings/src/com/android/settings/enterprise/EnterprisePrivacySettings.java
0d2268080734e15ca9f6854082926be23687f736 11-Jan-2017 Bartosz Fabianowski <bartfab@google.com> Add global HTTP proxy to Privacy Settings page

This CL allows the user to see on the Enterprise Privacy Settings
page whether the admin set a global HTTP proxy.

Test: make RunSettingsRoboTests
Bug: 32692748

Change-Id: I3c7c46f806f39c90425fd8e098a749f3cc1e9278
/packages/apps/Settings/src/com/android/settings/enterprise/EnterprisePrivacySettings.java
fc018e467279f8d54aee7eba837ef2d604d795c1 09-Jan-2017 Bartosz Fabianowski <bartfab@google.com> Add Always on VPN to Privacy Settings page

This CL adds information about always-on VPNs to the Enterprise
Privacy Settings page.

Test: make RunSettingsRoboTests
Bug: 32692748

Change-Id: I2b59e2ec4c55308b323aaa478cd9c847fe0b4b55
/packages/apps/Settings/src/com/android/settings/enterprise/EnterprisePrivacySettings.java
2e0b60849592ad65fa7c18468eebd13ec0772f2d 28-Nov-2016 Bartosz Fabianowski <bartfab@google.com> Populate Enterprise Privacy Settings page - batch 2

This CL adds the second batch of items to the Privacy Settings page.

These are all the remaining items that fall into the "What types of
information can your organization see?" category.

Test: make RunSettingsRoboTests
Bug: 32692748
Change-Id: I08569646ed6bb6f5d9d6d65ed2718be8456f50ae
/packages/apps/Settings/src/com/android/settings/enterprise/EnterprisePrivacySettings.java
62b96811c15d635a475e87ea22c4cedad1567bb6 18-Nov-2016 Bartosz Fabianowski <bartfab@google.com> Populate Enterprise Privacy Settings page - batch 1

This CL adds the first batch of items to the Privacy Settings page.
These are all the items that fall into the "What types of
information can your organization see?" category and do not require
deeper Framework changes. Further batches are to come in separate
CLs.

Test: make RunSettingsRoboTests
Bug: 32692748
Change-Id: I460093bc45ed0e5baab2a5cdf9833e654d436cc9
/packages/apps/Settings/src/com/android/settings/enterprise/EnterprisePrivacySettings.java
05061fced346b6f60e84c34f08b1957d1003ccdf 14-Nov-2016 Bartosz Fabianowski <bartfab@google.com> Add Enterprise Privacy page to Settings

This adds a new page to Settings which tells the user about his/her
privacy in light of enterprise management. The new page is only shown
on devices that have a Device Owner app set.

This CL adds a mostly blank page. Follow-up CLs will populate the page
with information about specific admin actions/policies.

The page's title ("Privacy"), icon and location in the Settings app are
tentative. The page will move to its final location once the new IA
redesign is finished.

Test: make RunSettingsRoboTests
BUG: 32692748

Change-Id: I5b5c08c0025207516b0779f54cf68234a4ba3fe4
/packages/apps/Settings/src/com/android/settings/enterprise/EnterprisePrivacySettings.java