base: remove extra checks

p and p.applicationInfo are always != null (they are checked previously), so below checks
are unnecessaries

Change-Id: I155506512fe8b307f12408bbf3066c07a3504506
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
inputdevices: update from aosp (master)

Change-Id: If5fb11c354ea0144cdae1434de4c536302dda5b3
Merge "inputdevices: update from aosp (master)" into cm-11.0
Merge "base: remove extra checks" into cm-11.0
Merge remote branch 'cm/cm-11.0' into cm-11.0