OSDN Git Service

remove duplicated incorrectly code in ProcessRecord
authoryuanhuihui <yuanhuihui@xiaomi.com>
Tue, 20 Sep 2016 13:36:28 +0000 (21:36 +0800)
committerJoey Rizzoli <joey@lineageos.it>
Sun, 30 Apr 2017 08:37:08 +0000 (08:37 +0000)
commit45bff3775d95a456e9a206940e03aa90a7c3472b
tree3c43bd06e383c8aa4f7705c983657e098fc78684
parentbdb9183230f419098ffcb57be4ef1f94cc589eb3
remove duplicated incorrectly code in ProcessRecord

condition origBase != null have repeated twice in line 488 and 489.
that makes pkgList can't make inactive when origBase == null.
so need delete code in line 488.

Change-Id: I8ed87667672e2885d003504639b87aa4d125c8ad
Signed-off-by: yuanhuihui <yuanhuihui@xiaomi.com>
services/core/java/com/android/server/am/ProcessRecord.java