commit | d6ee0ba57906f83f45ca2a2cd835d7ff6e7a88df | [log] [tgz] |
---|---|---|
author | Todd Kennedy <toddke@google.com> | Thu Mar 31 15:11:11 2016 -0700 |
committer | Todd Kennedy <toddke@google.com> | Thu Mar 31 15:53:45 2016 -0700 |
tree | 9a539b314ca0c26908e3695be870cfa71614df7f | |
parent | 9a99629eaa79a7e6c3bcc0ecf674bd7981fef5a0 [diff] |
Allow retrieving info /system components Generally we return info for the latest installed package; which could either be a built-in [i.e. on the /system partition] package or a user updated package. In certain circumstances, we want to be able to get the version on the /system partition regardless of whether or not the user has updated it. We do this by passing MATCH_FACTORY_ONLY to getPackageInfo(). Bug: 27469181 Change-Id: I8dd1d110e2d72e5c6f024812d0b5d15d8b217347