After you install the system update for 7.1.1 on your google pixel, you'll see that the calendar icon isn't showing anymore, AGAIN.
The method ContextCompat.getDrawable(Context, int) was throwing a Resources.NotFoundException.
This PR fixes the issue by using PackageManager.getApplicationIcon(String) instead of ContextCompat.getDrawable(Context, int)
After you install the system update for 7.1.1 on your google pixel, you'll see that the calendar icon isn't showing anymore, AGAIN. The method
ContextCompat.getDrawable(Context, int)
was throwing aResources.NotFoundException
. This PR fixes the issue by usingPackageManager.getApplicationIcon(String)
instead ofContextCompat.getDrawable(Context, int)