summaryrefslogtreecommitdiff
path: root/core/java/android/preference/GenericInflater.java
Commit message (Collapse)AuthorAgeFilesLines
* Deprecates framework Preference classesLouis Pullen-Freilich2018-11-191-7/+14
| | | | | | | | | The AndroidX Preference Library is the recommended way to build settings screens moving forward. Bug: b/114357488 Test: n/a Change-Id: I3b3bff2daf43d8239d8bf247a9c2acebbc6374eb
* Always force constructors accessible during inflationAlan Viverette2015-05-041-0/+1
| | | | | | | | | | | | | | We now correctly throw an IllegalAccessException for non-public accesses, but we were relying on the old incorrect behavior during inflation. This CL forces constructors to be accessible so that we emulate the old behavior and don't crash. Where we were already doing this, the CL moves the setAccessible() call immediately after the getConstructor() call, since there's no point in calling it multiple times. Bug: 20810495 Change-Id: I63dfcb857e445f688080eea05e86ef22760ed49f
* Remove unused imports in frameworks/base.John Spurlock2015-02-281-1/+0
| | | | Change-Id: I031443de83f93eb57a98863001826671b18f3b17
* Add @ResourceInt annotations on APIsTor Norbye2015-02-181-2/+4
| | | | Change-Id: I119cc059c2f8bd98fd585fc84ac2b1b7d5892a08
* Tabs -> spaces in frameworks/base.John Spurlock2014-02-251-1/+1
| | | | Change-Id: I5a84e8e93ac99b5ed0212b37bf66efa5e53864be
* Revert "Merge "Raw types warnings removed.""Gilles Debunne2010-05-031-36/+29
| | | | | | | This reverts commit 9794ca60d745757d882d456e653a2dfe41cbb6ff, reversing changes made to d3f9051c85ffdf50d800b914c8a2def73ffa5bf3. Change-Id: I39cebc7e92d3604941d66b09bd7b899d06f703fb
* Raw types warnings removed.Gilles Debunne2010-04-271-29/+36
| | | | | | | | | | | | Raw types replaced. Added a asSubClass method in LayoutInflater which will (correctly) throw a ClassCastException when the inflated class is not a View subclass. Reduced the number of warnings in GenericInflater, but those remaining are valid. A lot of unsafe class casts happen between parent (P) and item (T) types that will generate runtime errors if the XML is not valid. Change-Id: I887fd67769a51ab54c6092e1270dbe3bfb6313ca
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+520
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-520/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+520