Merge "RefBase: Unknown mFlag meaning" am: 53e977339b am: e5eede1551 am: 53ae3f5a76 am: 132fe54ffc

Original change: https://android-review.googlesource.com/c/platform/system/core/+/1805816

Change-Id: I9feae78a4c1f0f5afb7876155057b2a1229c48aa
This commit is contained in:
Steven Moreland 2021-08-24 21:22:05 +00:00 committed by Automerger Merge Worker
commit 70cba1bd17

View file

@ -170,7 +170,7 @@ public:
: mStrong(INITIAL_STRONG_VALUE)
, mWeak(0)
, mBase(base)
, mFlags(0)
, mFlags(OBJECT_LIFETIME_STRONG)
{
}
@ -189,7 +189,7 @@ public:
: mStrong(INITIAL_STRONG_VALUE)
, mWeak(0)
, mBase(base)
, mFlags(0)
, mFlags(OBJECT_LIFETIME_STRONG)
, mStrongRefs(NULL)
, mWeakRefs(NULL)
, mTrackEnabled(!!DEBUG_REFS_ENABLED_BY_DEFAULT)