diff options
author | Michael W <baddaemon87@gmail.com> | 2017-12-30 13:48:22 +0100 |
---|---|---|
committer | Michael Bestas <mkbestas@lineageos.org> | 2018-01-28 19:12:18 +0200 |
commit | 305f9ed07b029220922a944b79a0b634a8e757e9 (patch) | |
tree | a39cf7f12fbe30e6836bc0505eac15b60645ef0f | |
parent | b8136415e6fe86f656d997a09bf3246ec7d26249 (diff) | |
download | android_packages_apps_LockClock-staging/lineage-15.1.tar.gz android_packages_apps_LockClock-staging/lineage-15.1.tar.bz2 android_packages_apps_LockClock-staging/lineage-15.1.zip |
LockClock: ForeCast: Remove finish transitionstaging/lineage-15.1
* Opening the forecast from the widget makes the status bar and navigation
bar semi-transparent
* When closing the dialog, it moves out to the bottom including the shadow
of the status bar - which just looks wrong
* Remove the finish-animation to get rid of that
Change-Id: Ic14bcc096fd6b8a1af59eb5dc1a935a7c900d6e2
-rw-r--r-- | src/org/lineageos/lockclock/weather/ForecastActivity.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/org/lineageos/lockclock/weather/ForecastActivity.java b/src/org/lineageos/lockclock/weather/ForecastActivity.java index 4b02d52..0658889 100644 --- a/src/org/lineageos/lockclock/weather/ForecastActivity.java +++ b/src/org/lineageos/lockclock/weather/ForecastActivity.java @@ -1,5 +1,6 @@ /* * Copyright (C) 2013 David van Tonder + * Copyright (C) 2017 The LineageOS Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -123,4 +124,10 @@ public class ForecastActivity extends Activity implements OnClickListener { finish(); } } + + @Override + public void finish() { + super.finish(); + overridePendingTransition(0, 0); + } } |