OSDN Git Service

Update all shown preferences in Settings > Storage
authorZoltan Szatmary-Ban <szatmz@google.com>
Thu, 9 Jul 2015 14:37:26 +0000 (15:37 +0100)
committerZoltan Szatmary-Ban <szatmz@google.com>
Thu, 9 Jul 2015 14:37:26 +0000 (15:37 +0100)
commit4bbe3d1fb66a99bfdf4cad8f2e77df23dccebbbd
treebfb1d70650f06c48985acfc0af173cb08415af2f
parent93b1a5a974f723f5aa463162b1f5aa43338f8c2e
Update all shown preferences in Settings > Storage

This is achieved by iterating through the pool of StorageItemPreferences up
to the index of the last shown one, instead of iterating through the
preferences of the screen which may miss preferences inside other top-level
preference groups.

Bug: 22353561
Change-Id: I2293a7949a5becfb506d6b7965f8db2f11845756
src/com/android/settings/deviceinfo/PrivateVolumeSettings.java