Loading
Fix inaccurate ItemInfo.id from DatabaseHelper with AtomicInteger
We can have both bg and UI threads accessing DatabaseHelper to read/write mMaxItemId, thus we should use AtomicInteger to avoid producing duplicated id, which will fail ModelWrite#checkItemInfoLocked Fix: 379490918 Test: presubmit Flag: NONE - crash fix Change-Id: I6cebbb7e854a9eb48ff59b61f5ebba42ea449ec7