OSDN Git Service

Fix a bug where image apps were double-counted.
authorDaniel Nishi <dhnishi@google.com>
Wed, 6 Sep 2017 00:40:05 +0000 (17:40 -0700)
committerDaniel Nishi <dhnishi@google.com>
Wed, 6 Sep 2017 00:40:05 +0000 (17:40 -0700)
commitb798b1c484230aee090dcdd8e606631fd5061587
tree3bc35373246e987a69176ada9b5abc43eb378a89
parentae1dd84bf0d35e4ba079a747e8c5fa2742f2cca7
Fix a bug where image apps were double-counted.

The filter for photos apps includes them as well as the one for "other
apps". This removes them out of other apps.

Change-Id: I56058080b6492c054ea3171addd5ab343769bc9a
Fixes: 65384691
Test: SettingsLib integ test
packages/SettingsLib/src/com/android/settingslib/applications/ApplicationsState.java
packages/SettingsLib/tests/integ/src/com/android/settingslib/applications/ApplicationsStateTest.java