diff options
author | Andre Lago <andrelago@google.com> | 2016-09-12 09:57:52 +0100 |
---|---|---|
committer | Robin Lee <rgl@google.com> | 2017-01-05 19:06:14 +0000 |
commit | 7c8ccb3ce4943a0e69db536058b97e8c0ffebb71 (patch) | |
tree | eaa4b687143504cff943f875f4e8315ddf097212 /docs/html/sdk/api_diff/22/changes | |
parent | 97a8d7038646c34b25619d2e2ae9d6c7c8104f35 (diff) |
[RingtoneManager] API to add custom ringtones
So far, the only way for users to add custom ringtones was to either use
a 3rd party app or copy files to a specific directory in the storage,
and there was no API to make it easier to add custom ringtones.
This CL creates a hidden API in RingtoneManager that allows adding any
audio file as a custom ringtone, by copying that file into the ringtone
storage and asking MediaScanner to scan that file.
This API is not intended to be used by existing apps, but an associated CL
uses it in RingtonePickerActivity
Test: make && vendor/google/tools/flashall, plus manual testing with associated CL
Bug: 30658854
Change-Id: I2b291847c5430e1fc2c3fc6a351b6111a49fcbf3
Diffstat (limited to 'docs/html/sdk/api_diff/22/changes')
0 files changed, 0 insertions, 0 deletions