commit | c3e4619af17c6c6afce98ce536a712243dacdcca | [log] [tgz] |
---|---|---|
author | Doris Ling <dling@google.com> | Mon Apr 30 17:38:29 2018 -0700 |
committer | Doris Ling <dling@google.com> | Mon Apr 30 17:38:29 2018 -0700 |
tree | 4bf42ae3d54f5fdef1ccf4e117c32161d7e39a31 | |
parent | 0929651a77172d8ac272eed77ab7ba62a0673eac [diff] |
Fix crash in ExternalSourceDetailPreferenceController. - Add null check for the package info when trying to retrieve the install app state. During package update, the package info might becomes null. The App info activity will finish in that case, but this method might be called before the activity actually finishes. Change-Id: I18ff448666dfb403bb6693fccd3e54276db36f37 Fixes: 78257414 Test: make RunSettingsRoboTests