Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI resets to default when touching the screen #2

Open
1 of 3 tasks
alni opened this issue Jun 22, 2018 · 0 comments
Open
1 of 3 tasks

UI resets to default when touching the screen #2

alni opened this issue Jun 22, 2018 · 0 comments
Labels

Comments

@alni
Copy link
Owner

alni commented Jun 22, 2018

Some of the UI resets brifely (but noticeable) when touching the screen on my Vivoactive 3.

What is affected:

  • Battery icon goes green
  • Battery amount shows (wrongly) 100%
  • The current steps resets to placeholder value of layout
  • The StepsGoal progress line resets to 0%, making it disappear
  • The date labels also resets text and colour

What is not affected:

  • The time labels

Possible cause:

Because the Vivoactive uses the new Always Active... feature of watch faces (update every second), the UI may not update all of the UI because of the uiUpdateNeeded and/or isInLowPowerMode variables of the AlniLargeTimeWatchFaceView class.

How to fix/TODO:

  • Make a check for if the watch supports the Always Active... feature
  • Read the Official Developer Documentation/Blog to find more information about this feature
  • TEST. TEST. TEST
@alni alni added the bug label Jun 22, 2018
alni added a commit that referenced this issue Jun 23, 2018
* Add source folder for Always Active watchface ("-always_active")
* Add source folder for Non Always Active watchface ("-non_aa")
* Add "GlobalsBase.IS_ALWAYS_ACTIVE" to check for if the current
  device supports Always Active watchfaces (this is overridden in
  the "-always_active" and the "-non_aa" source folders)
* Add local variables to store the values of the extra info
* Add "updateExtraInfoVars()" function to update these new local
  variables as needed
* Update "monkey.jungle" to specify the source build folders for
  the different devices (Always Active supported devices, and those
  without support for that feature)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant