Files
packages_apps_Settings/src/com/android/settings
jackqdyulei 8164c64edc Add NPE check for method assignDefaultPhoto in Utils.java
When user press back button while adding user, app may crash because
of null context. In this cl, I add NPE check for context in method
assignDefaultPhoto and change this method to return boolean value.
If the return value is false, then stop the following steps(e.g.
creating a dialog after pressing button may also cause crash.)

Bug: 33829308
Test: make -j40 RunSettingsRoboTests
Change-Id: I811b92c268fb20f8c43ab3b0a9ceebe76f5d83be
2016-12-28 11:30:54 -08:00
..
2016-12-21 11:20:24 -08:00
2016-12-21 11:20:24 -08:00
2016-04-24 10:55:41 -04:00
2016-12-21 10:52:59 -08:00
2016-12-16 15:34:59 -08:00
2015-10-13 10:12:20 -04:00
2016-04-04 13:20:59 -04:00
2016-03-30 11:41:45 -04:00
2016-12-14 22:41:58 +00:00
2016-11-17 16:30:05 -08:00