commit | 5a924f3b5c206d079e8e89ab68bc930213090c14 | [log] [tgz] |
---|---|---|
author | Gary Mai <garymai@google.com> | Wed Jan 18 14:32:59 2017 -0800 |
committer | Gary Mai <garymai@google.com> | Wed Jan 18 22:41:50 2017 +0000 |
tree | 97ddcba4cf0a552e2ea042d241457d4aab447d67 | |
parent | 191ce8dd1e57c11e64d5589a3edf00d0b713b46b [diff] |
Fix NPE after removing permissions Move the ContactFilterController instantiation to before the permission activity is launched. It used to be in ContactDrawerActivity and was called during super.onCreate(). Test: Removed Contacts permission and opened the app verified: * Denying the permission closes and toasts that a required permission was denied * Allowing the permission opens the contacts list Bug: 34343130 Change-Id: I70447126ae39dfac6d6ea700cf620d750f8cb9ee