OSDN Git Service

PreferenceFragment showing the breadcrumb when not needed.
authorSvetoslav <svetoslavganov@google.com>
Fri, 1 Nov 2013 18:47:28 +0000 (11:47 -0700)
committerSvetoslav <svetoslavganov@google.com>
Fri, 1 Nov 2013 18:57:12 +0000 (11:57 -0700)
commit7db97b0a29c613afb78c2734bf2504324a71963d
tree215853974d15219e1f5ed4bb251ee9f205926250
parenta3315270e0502189a6fa4de20b9db2bf042cfd2a
PreferenceFragment showing the breadcrumb when not needed.

The breadcrumb section is used for a single pane mode for showing
the current user location. The breadcrumb should not be shown if
its title and subtitle are empty. The code in PreferenceActivity
onCreate updates the breadcrumb with the title and subtitle in
a single page mode but does not hide it if they are empty. This
change fixes that.

bug:11242762

Change-Id: Ib1ba9e8afd9d0ab2e85d78a65ca7c18489464f6d
core/java/android/preference/PreferenceActivity.java