commit | c340a08b1b2d439f482144d03df1a781c26cb0e5 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Tue Jul 26 17:09:50 2022 +0000 |
committer | Steven Moreland <smoreland@google.com> | Tue Jul 26 22:10:51 2022 +0000 |
tree | 9ee13956999522d0c67ba82270d9477f08adb85f | |
parent | ccb1ce32cca359c1b6648b2337d79830da3ec31c [diff] |
libutils: RefBase always disallow on stack Before, we only did this in sp<> constructors, but we can always make this check during the initial incStrong. Since prebuilts call into the existing report race function declared in StrongPointer.h, we still call this function from RefBase.cpp. Bug: 232557259 Test: libutils_test Change-Id: I4080b1869b83ecf655fc9c182b6de768a6358adf