Use context.getApplicationInfo()
am: 87738871b5

Change-Id: Ia0fe8f8b038b38cb58906727a4f79b8a32ec5298