diff options
author | Elijah Taylor <elijahtaylor@google.com> | 2016-07-11 14:28:06 -0700 |
---|---|---|
committer | Luis Hector Chavez <lhchavez@google.com> | 2017-06-23 09:54:09 -0700 |
commit | 6022aa57d3152c134b3de14c163379cd486dc58e (patch) | |
tree | 9ea777b7bcf5924f4fe2d1749d26c96ee7904fef /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 360eea897fe2085f75ccd2f5d57b351abbbddcef (diff) |
Fix crashes in AppWidgetHost when app_widgets is not supported
Even though an app is supposed to declare android.software.app_widgets
when relying on the widgets API, some apps still use this API without
declaring the feature. Previously AppWidgetHost relied on having an
AppWidgetService available, without checking for feature development
before dereferencing the service.
This stubs out the AppWidgetHost interface when the app_widgets feature
is not available.
Bug: 28847209
Test: run nova launcher, observe no crash
Change-Id: Idaf46de990fffa6c6a03562f8e097c0a6a320c8a
(cherry picked from commit 0536802defc7df6edb22e076b1147d0d919da0f8)
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions