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

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

Change-Id: I82da4cac9e75bf5ceca5c82f155fbfe9dfedfc2f
This commit is contained in:
Steven Moreland 2021-08-24 21:09:16 +00:00 committed by Automerger Merge Worker
commit 132fe54ffc

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)