Files
frameworks_base/cmds
Xin Li 3a039ff763 Fix compile time warning.
In checkIncidentPermissions(), the intention of code is to bail out when
the caller do not have appropriate permission.

Logically, DEST_LOCAL and DEST_EXPLICIT should be checked separately.
In the current code, we would fall-through to DEST_EXPLICIT case, but
because permitted DEST_LOCAL callers (AID_SHELL and AID_ROOT) are also
permitted DEST_EXPLICIT callers, we will still get the Status:ok().

Test: build
Change-Id: I0f6121cb1aba7724306b99469f5ef97b4358ac7d
2019-01-09 23:26:13 +00:00
..
2018-03-23 11:27:04 -07:00
2018-05-04 23:17:00 -07:00
2018-02-28 12:11:26 +00:00
2018-05-14 16:47:02 -07:00
2019-01-09 23:26:13 +00:00
2019-01-04 11:36:41 +00:00
2018-01-31 11:40:48 -08:00