Handle the case when getApplicationRestrictions() returns null

Bug 20085185

Change-Id: If7f0cd2f261e062b5ab0457b86eccaf8a0ee1215
1 file changed