Bug #3698
invalid resource configuration lookup
Status: | Closed | Start date: | 09/02/2014 | |
---|---|---|---|---|
Priority: | High | Due date: | ||
Assignee: | n8fr8 | % Done: | 0% | |
Category: | - | |||
Target version: | 0.1 | |||
Component: |
Description
in the code below DEFAULT_TIMEOUT_SECONDS is a static value in code, and not a resource ID. The value should be used directly instead of looking it up as a resource.
int def_timeout = mContext.getResources().getInteger(DEFAULT_TIMEOUT_SECONDS);
- ed.putInt(Constants.SHARED_PREFS_TIMEOUT_SECONDS, def_timeout);
Associated revisions
fix bug with default value for timeout
closes #11 https://github.com/guardianproject/cacheword/pull/11
fixes #3698 https://dev.guardianproject.info/issues/3698
History
#1 Updated by n8fr8 over 3 years ago
- Assignee changed from n8fr8 to hans
#2 Updated by n8fr8 over 3 years ago
- Status changed from New to Resolved
Applied in changeset cacheword|commit:5acc2808207c0afd56c2fa63c76d2ffb5405c009.
#3 Updated by hans over 3 years ago
- Target version set to 0.1
#4 Updated by hans over 3 years ago
- Status changed from Resolved to Feedback
- Assignee changed from hans to n8fr8
@n8fr8, I think this is fixed, please close if you agree.
#5 Updated by hans almost 3 years ago
- Status changed from Feedback to Closed