f140be6c3c21dd0f6d2214929e89d60de31d2c04 |
|
04-May-2010 |
Joe Onorato <joeo@android.com> |
Call into app widget hosts when the provider is updated. Change-Id: If0a2459901e88cf04810b23178e4673d44fa69cc
/frameworks/base/core/java/android/appwidget/AppWidgetHostView.java
|
980a938c1c9a6a5791a8240e5a1e6638ab28dc77 |
|
09-Jan-2010 |
Romain Guy <romainguy@android.com> |
Deprecate fill_parent and introduce match_parent. Bug: #2361749.
/frameworks/base/core/java/android/appwidget/AppWidgetHostView.java
|
ae8dd29c035fffa6e302bd485d0552f97db39127 |
|
05-Nov-2009 |
Romain Guy <romainguy@android.com> |
Prevent crash in Home when using widgets whose ids collide with Home's resources. Bug #2228943. Approved by mcleron, triaged by ryanpc. Change-Id: Idf40f3b09502ae5d0d3b9a6a72c265a2de2ffca2
/frameworks/base/core/java/android/appwidget/AppWidgetHostView.java
|
a8a720d8cd208d7d265de28ab69f7e68eb10140a |
|
16-Oct-2009 |
Romain Guy <romainguy@android.com> |
Fix possible NPE in the code that restores widgets' state. Bug #2189714 Reviewed by: ryanpc Change-Id: I0d74deb6dc8e90e3b0eafd6b3c16b0c557c72873
/frameworks/base/core/java/android/appwidget/AppWidgetHostView.java
|
220dec2897d739ecb627e46b4cafbd664f4ff762 |
|
19-Aug-2009 |
Jeff Sharkey <jsharkey@android.com> |
Use remote Context when inflating initialLayout, add debug. To help track down http://b/2055197 this change adds back exception logging when inflating initialLayout. On a hunch, it also assigns the remote Context so generateLayoutParams() can inflate correctly.
/frameworks/base/core/java/android/appwidget/AppWidgetHostView.java
|
09ddc08b0d9c849e22f778666f383b7ceefbd9c8 |
|
11-Aug-2009 |
Romain Guy <romainguy@android.com> |
Fixes #2021442. Prevent app widgets from clobbering Home's view ids.
/frameworks/base/core/java/android/appwidget/AppWidgetHostView.java
|
b8560b66fd2bdf465a8c7fad983f2236778e8106 |
|
07-Aug-2009 |
Jeff Sharkey <jsharkey@android.com> |
Fix AppWidget layout inflation to resolve references. When RemoteViews inflates a layout and set of actions, it uses a cloned remote Context so it can fully access the resources needed to complete the inflate. However, in one specific case when inflating the root view, LayoutInflater calls back to the soon-to-be parent view to request the correct set of LayoutParams through generateLayoutParams(). The default implementation of generateLayoutParams() uses the Context of the /local/ View instead of the remote Context being used for the inflation, which means that any LayoutParam references in the root view are unresolved. To fix this, we internally create our own copy of the target remote Context. This way, when the remote LayoutInflater calls generateLayoutParams(), we inflate it using the remote Context to correctly resolve any references. This change is required as part of http://b/2038594
/frameworks/base/core/java/android/appwidget/AppWidgetHostView.java
|
870e09fcd2dfdc12ac318962efd28b0420c562bb |
|
07-Jul-2009 |
Romain Guy <romainguy@android.com> |
Fixes #1963229. Introduces Context#isRestricted(). A restricted Context is a special type of Context that prevents specific features from being used. For instance, android:onClick, used by View, can be dangerous when used from within apps widgets. By using a restricted Context to inflate apps widgets, widgets providers are prevented from using android:onClick.
/frameworks/base/core/java/android/appwidget/AppWidgetHostView.java
|
a54755962ca7725d1e2b6cacbbaece6f1cbf5af4 |
|
02-Jul-2009 |
Romain Guy <romainguy@android.com> |
Cleanup a bunch of warnings in app widgets code.
/frameworks/base/core/java/android/appwidget/AppWidgetHostView.java
|
c39a6e0c51e182338deb8b63d07933b585134929 |
|
11-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@137873
/frameworks/base/core/java/android/appwidget/AppWidgetHostView.java
|