OSDN Git Service

Use ApplicationInfo only when not in edit mode [DO NOT MERGE]
authorDeepanshu Gupta <deepanshu@google.com>
Sat, 26 Apr 2014 03:47:16 +0000 (20:47 -0700)
committerDeepanshu Gupta <deepanshu@google.com>
Sun, 4 May 2014 20:31:10 +0000 (13:31 -0700)
commit90ce58ecfdf7231611d70c849f14e5e71d1c8220
treed6d70b90d219ac0c617d09f449ec51be9c05cdca
parent099f40a950a14b66005b17657d967ef080569a15
Use ApplicationInfo only when not in edit mode [DO NOT MERGE]

When running in edit mode, do not use the application info to get the
icon, since it will be null.

Change-Id: I174e6126ddca341d06c5f04939470ef52f0e771c
(cherry picked from commit 465cb53ba4b4a5edff9e9a63eb97d396b94d6568)
core/java/com/android/internal/widget/ActionBarView.java