Merge "Remove complicated previousAppId usage" am: f0ea70ec57 am: 7771fa2768 am: d85390a5c6

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2016416

Change-Id: Ifbda53282fb96ad39cb2b8a462c0ece12ad37378
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>