OSDN Git Service

Use mContext directly, and enforce via logging
authorDaniel Rosenberg <drosen@google.com>
Tue, 27 Aug 2019 02:29:45 +0000 (19:29 -0700)
committerDaniel Rosenberg <drosen@google.com>
Tue, 17 Sep 2019 23:54:39 +0000 (23:54 +0000)
commit8c7f0100c7808a94adffe404365711c950a24ab8
treee3b72c09eea173626acd260fa5e93b4422e478f7
parent89ebc7c1ad1d52561e5d73b15028a2e309a27e74
Use mContext directly, and enforce via logging

We already have the context saved, so we can just use that.
Add a log statement so we can test for the existence of this patch from
a CTS test.

Test: Edited code to force expection path to be called, confirmed
      reboot happens
Bug: 138952436
Bug: 140111727

Change-Id: Iaceec82d4716837158d1233400b4a44cbf67a5e8
services/core/java/com/android/server/am/ActivityManagerService.java