changed master config file name to simplify 1.4 -> 1.5 migration
This commit is contained in:
parent
7c33b7e497
commit
9ccdba149f
2 changed files with 3 additions and 3 deletions
|
@ -43,7 +43,7 @@ public class BRouterService extends Service
|
|||
InputStream configInput = null;
|
||||
try
|
||||
{
|
||||
configInput = openFileInput( "config.dat" );
|
||||
configInput = openFileInput( "config15.dat" );
|
||||
BufferedReader br = new BufferedReader( new InputStreamReader( configInput ) );
|
||||
baseDir = br.readLine();
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@ public class ConfigHelper
|
|||
InputStream configInput = null;
|
||||
try
|
||||
{
|
||||
configInput = ctx.openFileInput( "config.dat" );
|
||||
configInput = ctx.openFileInput( "config15.dat" );
|
||||
BufferedReader br = new BufferedReader( new InputStreamReader( configInput ) );
|
||||
return br.readLine();
|
||||
}
|
||||
|
@ -45,7 +45,7 @@ public class ConfigHelper
|
|||
BufferedWriter bw = null;
|
||||
try
|
||||
{
|
||||
OutputStream configOutput = ctx.openFileOutput( "config.dat", Context.MODE_PRIVATE );
|
||||
OutputStream configOutput = ctx.openFileOutput( "config15.dat", Context.MODE_PRIVATE );
|
||||
bw = new BufferedWriter( new OutputStreamWriter( configOutput ) );
|
||||
bw.write( baseDir );
|
||||
bw.write( '\n' );
|
||||
|
|
Loading…
Reference in a new issue