History log of /packages/apps/EmergencyInfo/src/com/android/emergency/preferences/EmergencyEditTextPreference.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
881b3de9e0842f7c66e6ca51c8d0ccfa6e9d29e4 18-Aug-2017 Juan Lang <juanlang@google.com> Hide Emergency Info summary values from search.

Because the summary value displayed by the fragment is dynamically
updated, while the settings search index is statically computed from the
preference values, the two cannot presently be in sync. By renaming the
summary preference attribute, the search index omits the summary, which
prevents it from displaying an incorrect value.

Change-Id: I6598d92ea34e55bcc885050888faa8123233987b
Bug: 64654734
Fix: 64654734
Test: manual, and runtest --path packages/apps/EmergencyInfo/
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/EmergencyEditTextPreference.java
ee4540b5c9812db280855ffc13a50105008043d4 11-Jul-2017 Juan Lang <juanlang@google.com> Show text changes immediately.

In the support library version of Preference, settings changes aren't
visible immediately. Setting the summary value directly works around the
bug.

There's one bug this doesn't fix: when editing a value from set
(non-empty) to the empty string, the UX displays the empty string rather
than the default summary value. Since the default summary value is set
in the XML file, and setSummary clobbers it, there's no way to get
access to it. I felt this additional bug is minor enough, and the
changes required to fix it substantial enough, that it's not worth
fixing in this release.

Change-Id: Ife521f5430476a211d8eb4834c87d5a4a22d0025
Fix: 63386208
Test: runtest --path packages/apps/EmergencyInfo/tests/
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/EmergencyEditTextPreference.java
2c0518a7dfd5b7cd36e88d9f2df064b1e756bd83 11-May-2017 Juan Lang <juanlang@google.com> Reimplement EmergencyInfo with the support library.

This allows compatibility with SettingsLib.

Bug: 30046624
Test: runtest --path packages/apps/EmergencyInfo/tests
Change-Id: I3e4a49b6aebfd3297014bfd3bc9cc80a37e3a006
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/EmergencyEditTextPreference.java
3b2ce4cadd25247ff7fd17852dc9ac61c458d019 02-Feb-2017 mariagpuyol <mariagpuyol@google.com> Put cursor at the end of line when editing a field

Bug:34177675
Test: Checked manually that the cursor is now at the end when editing a field
Change-Id: I4f3962d7faa44d7ee3653dd93a192a2fd046d2a6
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/EmergencyEditTextPreference.java
df6e53aa87f74a07c63d585efa2425218a37cb99 25-Mar-2016 mariagpuyol <mariagpuyol@google.com> Allow more lines in the summary of the preferences

Bug:27853117
Change-Id: I331cb529239b7d73fb10b27a8b285d1044b36f47
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/EmergencyEditTextPreference.java
232daafc102052b458a3d3847ff9290f73915395 09-Mar-2016 mariagpuyol <mariagpuyol@google.com> Show name and dob as profile card in view mode

Bug:27533454
Change-Id: I05f70fe3571ad52816b4120c8724df9650a7ce21
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/EmergencyEditTextPreference.java
3c109f19f872822f410f229602b2a793b6ed88cb 11-Mar-2016 mariagpuyol <mariagpuyol@google.com> Prepopulate name preference with user's name

This CL also removes hints for address and name, removes default value
for list preferences (so that they are correclty removed from the view
fragment) and makes the edit activity have one single instance at a time.
Bug:27514275
Bug:27533454
Change-Id: I3ebdf192eab967e94802db30116659ab1130f826
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/EmergencyEditTextPreference.java
5874835f1edc1cac42eb4b3aa5fe437e8fd53c78 10-Mar-2016 mariagpuyol <mariagpuyol@google.com> Split fragments into edit and view modes

Bug:27559048
Change-Id: I56cfcd32d74b02be4616dded0c0c4a15744d67e8
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/EmergencyEditTextPreference.java