Steven Ng fdeee141d9 Replace the no preview layout check with Resources.ID_NULL(0)
TODO: open up the RemoteViews(ApplicationInfo) API so that Launcher
      can inflate a layout from a work profile app.

Test: Before this CL, install tasks app in work profile. Observed
      crash when tapping Tasks header in the widgets picker.
      After this CL, no crash observed when tapping Tasks header in
      the widgets picker.

Bug: 181061277
Change-Id: I16c2b9aec5f4cabf15da35fea09f68c10797f5fa
2021-02-24 22:01:06 +00:00
2019-12-05 11:18:52 +00:00
2020-10-26 17:00:36 -07:00
2020-07-27 09:54:47 -07:00
2020-01-17 11:24:43 -08:00
S
Description
No description provided
697 MiB
0 Stars 1 Watchers 0 Forks
Languages
Java 55.6%
Kotlin 43.5%
JavaScript 0.3%
AIDL 0.2%
CSS 0.2%