commit | dc699fb8cea5f97020152b75641dfcb641e7e96a | [log] [tgz] |
---|---|---|
author | Yara Hassan <yaraabdullatif@google.com> | Wed May 20 17:38:20 2020 +0100 |
committer | Ahaan Ugale <augale@google.com> | Fri May 29 14:35:13 2020 -0700 |
tree | 76014968c516be81bf0ab8816f3d5e71e25c972e | |
parent | 1298d2b7601383ad6e9c6964e939f6bfbd7093e2 [diff] |
Add finish() method to DataShare Read and Write Adapters The finish() method is used to clear hard references after the data copy has ended. This fixes a bug where the references are cleared before onError() is attempted to be called. Test: CTS tests in followup CL Bug: 157136368 Fixes: 157136368 Change-Id: If924fe388762831af90579e6b00bdf223230e203