Merge "libbase: fix the way to find temp dir." am: b13d4a31a3
am: 8a5f594bc3

Change-Id: I4a3c1afd78b567c4c379cfb25a6b8ae58c06b810