d6bbac5f7c1dca2e9b961863c079296dbf5f08a6 |
|
21-Jul-2017 |
Juan Lang <juanlang@google.com> |
Hide settings suggestion when emergency info are provided. Introduce an activity alias for the edit activity. Set the settings suggestion on the alias rather than the edit activity. Enable / disable the alias activity when emergency info are removed / set, respectively. Change-Id: I0dadf3c9a3d7b5020fd4b43e82444b82cc39108a Fix: 63533900 Test: manual && make RunEmergencyInfoRoboTests && \ runtest --path packages/apps/EmergencyInfo/tests/
/packages/apps/EmergencyInfo/src/com/android/emergency/edit/EditMedicalInfoFragment.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/edit/EditMedicalInfoFragment.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/edit/EditMedicalInfoFragment.java
|
432ad365542a71f22c81c341592a16cde9e6be6f |
|
05-May-2017 |
Juan Lang <juanlang@google.com> |
Combine editing medical info and emergency contacts into one view. This implementation is not complete yet, there are more changes proposed, but this accomplishes the largest chunk in as small a change as I could manage. Test: Run unit tests. Manually test app's basic functions still work. Change-Id: If9f315958a6bbc26a17d44858cdfc950f5cbac02
/packages/apps/EmergencyInfo/src/com/android/emergency/edit/EditMedicalInfoFragment.java
|