778ce66697b61aa43bf4078c10c097b2fb2384f8 |
|
20-Apr-2018 |
Makoto Onuki <omakoto@google.com> |
DO NOT MERGE Make "Want to start battery saver?" dialog better. - Don't line-break in "Battery" (only in English) - Add "Learn more" link. Bug: 78261259 Test: Manual test with: - adb shell dumpsys battery unplug - adb shell settings delete secure low_power_warning_acknowledged - Enable battery saver - Make sure the link is clickable if a link is set. - Make sure there's no "learn more" link if the link is not set in strings.xml Change-Id: I83364f628dd596a4d50bf2aca4db7cbfe7cf4909
/frameworks/base/core/java/android/app/AlertDialog.java
|
9553fb3240f6d2e52012f94fb59271348a07b94d |
|
24-May-2017 |
Adam Lesinski <adamlesinski@google.com> |
Add ResourceId validation helper method An invalid, 'null' resource ID is defined as 0. Apps often use -1. Add a helper method that makes checking valid IDs easy and more centralized. Eventually make it public API. Bug: 38393777 Test: manual Change-Id: I969ec4a45e86bdab3d7f57d357d475b77c7f8a78
/frameworks/base/core/java/android/app/AlertDialog.java
|
360182156a8e188534620de1e804993a6458470d |
|
28-Apr-2017 |
Adam Lesinski <adamlesinski@google.com> |
Valid resource IDs may be negative Package IDs greater than 0x7f are interpreted as negative numbers in Java's signed integer. The proper check for existence of a resource ID is that it is not 0. Bug: 37498913 Test: none Change-Id: I446fb6abb514bf7cf2d0dcbfbd81dd5718cd2cb4
/frameworks/base/core/java/android/app/AlertDialog.java
|
51efddbd3bb304de2dd47fa8cd1114ac555958bb |
|
05-Apr-2017 |
Alan Viverette <alanv@google.com> |
Remove unnecessary casts on calls to findViewById Just frameworks/ this time. More paths to come. Bug: 24137209 Test: make -j32 Change-Id: Iff27abd26fa43296ac2fff8f534fc6742d2ae80c
/frameworks/base/core/java/android/app/AlertDialog.java
|
cc6e6f0e0a556bc1dd80faa7155138c9cdaac7fc |
|
16-May-2016 |
Michael Kwan <mkwan@google.com> |
Modified AlertController to allow themes to specify custom implementation. Bug: 17733928 Change-Id: I0264ee8ceee09dbc33da61365c424c74d2e3c3d6
/frameworks/base/core/java/android/app/AlertDialog.java
|
93d9e26ffbbb6780dd2473cc395ae0a3481b4fd4 |
|
11-Aug-2015 |
Alan Viverette <alanv@google.com> |
Don't re-wrap alert dialog context Bug: 23038618 Change-Id: Iafe3a45096153d9fe656ad930cc3978d8fab1968
/frameworks/base/core/java/android/app/AlertDialog.java
|
682a433d0b8ff3e4e0ffc8d2cfedc8907ab1e83b |
|
10-Apr-2015 |
Alan Viverette <alanv@google.com> |
Fix application of default dialog theme Cleans up lint annotations. Bug: 20149703 Change-Id: I2ed4eb002b6679a55ea4d5fcc1ea958a4dcb08df
/frameworks/base/core/java/android/app/AlertDialog.java
|
5696f045901a63769bf7c293a379e7a5ee06449b |
|
08-Apr-2015 |
Alan Viverette <alanv@google.com> |
Avoid double-apply of dialog theme Some cleanup of comments and code. Bug: 19924382 Change-Id: I7b1a339259cbaa66fea2ffec38d7dde2b1a9612e
/frameworks/base/core/java/android/app/AlertDialog.java
|
49f118ef08e69cb6aaa6a7bcab8a784ae1e26a20 |
|
24-Feb-2015 |
Alan Viverette <alanv@google.com> |
Clean up AlertDialog javadocs, add overlay theme for dialogs Also cleans up CheckedTextView javadocs. Bug: 19482450 Change-Id: I47559533784b19267e9381af10c456ce0d20d329
/frameworks/base/core/java/android/app/AlertDialog.java
|
7b9c912f536925ac6ec43935d6e97506851b33d6 |
|
31-May-2013 |
Tor Norbye <tnorbye@google.com> |
Add @ResourceInt annotations on APIs Change-Id: I119cc059c2f8bd98fd585fc84ac2b1b7d5892a08
/frameworks/base/core/java/android/app/AlertDialog.java
|
5c2d8f7d51d5a944459ddc61034854c6cef7a639 |
|
05-Jan-2015 |
Alan Viverette <alanv@google.com> |
Don't override dialog icon drawable unless valid resource ID was set Fixes a regression where Builder.setIcon(Drawable) would get overridden even when Builder.setIcon(int) had never been called and was still 0. Fixes attribute id to respect all valid resource IDs (e.g. non-zero). Updates documentation to reflect the long-standing override behavior. BUG: 18904762 Change-Id: I905703993a59910555d5a858e0aaecab63221a02
/frameworks/base/core/java/android/app/AlertDialog.java
|
4c0cb8a526eec87fdba6dc371e21abfa4e993ea0 |
|
04-Apr-2014 |
Craig Stout <cstout@google.com> |
AlertDialog and AppError themes for TV. Leanback themes override AlertDialog styles from other themes. Makes system alert dialogs, and alert dialogs from games running on ATV, have a style more appropriate to television. Final visuals pending. Side button layout fixes DatePickerDialog and TimePickerDialog with dpad navigation. TODO: consider using side button layout for other AlertDialog cases (long messages and lists). Change-Id: I74e4e04d16d6854377580be95a87684a0385b04b
/frameworks/base/core/java/android/app/AlertDialog.java
|
f34ef74eb2b72dd945e6903a748932c1f90f3daa |
|
12-Dec-2013 |
Alan Viverette <alanv@google.com> |
Replace auto-create in findViewById() with explicit create() API Change-Id: Ib833cc23f4ae39b5d729db3d425faa7dfd5b3c4c
/frameworks/base/core/java/android/app/AlertDialog.java
|
a1e63319428c5713e89f67a7297feeec34c51a8d |
|
10-Dec-2013 |
Alan Viverette <alanv@google.com> |
Allow calls to AlertDialog.getButton() before dialog is shown Change-Id: If0737ff53f3e500c2a946a18a753e279882965a2
/frameworks/base/core/java/android/app/AlertDialog.java
|
ec186706df72fbb62bfe813d83cff9167dd95cb4 |
|
05-Dec-2013 |
Alan Viverette <alanv@google.com> |
Allow alert dialogs to inflate custom view layouts Adds APIs to set a layout resource ID as an AlertDialog's custom view. To make this useful for developers, also ensures that Dialog content is set up when calls are made to Dialog.findViewById() before show(). BUG: 11136748 Change-Id: I29747a28d7e30f4e31fe474424109ff29e1eaa98
/frameworks/base/core/java/android/app/AlertDialog.java
|
6090995951c6e2e4dcf38102f01793f8a94166e1 |
|
19-Nov-2013 |
John Spurlock <jspurlock@google.com> |
Remove unused imports from frameworks/base. Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
/frameworks/base/core/java/android/app/AlertDialog.java
|
7ed189e457b16c06b0425bd28aeeb1df5c8ff5b8 |
|
12-Jan-2013 |
Scott Kennedy <skennedy@google.com> |
docs: Fix a bunch of issues External tracker 42609 External tracker 42607 External tracker 42604 External tracker 42600 External tracker 42574 External tracker 42450 External tracker 41050 External tracker 40995 External tracker 40970 External tracker 40935 External tracker 40507 External tracker 40481 External tracker 40435 External tracker 40406 External tracker 40297 External tracker 40281 External tracker 39978 External tracker 39929 External tracker 39803 External tracker 39715 External tracker 39441 Change-Id: If4215cef850ba8e4e8df356a68192566806e7914
/frameworks/base/core/java/android/app/AlertDialog.java
|
a492c3a7b2c18426fd0cb4d017eacbc368195dc5 |
|
24-Aug-2012 |
Jeff Brown <jeffbrown@google.com> |
Initial draft of high-level multi-display APIs. This patch introduces the ability to create a Context that is bound to a Display. The context gets its configuration and metrics from that display and is able to provide a WindowManager that is bound to the display. To make it easier to use, we also add a new kind of Dialog called a Presentation. Presentation takes care of setting up the context as needed and watches for significant changes in the display configuration. If the display is removed, then the presentation simply dismisses itself. Change-Id: Idc54b4ec84b1ff91505cfb78910cf8cd09696d7d
/frameworks/base/core/java/android/app/AlertDialog.java
|
7f02dc5c9c48a01bec459b71ac73a6ad37b9e12c |
|
27-Aug-2012 |
Adam Powell <adamp@google.com> |
Add setOnDismissListener to AlertDialog.Builder Add documentation to setOnCancelListener to clarify that the cancel event plus the events for the various choice buttons are not the exhaustive set of ways the dialog can be dismissed, and that a dismiss listener should be used if the app needs to cover all cases of dismissal. Change-Id: I9e9d6f90f6f9ccaeb2c697474ab353e2d78f37b9
/frameworks/base/core/java/android/app/AlertDialog.java
|
558459fe85f56f29a6ed6a4d0adb4a0bd6665884 |
|
14-Oct-2011 |
Joe Fernandez <joefernandez@google.com> |
docs: add developer guide cross-references, Project ACRE, Round 2 Change-Id: I39a534ae3a2a34b4dabc333a09961012ef911d3e
/frameworks/base/core/java/android/app/AlertDialog.java
|
6e90a362bc66cc67b1beae27b21d3f0148403b08 |
|
15-Aug-2011 |
Adam Powell <adamp@google.com> |
Fix bug 5159736 - Make DeviceDefault the default Have the framework refer to the DeviceDefault themes for ICS apps that don't explicitly request another theme. Change-Id: I27dd0bbaa60f71df4f36e47d260f556d923ba075
/frameworks/base/core/java/android/app/AlertDialog.java
|
fbca76965b96b31a8974e461ee1929867ef3327b |
|
23-Jun-2011 |
Adam Powell <adamp@google.com> |
Fix bug 4887033 - android.app.cts.AlertDialog_BuilderTest#testDisableCancelable Change-Id: I659201124c4c6730046be55a918c64ca57a9f4db
/frameworks/base/core/java/android/app/AlertDialog.java
|
a93347a62ec9887862abb9d6f216906c533a8562 |
|
14-Jun-2011 |
Adam Powell <adamp@google.com> |
Dialog-o-rama! New styling for Holo dialogs. Now 76% easier for apps to create dialog-based layouts! (Less tricky padding and margin rules) Cancelable AlertDialogs now are canceled when the user touches outside. Dialogs in landscape mode will try not to fill the width of the screen. Change-Id: I621b5a19780883ee703a8492510451b480a0b8cc
/frameworks/base/core/java/android/app/AlertDialog.java
|
e79b55482eb3f26d6d5b56dce40682dd68826f8c |
|
28-Jan-2011 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #3398767: Need translucent holo theme Change-Id: I2ce87798ff58315cb96968ab06e5a52da9f35ef8
/frameworks/base/core/java/android/app/AlertDialog.java
|
cfaf8878de83b6bb7a24aee3c240259f428e6e4a |
|
18-Jan-2011 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #3362484: Can't dismiss activity picker by tapping outside dialog Change-Id: Idc2fe5a86c61e8f94fe9d902a0087a05f6f7918e
/frameworks/base/core/java/android/app/AlertDialog.java
|
947f7824118f0e9b642df8760a8725a7eda59318 |
|
08-Jan-2011 |
Adam Powell <adamp@google.com> |
Fix bug 3245465 - Themed dialog icons Added light/dark versions of holo dialog icons. Apps using AlertDialogs that wish to use the system dialog icon should use setIconAttribute(android.R.attr.alertDialogIcon) instead of setIcon(android.R.drawable.ic_alert_dialog). Change-Id: I40793a3164478be5ffa045ededfcab8210753a4b
/frameworks/base/core/java/android/app/AlertDialog.java
|
70588bf864f961974c93aace7586d3e2773a54a8 |
|
05-Jan-2011 |
Brad Fitzpatrick <bradfitz@android.com> |
resolved conflicts for merge of 3a2c6bf0 to master Change-Id: I1963d8fc391bb84de1054f2b20ce4e082d764cbe
|
3a2c6bf0fcae9421cccf113ff972df7aaeb6d3e9 |
|
05-Jan-2011 |
Brad Fitzpatrick <bradfitz@android.com> |
am 69ea4e15: Documentation fixes found over vacation hacking. * commit '69ea4e15e52c456537575d21443ac1efdb03a902': Documentation fixes found over vacation hacking.
|
69ea4e15e52c456537575d21443ac1efdb03a902 |
|
05-Jan-2011 |
Brad Fitzpatrick <bradfitz@android.com> |
Documentation fixes found over vacation hacking. Change-Id: I28900026465d66d950cf4f05f0c202b46c3c2d43
/frameworks/base/core/java/android/app/AlertDialog.java
|
bf80562d22b2bbe7944d80d0524c69d0238010cb |
|
18-Dec-2010 |
Svetoslav Ganov <svetoslavganov@google.com> |
Bug 3191746. atePicker TimePicker: Dark theme is used in a Light theme app Change-Id: I20d0cca3b78af9db80854a57c88d6cab3b00f555
/frameworks/base/core/java/android/app/AlertDialog.java
|
114405e0eaf82b1f22e6989d939d5509ff1b7927 |
|
15-Dec-2010 |
Dianne Hackborn <hackbod@google.com> |
Fix Dialog generating multiple onCancel(). Issue #3169193: com.google.android.youtube: java.lang.NullPointerException at com.google.android.youtube.async.UserAuthorizer$3.onCancel(UserAuthorizer.java:324) A little protection against calling onCancel() after a dialog has been dismissed. Change-Id: I7a64c94703da012ce303308563e4a8ed3cb125d3
/frameworks/base/core/java/android/app/AlertDialog.java
|
fc94ddef2f8f56beebd848a73f434673d56631cb |
|
19-Oct-2010 |
Adam Powell <adamp@google.com> |
New dialog assets. Cancelable AlertDialogs may now be canceled by tapping outside. Change-Id: I061f09bd79a5f2b627fb0f01aba36f37449b849d
/frameworks/base/core/java/android/app/AlertDialog.java
|
89edde3efad66063ff6108475976352c0c4e5fdb |
|
14-Oct-2010 |
Adam Powell <adamp@google.com> |
Holo styling and metrics; holo spinners Change-Id: Ib6d80e5e1a79b7a4ff208df8dbc097e7b9228d13
/frameworks/base/core/java/android/app/AlertDialog.java
|
ccb013ffac696df1cd1bfc528264e583d01c9ab5 |
|
13-Oct-2010 |
Adam Powell <adamp@google.com> |
Holo fixes and refinements * Fix Holo.Light dialog text color for system-created dialogs * Use the correct text anchor assets for selection mode * Temp fix for small holo light button metrics Change-Id: I974528418b69354961ea43abf8249c8caada8e17
/frameworks/base/core/java/android/app/AlertDialog.java
|
2fbf4de64f0ec5052201cea9519c44d5b1789a40 |
|
01-Oct-2010 |
Adam Powell <adamp@google.com> |
Holo theme progress and assets! * Light and dark dialogs * Checkboxes and radio buttons * Toggle buttons Warning! This is still a work in progress. This does not include final metrics. Some assets (specifically dialogs) are currently misaligned.
/frameworks/base/core/java/android/app/AlertDialog.java
|
c49c17314d4b7f36e50a5b01edd6d4b13b940366 |
|
29-Sep-2010 |
Adam Powell <adamp@google.com> |
Added AlertDialog.Builder#getContext Change-Id: Ic3033a4eff67f507aa39dacfc4c8984a9ee142c1
/frameworks/base/core/java/android/app/AlertDialog.java
|
c63806d852a550d82bbe6cadff8a2139d78ed559 |
|
24-Sep-2010 |
Adam Powell <adamp@google.com> |
Holo themes and assets in progress Change-Id: Ic10480dc1c771d0ccd10f1d4014c945480fd6c0d
/frameworks/base/core/java/android/app/AlertDialog.java
|
766d1b7458e5dae1cca36b01cf13e4d16536a091 |
|
18-Jun-2010 |
The Android Open Source Project <initial-contribution@android.com> |
merge from open-source master Change-Id: I05e4c26c902f3cfe0dd99107f518768b246562f7
|
e429c5ec9d52a5e9af9133f5de9f1002f04aede1 |
|
15-Jun-2010 |
Martin Nordholts <martin.nordholts@sonyericsson.com> |
Support custom themes with AlertDialog.Builder Add a constructor to AlertDialog.Builder with a 'theme' parameter so that e.g. the buttons in a dialog built with AlertDialog.Builder can be themed. Change-Id: Ie1b1c9706ad2146c8b64dd91fe249c6855c6ac65
/frameworks/base/core/java/android/app/AlertDialog.java
|
c9006872800fceb1a5fef5e8f0470eb79953e79a |
|
18-Mar-2010 |
Adam Powell <adamp@google.com> |
Fix bug 2523989 AlertDialog's docs now refer to the id android.R.id.custom, the correct method addView, and android.R.id.custom has been exported as a public id. Change-Id: Ide43a03b702f0b36326130909f9a864872ec93fb
/frameworks/base/core/java/android/app/AlertDialog.java
|
980a938c1c9a6a5791a8240e5a1e6638ab28dc77 |
|
09-Jan-2010 |
Romain Guy <romainguy@android.com> |
Deprecate fill_parent and introduce match_parent. Bug: #2361749.
/frameworks/base/core/java/android/app/AlertDialog.java
|
935ae463d495d41155e27feb849768ad2b8b16db |
|
14-Apr-2009 |
Dianne Hackborn <> |
AI 145994: Integrate #145778 from Donut. Automated import of CL 145994
/frameworks/base/core/java/android/app/AlertDialog.java
|
9c802c1e95befbd8de30ea4ebc48ae05cb948b2b |
|
25-Mar-2009 |
Romain Guy <> |
Automated import from //branches/master/...@142575,142575
/frameworks/base/core/java/android/app/AlertDialog.java
|
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/app/AlertDialog.java
|
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/app/AlertDialog.java
|
9266c558bf1d21ff647525ff99f7dadbca417309 |
|
16-Jan-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@126645
/frameworks/base/core/java/android/app/AlertDialog.java
|
f013e1afd1e68af5e3b868c26a653bbfb39538f8 |
|
18-Dec-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Code drop from //branches/cupcake/...@124589
/frameworks/base/core/java/android/app/AlertDialog.java
|
54b6cfa9a9e5b861a9930af873580d6dc20f773c |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/frameworks/base/core/java/android/app/AlertDialog.java
|