OSDN Git Service

Don't allow user creation intent to work on non-admin users
authorAmith Yamasani <yamasani@google.com>
Wed, 20 Jan 2016 22:36:03 +0000 (14:36 -0800)
committerAmith Yamasani <yamasani@google.com>
Wed, 20 Jan 2016 22:36:03 +0000 (14:36 -0800)
commit96a25b801a7107498d7f9d58e51406d854ee8152
treefaa6c7edb5fe01908879da4ea414c85d82611e58
parent026869ee30b6eea5febc82a56549a8debf1f0b97
Don't allow user creation intent to work on non-admin users

Only allow admin users to create users using an intent.

Bug: 26692650
Change-Id: Iadcc9843baa6996dcc6e662604dfcc8238e7f35b
core/java/com/android/internal/app/ConfirmUserCreationActivity.java