summaryrefslogtreecommitdiff
path: root/core/java/android/preference/RingtonePreference.java
Commit message (Collapse)AuthorAgeFilesLines
* Use new UnsupportedAppUsage annotation.Artur Satayev2019-12-181-1/+1
| | | | | | | | Existing annotations in libcore/ and frameworks/ will deleted after the migration. This also means that any java library that compiles @UnsupportedAppUsage requires a direct dependency on "unsupportedappusage" java_library. Bug: 145132366 Test: m && diff unsupportedappusage_index.csv Change-Id: I534e3fd1305e2f4af076986770033478448a665c
* Deprecates framework Preference classesLouis Pullen-Freilich2018-11-191-0/+7
| | | | | | | | | The AndroidX Preference Library is the recommended way to build settings screens moving forward. Bug: b/114357488 Test: n/a Change-Id: I3b3bff2daf43d8239d8bf247a9c2acebbc6374eb
* Add @UnsupportedAppUsage annotationsMathew Inwood2018-08-171-0/+2
| | | | | | | | | | | | | | | | For packages: android.preference This is an automatically generated CL. See go/UnsupportedAppUsage for more details. Exempted-From-Owner-Approval: Mechanical changes to the codebase which have been approved by Android API council and announced on android-eng@ Bug: 110868826 Test: m Change-Id: I31a80552a66554d876edd01950df368c31239c2b
* Ringtone picker is not affected by current sonification policyJean-Michel Trivi2015-05-211-0/+3
| | | | | | | | | | | | Add the FLAG_BYPASS_INTERRUPTION_POLICY AudioAttributes flag when launching the ringtone picker so it is not affected by the current sonification policy, in order to ensure the audibility of the phone ringtone or default notification being previewed by the user. Bug 19407114 Change-Id: Ibd24e3f14e56e67f9e37576a84c97a73f5494074
* Add View constructor that supplies a default style resourceAlan Viverette2013-09-091-5/+9
| | | | | | | Also updates the constructor of every class that extends View. BUG: 10676369 Change-Id: Ifaf27bf82028d180afa4931c0e906df88d858ac3
* Pass in the title of the preference as a title for the ringtone picker dialog.Amith Yamasani2011-08-101-0/+1
| | | | | Bug: 5135537 Change-Id: I988c4c6b800466a5f28e41b452a91a5424c7d58b
* Fix for Ringtones not being saved when using Preference fragments.Amith Yamasani2010-09-231-2/+6
| | | | | | | | | | | | Bug: 2988732 RingtonePreference was calling startActivityForResult on Activity instead of on Fragment, so the result was not being delivered to the fragment. Setting a fragment owner on the PreferenceManager instance so that it can be used instead of getActivity() for launching the intent. Not exposing any new public APIs at this time.
* AI 145870: Add a build property for the default alarm alert. Update the variousPatrick Scott2009-04-131-2/+3
| | | | | | | | | | | framework classes to deal with the new property. Also update various documentation that mentions the default ringtones. Use the build property as the default alert when the user has not chosen an alert for an alarm. This is also used if the alarm alert is null when the alarm fires. BUG=1723684 Automated import of CL 145870
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+242
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-242/+0
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-2/+2
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+242