56117b955dda1c134473a4fed4b0a73fb1c6cea2 |
|
27-Apr-2016 |
Roman Sorokin <rsorokin@google.com> |
Fixed crash loop of the Telephony in case of bad restore. If exception occured it caused the service to crash and then restart again. Since it did not delete the old files exception occured again etc. Now it deletes file if there is any exception; Bug: 28382746 Change-Id: Ifcec6242e6cad23fa6e6c697248c6d6a98dfca89
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/TelephonyBackupAgent.java
|
2d3a779b41d5a553c8615a906ee97da29907313e |
|
13-Apr-2016 |
Roman Sorokin <rsorokin@google.com> |
Make SMS restore robust to device reboots. Since we put actual message restore into the separate service it's possible it will be interrupted by e.g. device reboot. We should check if there are still files to restore on providers start. Bug: 28165505 Change-Id: I593a30f0c1a955170a158f2540a542e00d049b17
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/TelephonyBackupAgent.java
|
3aa281731a6f25cd36b88bca809b13d3f581d05f |
|
01-Apr-2016 |
Roman Sorokin <rsorokin@google.com> |
Additional columns in pdu table and threads table to backup Added columns 1. pdu.tr_id 2. threads.archived 'archived' is backed up along with the first SMS message from the archived thread. Bug: 27928438 Change-Id: I4e7ea885ecc7424f96442d0fda9ddad424514ace
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/TelephonyBackupAgent.java
|
c2231c02010a2a5915e4d09ed5fbabd0bba65078 |
|
29-Mar-2016 |
Roman Sorokin <rsorokin@google.com> |
Hold wakelock for SMS/MMS restore service. Since we start to put the message into the providers after onRestoreFinished in the separate service we have to hold a wakelock for it. Bug: 27225193 Change-Id: I2b1fa219b13ebd45816d44b9dacb3b7177c5fe84
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/TelephonyBackupAgent.java
|
9037d648d61f3d90726e43296f0b12c532e1f934 |
|
22-Mar-2016 |
Roman Sorokin <rsorokin@google.com> |
Switched TelephonyBackupAgent to ContentResolver It used instances of content providers (SMS, MMS). Since now it's loaded not in the restricted state it could safely use ContentResolver. Also took all the functions out of the static scope into the object scope. Bug: 27791017 Change-Id: I468bb4859bddb0fba1db388101bd1ddecfc3ce0c
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/TelephonyBackupAgent.java
|
21736c3871d5c4cd3a6322d65d635057d0a61937 |
|
17-Feb-2016 |
Roman Sorokin <rsorokin@google.com> |
Speed up of message backup/restore - Use BufferedWriter for backing up - Use bulkInsert into sms provider on restore - On restore the agent stores files onto disk and then launch deferred service to restore messages. - Cache threadId db request on backup and restore. - Made backups incremental Also added unit test for hitting the quota on backup. Bug: 27225193 Bug: 26870249 Change-Id: Ia8875fe692ba33039e58189dcdcca82f207768f1
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/TelephonyBackupAgent.java
|
76422e0ed1bc5b68f857094a05b5fec8b507f36e |
|
15-Feb-2016 |
Roman Sorokin <rsorokin@google.com> |
Fixed duplication conversation on restore Made recipients storage for mms same as for sms. Bug: 27073155 Change-Id: Iee3c24819d3df0461213352342e6b53e3e71e213
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/TelephonyBackupAgent.java
|
1d42223c7e497b5513fa0cc5e65ffc405b432989 |
|
12-Feb-2016 |
Roman Sorokin <rsorokin@google.com> |
Fixed tests for TelephonyBackupAgent Bug: 26739475 Change-Id: Ie0a5abee9ff29ad57b4e1a974e8c5bc7a36aed5e
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/TelephonyBackupAgent.java
|
ff82fdf627ab69a160eb354673cef1696df55f5c |
|
27-Jan-2016 |
Matthew Williams <mjwilliams@google.com> |
Merge "Support for onQuotaExceeded in TelephonyBackupAgent."
|
8f63351b0fb1598b6add38bc3c20148b7c65e731 |
|
19-Jan-2016 |
Roman Sorokin <rsorokin@google.com> |
Support for onQuotaExceeded in TelephonyBackupAgent. Bug: 26533986 Change-Id: I8661bae4a9d334d7bf4150048bf883f1215b9740
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/TelephonyBackupAgent.java
|
a632476534b877cdad602a27fe8ba01892d0bd83 |
|
26-Jan-2016 |
Roman Sorokin <rsorokin@google.com> |
Fixing addresses backup/restore for SMS. We were trying to parse "address" field in order to get the recipients and generate threadId. Problem was that parsing went bad in some cases. In this CL we backup sms_recipients fetched from content://mms-sms/canonical-address and use it on restore to generate threadId. Will fix the tests later. Bug:26739475 Change-Id: I1b50bbdc8afbdf254d27df9d23fc938847768d41
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/TelephonyBackupAgent.java
|
8b39acf181c547e87161873112d6c52a581fc778 |
|
16-Dec-2015 |
Roman Sorokin <rsorokin@google.com> |
Implemention of the telephony provider backup agent to cover SMS backup Known issues: - Are we ok with restarting com.android.phone on restore? Bug: 26079978 Bug: 26532098 Change-Id: I87452c0d993c14fe70b12f310bdc52a0ccd2ff1d
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/TelephonyBackupAgent.java
|