Sleep and Steps charts already have the day/way/month sub-charts that
already use the "Mon, Sep 7" format. This commit attempts to make the
rest of the date formatting more consistent with that format in the
activity list and the base navigation bar at the bottom of all charts.
Closes#2412
Signed-off-by: Linos Giannopoulos <linosgian00@gmail.com>
Currently the user isn't informed about errors when connecting to
the watch and is left with a working BT connection that isn't used at all.
Add toasts when the HiChainRequest fails or times out and disconnect
the phone. Without a successful HiChain established the connection is
useless anyways and it causes the phone to be not discoverable any more.
In addition add a timeout to the HiChainRequest, one longer for the first
pairing, where the user needs to confirm the pairing request on the watch.
The short delay is used for subsequent HiChainRequests.
The watch might not answer HiChainRequests when it was paired with a
different phone, so the added timeout and toast improves user experience
a lot since it's now clear that there was a problem.
Related to issue #4148
Related to issue #4061
Fixes issue #4062
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
As described in #1065, once the changelog was selected from the
navigation menu, and the user rotated the device, the changelog was
disappearing.
Using a DialogFragment seems to be the more idiomatic way on displaying
the changelog, and it also takes care of recreating it when the device
changes orientation.
Partially fixes#1065
Signed-off-by: Linos Giannopoulos <linosgian00@gmail.com>
The NPE was triggered by recent changes in the HearthRate Charts (503cd31d91)
Since getModel was also affected by the same NPE, the function is now changed as well.