summaryrefslogtreecommitdiffstats
path: root/api/current.txt
diff options
context:
space:
mode:
authorJonathan Basseri <misterikkit@google.com>2015-05-12 10:06:32 -0700
committerJonathan Basseri <misterikkit@google.com>2015-05-13 10:45:29 -0700
commit4f9ad1678eca240afb5a2174dc35e4f0559312c3 (patch)
treecfdc66832427af719ea926117473d1749a9f152d /api/current.txt
parent21623faa449496d68bd102ddda5874f572b9c55a (diff)
downloadframeworks_base-4f9ad1678eca240afb5a2174dc35e4f0559312c3.zip
frameworks_base-4f9ad1678eca240afb5a2174dc35e4f0559312c3.tar.gz
frameworks_base-4f9ad1678eca240afb5a2174dc35e4f0559312c3.tar.bz2
Switching to PersistableBundle in carrier config API.
Part of this API involves persisting config bundles to avoid binding to apps at critical moments (like boot). Regular bundles should not be written to disk because they support object types that can lose their meaning while the data is at rest. In order to use PersistableBundle, we must either start with one or filter unwanted types out of Bundle objects. Since the carrier config API has no use for unsupported types, we chose to use PersistableBundle everywhere. Bug: 20268926 Change-Id: I17989ce840014c2a0ed3679c1bca5a8498082c7f
Diffstat (limited to 'api/current.txt')
-rw-r--r--api/current.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/api/current.txt b/api/current.txt
index 57d1c6d..d7b5982 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -28562,7 +28562,7 @@ package android.service.carrier {
public abstract class CarrierConfigService extends android.app.Service {
ctor public CarrierConfigService();
method public final android.os.IBinder onBind(android.content.Intent);
- method public abstract android.os.Bundle onLoadConfig(android.service.carrier.CarrierIdentifier);
+ method public abstract android.os.PersistableBundle onLoadConfig(android.service.carrier.CarrierIdentifier);
field public static final java.lang.String SERVICE_INTERFACE = "android.service.carrier.CarrierConfigService";
}
@@ -30550,8 +30550,8 @@ package android.telecom {
package android.telephony {
public class CarrierConfigManager {
- method public android.os.Bundle getConfig();
- method public android.os.Bundle getConfigForSubId(int);
+ method public android.os.PersistableBundle getConfig();
+ method public android.os.PersistableBundle getConfigForSubId(int);
method public void reloadCarrierConfigForSubId(int);
field public static final java.lang.String ACTION_CARRIER_CONFIG_CHANGED = "android.telephony.action.CARRIER_CONFIG_CHANGED";
field public static final java.lang.String BOOL_ADDITIONAL_CALL_SETTING = "bool_additional_call_setting";