OSDN Git Service

Stop apps with Storage Managers from launching activity when disabled
authorMatthew Fritze <mfritze@google.com>
Tue, 2 Aug 2016 21:39:59 +0000 (14:39 -0700)
committerMatthew Fritze <mfritze@google.com>
Thu, 18 Aug 2016 20:01:54 +0000 (20:01 +0000)
commit8f17fcaa1dd85c816916ffbed3f66ad80c2bbf0a
tree12c73147ab46962557616150fb887ca02148d965
parenta8c0d42cebe95c1b2a2d2b4e2ad9b3f1b06e40f3
Stop apps with Storage Managers from launching activity when disabled

An app with a storage manager would be able to launch Manage Storage
from application settings, but when the app was disabled, the
activity would be null.

Test: In order to properly unit test this function, a large redesign is
needed in this class, and is outside the scope of this bug.

Change-Id: Ia6b78bc6761bac8b701c904a6e438bbd951b63e8
Fixes: 30457616
src/com/android/settings/applications/AppStorageSettings.java