commit | 8b231a96a147d0b897a68cc9b1d0feaca515b000 | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Fri Feb 12 16:41:25 2016 -0800 |
committer | Tao Bao <tbao@google.com> | Mon Feb 15 14:31:56 2016 -0800 |
tree | f2812f4fe8fa960a33322ac4dc95ac66a84d9b70 | |
parent | 3dbcd203c57e9845582b59d9d5914bd6df7d2e1f [diff] |
BootReceiver: Stop using SharedPreferences. BootReceiver was using SharedPreferences to record the timestamp that a log file was lastly added to the dropbox. It no longer works after the cleanup of the ContextImpl, because Context storage APIs are designed for app data storage (as opposed to the system server). This CL switches to writing its own xml file instead (/data/system/log-files.xml). Bug: 26966507 Change-Id: Ife6b7544a7636b37dd239f059d1ca8c9c28f81a3