diff options
author | Bartosz Fabianowski <bartfab@google.com> | 2016-11-28 21:13:30 +0100 |
---|---|---|
committer | Bartosz Fabianowski <bartfab@google.com> | 2016-11-28 21:13:30 +0100 |
commit | 2e0b60849592ad65fa7c18468eebd13ec0772f2d (patch) | |
tree | 9bb9c8f9122564723e56498b1ed00da699a77952 /src/com/android/settings/enterprise/EnterprisePrivacyFeatureProvider.java | |
parent | 51ecc5eced142e29c44f532e444c4738b877a9e3 (diff) | |
download | packages_apps_Settings-2e0b60849592ad65fa7c18468eebd13ec0772f2d.tar.gz packages_apps_Settings-2e0b60849592ad65fa7c18468eebd13ec0772f2d.tar.bz2 packages_apps_Settings-2e0b60849592ad65fa7c18468eebd13ec0772f2d.zip |
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
Diffstat (limited to 'src/com/android/settings/enterprise/EnterprisePrivacyFeatureProvider.java')
-rw-r--r-- | src/com/android/settings/enterprise/EnterprisePrivacyFeatureProvider.java | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/com/android/settings/enterprise/EnterprisePrivacyFeatureProvider.java b/src/com/android/settings/enterprise/EnterprisePrivacyFeatureProvider.java index e2fb0a3bc3..efc02d624c 100644 --- a/src/com/android/settings/enterprise/EnterprisePrivacyFeatureProvider.java +++ b/src/com/android/settings/enterprise/EnterprisePrivacyFeatureProvider.java @@ -16,6 +16,30 @@ package com.android.settings.enterprise; +import java.util.Date; + public interface EnterprisePrivacyFeatureProvider { + + /** + * Returns whether the device is managed by a Device Owner app. + */ boolean hasDeviceOwner(); + + /** + * Returns the time at which the Device Owner last retrieved security logs, or {@code null} if + * logs were never retrieved by the Device Owner on this device. + */ + Date getLastSecurityLogRetrievalTime(); + + /** + * Returns the time at which the Device Owner last requested a bug report, or {@code null} if no + * bug report was ever requested by the Device Owner on this device. + */ + Date getLastBugReportRequestTime(); + + /** + * Returns the time at which the Device Owner last retrieved network logs, or {@code null} if + * logs were never retrieved by the Device Owner on this device. + */ + Date getLastNetworkLogRetrievalTime(); } |