History log of /packages/apps/Settings/src/com/android/settings/applications/ExternalSourcesDetails.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7e59ec499c633162297344ef2d318ca80fb09f28 01-Jun-2017 Suprabh Shukla <suprabh@google.com> Always returning the updated preference summary

AppEntry is not being updated when opening nested app info activities,
which led to stale preference summary being returned for external
sources details.

Test: Manually checked the preference summary is correctly reflecting
the state of the switch.
Existing test ExternalSourcesSettingsTest passes.

Bug: 37487637
Change-Id: Id3c665c7cc7231023f4110725b3b15e43284de97
/packages/apps/Settings/src/com/android/settings/applications/ExternalSourcesDetails.java
9834bd82da89cd777aaa5005760f90b95f0b292d 15-May-2017 Fan Zhang <zhfan@google.com> Update strings in special app access and dev options

- Change all yes/no or on/off strings in special app access to
Allowed/Not allowed
- Remove some dead code in related files
- Add a toast string in DevelopmentSettingsDisabledActivity to prompt
user enable dev options before use.
- Add search in SpecialAccessSettings

Change-Id: I8b2535e037a86e76bdbcd3fb6e1cf2e0347bedbf
Fix: 38290299
Fix: 37469224
Test: make RunSettingsRoboTests
/packages/apps/Settings/src/com/android/settings/applications/ExternalSourcesDetails.java
cb9164ad480e156564cf5588c4fbaa3d9a85db7f 13-Mar-2017 Suprabh Shukla <suprabh@google.com> Disabling switch preference when unknown sources are blocked

When the user restriction DISALLOW_INSTALL_UNKNOWN_SOURCES is set,
changing the preferences in settings is meaningless as package installer
will not let the install proceed. Disabling the settings switch and
updated the summaries to reflect when a switch is disabled. Removing
robolectric test as the logic is no longer testable due to missing stubs
for UserManager and UserHandle.

Test: CtsVerifier -> Device Owner Tests -> Policy Transparency Test

Bug: 34688413
Change-Id: I7cf6cc09a5d29721186a0df9405d3c7e486295ee
/packages/apps/Settings/src/com/android/settings/applications/ExternalSourcesDetails.java
f59d2115edc5466ab95bf6c2b81d3b0f67939523 07-Mar-2017 Suprabh Shukla <suprabh@google.com> 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
/packages/apps/Settings/src/com/android/settings/applications/ExternalSourcesDetails.java
86d52db588c598cd8277182db56e8eafc4cfdae1 01-Mar-2017 Suprabh Shukla <suprabh@google.com> Adding "Install Other Apps" in App Info page

Added a preference link to manage external sources in the app info
screen just like other special access permissions.

Test: Manually checked that the link appears on apps once their app op
is set to allow or deny.
Also, added some basic robolectric unit tests:
make -j32 RunSettingsRoboTests

Bug: 35481942
Change-Id: If687778b7a64fb7d278508b78d06272253a98e3e
/packages/apps/Settings/src/com/android/settings/applications/ExternalSourcesDetails.java
57d92315a48bccfd0f84e28a36e6f725e3d6cf96 16-Dec-2016 Suprabh Shukla <suprabh@google.com> Adding Manage External Sources Settings

Added a settings fragment to manage external sources. It lists all
applications that have either requested REQUEST_INSTALL_PACKAGES or have
their app op changed from default.

Test: Will include in follow-up CL. Tracked in b/33792674

Bug: 31002700
Change-Id: Ibd2a1922be214b62aec4eefa45f7b9691256b205
/packages/apps/Settings/src/com/android/settings/applications/ExternalSourcesDetails.java