Merge "Add an API to release stats logger resources." am: b20b2f96f9
am: 7e1df8c874

Change-Id: I62efb24dfd893f9b8c8fab3069c1df69ea075359