OSDN Git Service

Fix instant app filtering in ApplicationsState
authorJesse Evans <jsje@google.com>
Thu, 13 Apr 2017 01:06:50 +0000 (18:06 -0700)
committerJesse Evans <jsje@google.com>
Fri, 14 Apr 2017 02:48:48 +0000 (19:48 -0700)
commitad2b77565c423c134806fa4ca372d57ecf9554ab
tree617c5c7bf12614f5d9c9a84d7ec9674374b1ce14
parent1ad7ff32b186478c674858e886a05777d13dc362
Fix instant app filtering in ApplicationsState

This fixes instant apps showing up as installed apps in the settings
UI where they should not be (namely the opening links page).

Test: Added tests for the filter
      runtest -x packages/SettingsLib/tests/integ

Bug: 37108030
Change-Id: I0fc6cfd237d470a1f4dde7b2db38d8b3643ee6f7
packages/SettingsLib/src/com/android/settingslib/applications/ApplicationsState.java
packages/SettingsLib/tests/integ/src/com/android/settingslib/applications/ApplicationsStateTest.java