summaryrefslogtreecommitdiffstats
path: root/telephony/java/com
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 /telephony/java/com
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 'telephony/java/com')
-rw-r--r--telephony/java/com/android/internal/telephony/ICarrierConfigLoader.aidl4
1 files changed, 2 insertions, 2 deletions
diff --git a/telephony/java/com/android/internal/telephony/ICarrierConfigLoader.aidl b/telephony/java/com/android/internal/telephony/ICarrierConfigLoader.aidl
index b5cdd9a..cb53f51 100644
--- a/telephony/java/com/android/internal/telephony/ICarrierConfigLoader.aidl
+++ b/telephony/java/com/android/internal/telephony/ICarrierConfigLoader.aidl
@@ -16,14 +16,14 @@
package com.android.internal.telephony;
-import android.os.Bundle;
+import android.os.PersistableBundle;
/**
* Interface used to interact with the CarrierConfigLoader
*/
interface ICarrierConfigLoader {
- Bundle getConfigForSubId(int subId);
+ PersistableBundle getConfigForSubId(int subId);
void reloadCarrierConfigForSubId(int subId);