Bug #3698

invalid resource configuration lookup

Added by n8fr8 over 3 years ago. Updated almost 3 years ago.

Status:ClosedStart date:09/02/2014
Priority:HighDue 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

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

Also available in: Atom PDF