History log of /frameworks/support/v7/appcompat/src/android/support/v7/app/AppCompatDialog.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8c3845ebb7e8198950510cd7a08bc8e66e2195fe 22-Feb-2016 Chris Banes <chrisbanes@google.com> Fix fragments to android.R.id.content not be removable

Caused by the way that AppCompat switches the content
view for its own. It transplants any views already
added to the window content view into its own, which
works. Fragment though keeps a reference to its
container view though, which is then incorrect.

Fixed by making sure that any call to findViewById()
installs AppCompat's sub-decor. Ensuring that any
fragments added to a container via an ID, already
have the sub-decor installed.

BUG: 27286333
Change-Id: Ia1bfc4f69620b4dbbe5e4625b268f1a2d7789e3a
/frameworks/support/v7/appcompat/src/android/support/v7/app/AppCompatDialog.java
8059a04bd0a2bee1e6fbfe934d9d1621c676d504 07-Dec-2015 Chris Banes <chrisbanes@google.com> Re-add DayNight functionality to AppCompat

There are now a number of themes with the prefix
Theme.AppCompat.DayNight which support automatic
light/dark switching based on the time.

There are now two main APIs to enable these themes
to work. AppCompatDelegate.setDefaultNightMode() allows
setting of the night mode globally within an app.
setLocalNightMode() allows overriding of the default
for the specfic host component instance.

Change-Id: If0349165fc9163deb2bab974ea63939edc00c6dd
/frameworks/support/v7/appcompat/src/android/support/v7/app/AppCompatDialog.java
43ea995451d8f6d933d996a0904e66115bfccf45 16-Jul-2015 Chris Banes <chrisbanes@google.com> Remove DayNight functionality DO NOT MERGE

BUG: 22488087

Change-Id: I69298e07b8aae124a4982d30c070ea042c6e3568
/frameworks/support/v7/appcompat/src/android/support/v7/app/AppCompatDialog.java
15ad53853d367f5d593bb019d88fb613878fd8fc 14-May-2015 Chris Banes <chrisbanes@google.com> Theme.AppCompat.DayNight working back to API v14

This CL enables the use of -night and -notnight resource
qualifiers, and thus allowing Theme.AppCompat.DayNight
to work on those API levels.

TwilightCalculator and TwilightManager are simplified versions
of those internally in the framework. Since we don't want to
force the use of location permissions, we have a fallback of
hardcoded 'night' time.

BUG: 21119724

Change-Id: I48ff5f0ea0c02ba60d3c2979aa9fa2997080de37
/frameworks/support/v7/appcompat/src/android/support/v7/app/AppCompatDialog.java
547a80d347e0dc9751bbe3cf91f947477145bdba 13-Apr-2015 Chris Banes <chrisbanes@google.com> Action Mode fixes

- Added a switch to disable native CAB handling
- They now use the correct theme
- Using a better way to intercept framework CABs
- We now only intercept on v14+.

BUG: 20171499
BUG: 20022929
BUG: 20208108

Depends on Iacffdf908b98739770f13665732d7755b14b9a25

Change-Id: Ia64beb77ba0a08186e4cdea4544cd9880bf4a4d9
/frameworks/support/v7/appcompat/src/android/support/v7/app/AppCompatDialog.java
16e8d4dd91083260223c007c797e46bc8f631055 23-Dec-2014 Chris Banes <chrisbanes@google.com> Material Dialog themes

Lots of changes needed for this, building upon the
refactoring CL. AppCompatDelegate can now handle Dialogs
as well as Activitys (which was easy after the refactor).

This was needed so that we can install a custom decor
for Dialogs.

Also added borderless button styles as they were
needed for Dialogs.

Change-Id: I88a7e4de5de85477982e401c832aeae732f81647
/frameworks/support/v7/appcompat/src/android/support/v7/app/AppCompatDialog.java