From c1d527926e1c82828e42bdc0c7abf50f6decc0a7 Mon Sep 17 00:00:00 2001 From: Alan Viverette Date: Tue, 5 May 2015 09:49:03 -0700 Subject: Add API for obtaining changing configurations bitmask from Theme Required to know when to reload the system context's theme in response to configuration changes, and thus needed to support the DayNight theme. Bug: 20267825 Change-Id: I7df5e28b7a6d8b611ea030032544cf4800788514 --- api/current.txt | 1 + api/system-current.txt | 1 + 2 files changed, 2 insertions(+) (limited to 'api') diff --git a/api/current.txt b/api/current.txt index 2bbe2f1..f3737c1 100644 --- a/api/current.txt +++ b/api/current.txt @@ -9833,6 +9833,7 @@ package android.content.res { public final class Resources.Theme { method public void applyStyle(int, boolean); method public void dump(int, java.lang.String, java.lang.String); + method public int getChangingConfigurations(); method public android.graphics.drawable.Drawable getDrawable(int) throws android.content.res.Resources.NotFoundException; method public android.content.res.Resources getResources(); method public android.content.res.TypedArray obtainStyledAttributes(int[]); diff --git a/api/system-current.txt b/api/system-current.txt index 0cc763b..5a529b7c 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -10127,6 +10127,7 @@ package android.content.res { public final class Resources.Theme { method public void applyStyle(int, boolean); method public void dump(int, java.lang.String, java.lang.String); + method public int getChangingConfigurations(); method public android.graphics.drawable.Drawable getDrawable(int) throws android.content.res.Resources.NotFoundException; method public android.content.res.Resources getResources(); method public android.content.res.TypedArray obtainStyledAttributes(int[]); -- cgit v1.1