diff options
author | Dianne Hackborn <hackbod@google.com> | 2010-08-04 11:12:40 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2010-08-11 00:29:59 -0700 |
commit | 08d5b8fad8d46ccb64db2fdcb4d66972ec87bf48 (patch) | |
tree | 7e2e67603ec8a2ca164548301b65a2b733df76a0 /libs | |
parent | 091c5238a00ca51dc69b8b09459e6ac88e1eb077 (diff) | |
download | frameworks_base-08d5b8fad8d46ccb64db2fdcb4d66972ec87bf48.zip frameworks_base-08d5b8fad8d46ccb64db2fdcb4d66972ec87bf48.tar.gz frameworks_base-08d5b8fad8d46ccb64db2fdcb4d66972ec87bf48.tar.bz2 |
More native work.
Implement save/restore of state, and add native APIs for
configuration information.
Change-Id: I2a3ddc2ba605db58d7c8b2b31b9215fb323f90b5
Diffstat (limited to 'libs')
-rw-r--r-- | libs/utils/AssetManager.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/utils/AssetManager.cpp b/libs/utils/AssetManager.cpp index 60a0d82..e09e755 100644 --- a/libs/utils/AssetManager.cpp +++ b/libs/utils/AssetManager.cpp @@ -232,6 +232,12 @@ void AssetManager::setConfiguration(const ResTable_config& config, const char* l } } +void AssetManager::getConfiguration(ResTable_config* outConfig) const +{ + AutoMutex _l(mLock); + *outConfig = *mConfig; +} + /* * Open an asset. * |