diff options
| author | Dianne Hackborn <hackbod@google.com> | 2011-01-08 17:25:57 -0800 |
|---|---|---|
| committer | Dianne Hackborn <hackbod@google.com> | 2011-01-08 18:25:30 -0800 |
| commit | 247fe74c934cb3fba85aae7e051a8044f460fb11 (patch) | |
| tree | 91123356af7f3b66c19c974b885eb5d3a94707b5 /core/java/android/content/ContextWrapper.java | |
| parent | f600780bea864c672e01a391b65da65d85045803 (diff) | |
Implement issue # 3255887 could CursorLoader offer...
...to throttle contentobserver-based requeries
Why yes, I guess it could.
This also reworks AsyncTaskLoader to not generate multiple
concurrent tasks if it is getting change notifications before
the last background task is complete.
And removes some of the old APIs that had been deprecated but
need to be gone for final release.
And fixes a few little problems with applying the wrong theme
in system code.
Change-Id: Ic7a665b666d0fb9d348e5f23595532191065884f
Diffstat (limited to 'core/java/android/content/ContextWrapper.java')
| -rw-r--r-- | core/java/android/content/ContextWrapper.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/java/android/content/ContextWrapper.java b/core/java/android/content/ContextWrapper.java index f8928e428c6b..545144ee1eee 100644 --- a/core/java/android/content/ContextWrapper.java +++ b/core/java/android/content/ContextWrapper.java @@ -106,6 +106,12 @@ public class ContextWrapper extends Context { mBase.setTheme(resid); } + /** @hide */ + @Override + public int getThemeResId() { + return mBase.getThemeResId(); + } + @Override public Resources.Theme getTheme() { return mBase.getTheme(); |
