commit | aedb646edc37a5b2feea1fe28894fe4b06d94c55 | [log] [tgz] |
---|---|---|
author | Amith Yamasani <yamasani@google.com> | Tue Oct 28 09:35:46 2014 -0700 |
committer | Amith Yamasani <yamasani@google.com> | Tue Oct 28 10:08:18 2014 -0700 |
tree | 2ea3bf9a9814b446781c7b929db6c14721512cc1 | |
parent | 83bdda7668a587fbf4913a1e55892991022b4456 [diff] |
Display correct message based on reason There can be two reasons for not allowing installation of apps from unknown sources. 1. The user setting is off, in which case allow the user to go to Settings and change it. 2. The device administrator (or corp profile) has prohibited. In this case, user can't really change it, so show a different message and have just an OK button. Bug: 17656403 Change-Id: I0d90ba95d7a9250021366b76d570c0ef7b55c143