summaryrefslogtreecommitdiffstats
path: root/res/values-lb
diff options
context:
space:
mode:
authorLuis Vidal <lvidal@cyngn.com>2016-04-15 10:11:36 -0700
committerLuis Vidal <lvidal@cyngn.com>2016-04-15 11:37:41 -0700
commitf1e42d8741c760433876b17a151b8b0cc2502b8b (patch)
tree93f7c0c8a6877fc57e3e88c326cfe2c195ff2283 /res/values-lb
parent791434fdc31f09821e703e89cd071000807bdf32 (diff)
downloadpackages_apps_Settings-f1e42d8741c760433876b17a151b8b0cc2502b8b.zip
packages_apps_Settings-f1e42d8741c760433876b17a151b8b0cc2502b8b.tar.gz
packages_apps_Settings-f1e42d8741c760433876b17a151b8b0cc2502b8b.tar.bz2
Prevent crash if weather settings activity can't be found
Each weather provider service may define a settings activity which will be automatically launched when the user selects the provider. If such activity can't be found, an ActivityNotFoundException is thrown. This patch adds a try/catch block to avoid crashing the settings app if the activity can't be found A toast will be displayed to notify the user. Otherwise, the user would never know why the settings gear is doing nothing Change-Id: I3c3d54ce8f9131353077c34a2f821ec6b0fc0268 TICKET: CYNGNOS-2478
Diffstat (limited to 'res/values-lb')
0 files changed, 0 insertions, 0 deletions