Commit Graph

8 Commits

Author SHA1 Message Date
Debashish Chatterjee
f84558cf16 Merge "Set HAS_CONTENT field from the app after writing audio content." 2011-10-06 02:08:25 -07:00
Flavio Lerda
e15c273703 Update minSdkVersion and targetSdkVersion.
Bug: 5357790
Change-Id: I295639ff014090b95ce7eae8fcdb32a602594e6d
2011-09-27 08:59:34 +01:00
Debashish Chatterjee
b01f5d5251 Set HAS_CONTENT field from the app after writing audio content.
In change-id I93e4b467acdefe339fa70dd751ea05f195c32e71 content voicemail
content provider was modified to no more automatically set the
has_content field. The app now needs to set this field itself after
writing the content.

bug: 5147190
Change-Id: If3c66a86803f7587677c2ec09965b89f31f6268e
2011-08-11 13:04:51 +01:00
Debashish Chatterjee
d407959ada VoicemaiProviderDemoApp changed to use api from sdk.
Voicemail content provider APIs are now part of the SDK. This CL gets
rid of the local copy of VoicemailContracts and instead uses the APIs
from the SDK.

Key differences between the old and latest APIs
- voicemail permission renamed from READ_WRITE_OWN_VOICEMAILS to
  ADD_VOICEMAIL
- voicemail state is a hidden field, so not part of the API. Demo app
  should not use it.
- Use IS_READ field instead of NEW.

Change-Id: Ib142eb02bb89eed32a7976b66132893a98aba466
2011-08-08 17:58:40 +01:00
Debashish Chatterjee
4534229ae8 Copied over latest changes to VoicemailContract api.
In addition, modified VoicemailProviderHelpers to use "source_package" uri
parameter instead of deprecated /source/ path for source specific uri
and stop using other deprecated fields.

Change-Id: Ia9570de2d9823ea27d57f7d602348d2a2826f2e8
2011-07-04 13:25:27 +01:00
Debashish Chatterjee
8e385c5809 Copied recent VoicemailContract changes from framework/base/core to VoicemailProviderDemo.
Change-Id: I506d5ef224494bdfe074aa0065327c2fba205373
2011-06-28 17:40:55 +01:00
Debashish Chatterjee
c635aaacff Changed VoicemailProvider demo app to use new VoicemailContract api.
- Use new VoicemailContract instead of VoicemailProvider for API.
  VoicemailContract will soon be submitted to framework/base. The local
  copy will then be deleted.
- Got rid of some unused util/core classes.

Change-Id: Ic7ac76777023a8b94a5ddf2f90caf0bf48d1f60c
2011-06-15 17:09:49 +01:00
Debashish Chatterjee
8d6d2581ff Voicemail provider sample source code.
The app demostrates the how to use voicemail provider APIs to insert new
voicemail records using a simple UI.

Change-Id: I22610e06a8b80518b9f0d811f72afe245a4148c6
2011-05-23 14:40:01 +01:00