Commit df9f0ad5 authored by Max Lv's avatar Max Lv

Update LICENSE

parent a33fcc69
# Scala source
".*\\.scala" -> frame open:"/*" line:"*" close:"*/"
This diff is collapsed.
/*******************************************************************************/
/* */
/* Copyright (C) 2016 by Max Lv <max.c.lv@gmail.com> */
/* Copyright (C) 2016 by Mygod Studio <contact-shadowsocks-android@mygod.be> */
/* */
/* This program is free software: you can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation, either version 3 of the License, or */
/* (at your option) any later version. */
/* */
/* This program is distributed in the hope that it will be useful, */
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
/* GNU General Public License for more details. */
/* */
/* You should have received a copy of the GNU General Public License */
/* along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* */
/*******************************************************************************/
package be.mygod.preference package be.mygod.preference
import android.app.DialogFragment import android.app.DialogFragment
......
/*******************************************************************************/
/* */
/* Copyright (C) 2016 by Max Lv <max.c.lv@gmail.com> */
/* Copyright (C) 2016 by Mygod Studio <contact-shadowsocks-android@mygod.be> */
/* */
/* This program is free software: you can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation, either version 3 of the License, or */
/* (at your option) any later version. */
/* */
/* This program is distributed in the hope that it will be useful, */
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
/* GNU General Public License for more details. */
/* */
/* You should have received a copy of the GNU General Public License */
/* along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* */
/*******************************************************************************/
package be.mygod.preference package be.mygod.preference
import android.content.Context import android.content.Context
......
/*******************************************************************************/
/* */
/* Copyright (C) 2016 by Max Lv <max.c.lv@gmail.com> */
/* Copyright (C) 2016 by Mygod Studio <contact-shadowsocks-android@mygod.be> */
/* */
/* This program is free software: you can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation, either version 3 of the License, or */
/* (at your option) any later version. */
/* */
/* This program is distributed in the hope that it will be useful, */
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
/* GNU General Public License for more details. */
/* */
/* You should have received a copy of the GNU General Public License */
/* along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* */
/*******************************************************************************/
package be.mygod.preference package be.mygod.preference
import android.content.Context import android.content.Context
......
/*******************************************************************************/
/* */
/* Copyright (C) 2016 by Max Lv <max.c.lv@gmail.com> */
/* Copyright (C) 2016 by Mygod Studio <contact-shadowsocks-android@mygod.be> */
/* */
/* This program is free software: you can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation, either version 3 of the License, or */
/* (at your option) any later version. */
/* */
/* This program is distributed in the hope that it will be useful, */
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
/* GNU General Public License for more details. */
/* */
/* You should have received a copy of the GNU General Public License */
/* along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* */
/*******************************************************************************/
package be.mygod.preference package be.mygod.preference
import android.content.Context import android.content.Context
......
/*******************************************************************************/
/* */
/* Copyright (C) 2016 by Max Lv <max.c.lv@gmail.com> */
/* Copyright (C) 2016 by Mygod Studio <contact-shadowsocks-android@mygod.be> */
/* */
/* This program is free software: you can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation, either version 3 of the License, or */
/* (at your option) any later version. */
/* */
/* This program is distributed in the hope that it will be useful, */
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
/* GNU General Public License for more details. */
/* */
/* You should have received a copy of the GNU General Public License */
/* along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* */
/*******************************************************************************/
package be.mygod.preference package be.mygod.preference
import android.content.Context import android.content.Context
......
/*******************************************************************************/
/* */
/* Copyright (C) 2016 by Max Lv <max.c.lv@gmail.com> */
/* Copyright (C) 2016 by Mygod Studio <contact-shadowsocks-android@mygod.be> */
/* */
/* This program is free software: you can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation, either version 3 of the License, or */
/* (at your option) any later version. */
/* */
/* This program is distributed in the hope that it will be useful, */
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
/* GNU General Public License for more details. */
/* */
/* You should have received a copy of the GNU General Public License */
/* along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* */
/*******************************************************************************/
package be.mygod.preference package be.mygod.preference
import android.content.Context import android.content.Context
......
/*******************************************************************************/
/* */
/* Copyright (C) 2016 by Max Lv <max.c.lv@gmail.com> */
/* Copyright (C) 2016 by Mygod Studio <contact-shadowsocks-android@mygod.be> */
/* */
/* This program is free software: you can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation, either version 3 of the License, or */
/* (at your option) any later version. */
/* */
/* This program is distributed in the hope that it will be useful, */
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
/* GNU General Public License for more details. */
/* */
/* You should have received a copy of the GNU General Public License */
/* along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* */
/*******************************************************************************/
package be.mygod.preference package be.mygod.preference
import android.app.DialogFragment import android.app.DialogFragment
......
/*******************************************************************************/
/* */
/* Copyright (C) 2016 by Max Lv <max.c.lv@gmail.com> */
/* Copyright (C) 2016 by Mygod Studio <contact-shadowsocks-android@mygod.be> */
/* */
/* This program is free software: you can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation, either version 3 of the License, or */
/* (at your option) any later version. */
/* */
/* This program is distributed in the hope that it will be useful, */
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
/* GNU General Public License for more details. */
/* */
/* You should have received a copy of the GNU General Public License */
/* along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* */
/*******************************************************************************/
package be.mygod.preference package be.mygod.preference
import java.lang.reflect.Field import java.lang.reflect.Field
......
/*******************************************************************************/
/* */
/* Copyright (C) 2016 by Max Lv <max.c.lv@gmail.com> */
/* Copyright (C) 2016 by Mygod Studio <contact-shadowsocks-android@mygod.be> */
/* */
/* This program is free software: you can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation, either version 3 of the License, or */
/* (at your option) any later version. */
/* */
/* This program is distributed in the hope that it will be useful, */
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
/* GNU General Public License for more details. */
/* */
/* You should have received a copy of the GNU General Public License */
/* along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* */
/*******************************************************************************/
package be.mygod.preference package be.mygod.preference
import android.support.v7.preference.Preference import android.support.v7.preference.Preference
......
/* /*******************************************************************************/
* Shadowsocks - A shadowsocks client for Android /* */
* Copyright (C) 2014 <max.c.lv@gmail.com> /* Copyright (C) 2016 by Max Lv <max.c.lv@gmail.com> */
* /* Copyright (C) 2016 by Mygod Studio <contact-shadowsocks-android@mygod.be> */
* This program is free software: you can redistribute it and/or modify /* */
* it under the terms of the GNU General Public License as published by /* This program is free software: you can redistribute it and/or modify */
* the Free Software Foundation, either version 3 of the License, or /* it under the terms of the GNU General Public License as published by */
* (at your option) any later version. /* the Free Software Foundation, either version 3 of the License, or */
* /* (at your option) any later version. */
* This program is distributed in the hope that it will be useful, /* */
* but WITHOUT ANY WARRANTY; without even the implied warranty of /* This program is distributed in the hope that it will be useful, */
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the /* but WITHOUT ANY WARRANTY; without even the implied warranty of */
* GNU General Public License for more details. /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
* /* GNU General Public License for more details. */
* You should have received a copy of the GNU General Public License /* */
* along with this program. If not, see <http://www.gnu.org/licenses/>. /* You should have received a copy of the GNU General Public License */
* /* along with this program. If not, see <http://www.gnu.org/licenses/>. */
* /* */
* ___====-_ _-====___ /*******************************************************************************/
* _--^^^#####// \\#####^^^--_
* _-^##########// ( ) \\##########^-_
* -############// |\^^/| \\############-
* _/############// (@::@) \\############\_
* /#############(( \\// ))#############\
* -###############\\ (oo) //###############-
* -#################\\ / VV \ //#################-
* -###################\\/ \//###################-
* _#/|##########/\######( /\ )######/\##########|\#_
* |/ |#/\#/\#/\/ \#/\##\ | | /##/\#/ \/\#/\#/\#| \|
* ` |/ V V ` V \#\| | | |/#/ V ' V V \| '
* ` ` ` ` / | | | | \ ' ' ' '
* ( | | | | )
* __\ | | | | /__
* (vvv(VVV)(VVV)vvv)
*
* HERE BE DRAGONS
*
*/
package com.github.shadowsocks package com.github.shadowsocks
......
/* /*******************************************************************************/
* Shadowsocks - A shadowsocks client for Android /* */
* Copyright (C) 2014 <max.c.lv@gmail.com> /* Copyright (C) 2016 by Max Lv <max.c.lv@gmail.com> */
* /* Copyright (C) 2016 by Mygod Studio <contact-shadowsocks-android@mygod.be> */
* This program is free software: you can redistribute it and/or modify /* */
* it under the terms of the GNU General Public License as published by /* This program is free software: you can redistribute it and/or modify */
* the Free Software Foundation, either version 3 of the License, or /* it under the terms of the GNU General Public License as published by */
* (at your option) any later version. /* the Free Software Foundation, either version 3 of the License, or */
* /* (at your option) any later version. */
* This program is distributed in the hope that it will be useful, /* */
* but WITHOUT ANY WARRANTY; without even the implied warranty of /* This program is distributed in the hope that it will be useful, */
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the /* but WITHOUT ANY WARRANTY; without even the implied warranty of */
* GNU General Public License for more details. /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
* /* GNU General Public License for more details. */
* You should have received a copy of the GNU General Public License /* */
* along with this program. If not, see <http://www.gnu.org/licenses/>. /* You should have received a copy of the GNU General Public License */
* /* along with this program. If not, see <http://www.gnu.org/licenses/>. */
* /* */
* ___====-_ _-====___ /*******************************************************************************/
* _--^^^#####// \\#####^^^--_
* _-^##########// ( ) \\##########^-_
* -############// |\^^/| \\############-
* _/############// (@::@) \\############\_
* /#############(( \\// ))#############\
* -###############\\ (oo) //###############-
* -#################\\ / VV \ //#################-
* -###################\\/ \//###################-
* _#/|##########/\######( /\ )######/\##########|\#_
* |/ |#/\#/\#/\/ \#/\##\ | | /##/\#/ \/\#/\#/\#| \|
* ` |/ V V ` V \#\| | | |/#/ V ' V V \| '
* ` ` ` ` / | | | | \ ' ' ' '
* ( | | | | )
* __\ | | | | /__
* (vvv(VVV)(VVV)vvv)
*
* HERE BE DRAGONS
*
*/
package com.github.shadowsocks package com.github.shadowsocks
......
/* /*******************************************************************************/
* Shadowsocks - A shadowsocks client for Android /* */
* Copyright (C) 2014 <max.c.lv@gmail.com> /* Copyright (C) 2016 by Max Lv <max.c.lv@gmail.com> */
* /* Copyright (C) 2016 by Mygod Studio <contact-shadowsocks-android@mygod.be> */
* This program is free software: you can redistribute it and/or modify /* */
* it under the terms of the GNU General Public License as published by /* This program is free software: you can redistribute it and/or modify */
* the Free Software Foundation, either version 3 of the License, or /* it under the terms of the GNU General Public License as published by */
* (at your option) any later version. /* the Free Software Foundation, either version 3 of the License, or */
* /* (at your option) any later version. */
* This program is distributed in the hope that it will be useful, /* */
* but WITHOUT ANY WARRANTY; without even the implied warranty of /* This program is distributed in the hope that it will be useful, */
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the /* but WITHOUT ANY WARRANTY; without even the implied warranty of */
* GNU General Public License for more details. /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
* /* GNU General Public License for more details. */
* You should have received a copy of the GNU General Public License /* */
* along with this program. If not, see <http://www.gnu.org/licenses/>. /* You should have received a copy of the GNU General Public License */
* /* along with this program. If not, see <http://www.gnu.org/licenses/>. */
* /* */
* ___====-_ _-====___ /*******************************************************************************/
* _--^^^#####// \\#####^^^--_
* _-^##########// ( ) \\##########^-_
* -############// |\^^/| \\############-
* _/############// (@::@) \\############\_
* /#############(( \\// ))#############\
* -###############\\ (oo) //###############-
* -#################\\ / VV \ //#################-
* -###################\\/ \//###################-
* _#/|##########/\######( /\ )######/\##########|\#_
* |/ |#/\#/\#/\/ \#/\##\ | | /##/\#/ \/\#/\#/\#| \|
* ` |/ V V ` V \#\| | | |/#/ V ' V V \| '
* ` ` ` ` / | | | | \ ' ' ' '
* ( | | | | )
* __\ | | | | /__
* (vvv(VVV)(VVV)vvv)
*
* HERE BE DRAGONS
*
*/
package com.github.shadowsocks package com.github.shadowsocks
......
/* /*******************************************************************************/
* Shadowsocks - A shadowsocks client for Android /* */
* Copyright (C) 2016 <max.c.lv@gmail.com> /* Copyright (C) 2016 by Max Lv <max.c.lv@gmail.com> */
* /* Copyright (C) 2016 by Mygod Studio <contact-shadowsocks-android@mygod.be> */
* This program is free software: you can redistribute it and/or modify /* */
* it under the terms of the GNU General Public License as published by /* This program is free software: you can redistribute it and/or modify */
* the Free Software Foundation, either version 3 of the License, or /* it under the terms of the GNU General Public License as published by */
* (at your option) any later version. /* the Free Software Foundation, either version 3 of the License, or */
* /* (at your option) any later version. */
* This program is distributed in the hope that it will be useful, /* */
* but WITHOUT ANY WARRANTY; without even the implied warranty of /* This program is distributed in the hope that it will be useful, */
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the /* but WITHOUT ANY WARRANTY; without even the implied warranty of */
* GNU General Public License for more details. /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
* /* GNU General Public License for more details. */
* You should have received a copy of the GNU General Public License /* */
* along with this program. If not, see <http://www.gnu.org/licenses/>. /* You should have received a copy of the GNU General Public License */
* /* along with this program. If not, see <http://www.gnu.org/licenses/>. */
* /* */
* ___====-_ _-====___ /*******************************************************************************/
* _--^^^#####// \\#####^^^--_
* _-^##########// ( ) \\##########^-_
* -############// |\^^/| \\############-
* _/############// (@::@) \\############\_
* /#############(( \\// ))#############\
* -###############\\ (oo) //###############-
* -#################\\ / VV \ //#################-
* -###################\\/ \//###################-
* _#/|##########/\######( /\ )######/\##########|\#_
* |/ |#/\#/\#/\/ \#/\##\ | | /##/\#/ \/\#/\#/\#| \|
* ` |/ V V ` V \#\| | | |/#/ V ' V V \| '
* ` ` ` ` / | | | | \ ' ' ' '
* ( | | | | )
* __\ | | | | /__
* (vvv(VVV)(VVV)vvv)
*
* HERE BE DRAGONS
*
*/
package com.github.shadowsocks package com.github.shadowsocks
......
/*******************************************************************************/
/* */
/* Copyright (C) 2016 by Max Lv <max.c.lv@gmail.com> */
/* Copyright (C) 2016 by Mygod Studio <contact-shadowsocks-android@mygod.be> */
/* */
/* This program is free software: you can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation, either version 3 of the License, or */
/* (at your option) any later version. */
/* */
/* This program is distributed in the hope that it will be useful, */
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
/* GNU General Public License for more details. */
/* */
/* You should have received a copy of the GNU General Public License */
/* along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* */
/*******************************************************************************/
package com.github.shadowsocks package com.github.shadowsocks
import java.nio.charset.Charset import java.nio.charset.Charset
......
/*******************************************************************************/
/* */
/* Copyright (C) 2016 by Max Lv <max.c.lv@gmail.com> */
/* Copyright (C) 2016 by Mygod Studio <contact-shadowsocks-android@mygod.be> */
/* */
/* This program is free software: you can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation, either version 3 of the License, or */
/* (at your option) any later version. */
/* */
/* This program is distributed in the hope that it will be useful, */
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
/* GNU General Public License for more details. */
/* */
/* You should have received a copy of the GNU General Public License */
/* along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* */
/*******************************************************************************/
package com.github.shadowsocks package com.github.shadowsocks
import android.app.Activity import android.app.Activity
......
/*******************************************************************************/
/* */
/* Copyright (C) 2016 by Max Lv <max.c.lv@gmail.com> */
/* Copyright (C) 2016 by Mygod Studio <contact-shadowsocks-android@mygod.be> */
/* */
/* This program is free software: you can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation, either version 3 of the License, or */
/* (at your option) any later version. */
/* */
/* This program is distributed in the hope that it will be useful, */
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
/* GNU General Public License for more details. */
/* */
/* You should have received a copy of the GNU General Public License */
/* along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* */
/*******************************************************************************/
package com.github.shadowsocks package com.github.shadowsocks
import android.app.{Activity, TaskStackBuilder} import android.app.{Activity, TaskStackBuilder}
......
/*******************************************************************************/
/* */
/* Copyright (C) 2016 by Max Lv <max.c.lv@gmail.com> */
/* Copyright (C) 2016 by Mygod Studio <contact-shadowsocks-android@mygod.be> */
/* */
/* This program is free software: you can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation, either version 3 of the License, or */
/* (at your option) any later version. */
/* */
/* This program is distributed in the hope that it will be useful, */
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
/* GNU General Public License for more details. */
/* */
/* You should have received a copy of the GNU General Public License */
/* along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* */
/*******************************************************************************/
package com.github.shadowsocks package com.github.shadowsocks
import android.content.{ComponentName, Context, Intent, ServiceConnection} import android.content.{ComponentName, Context, Intent, ServiceConnection}
......
/* /*******************************************************************************/
* Shadowsocks - A shadowsocks client for Android /* */
* Copyright (C) 2014 <max.c.lv@gmail.com> /* Copyright (C) 2016 by Max Lv <max.c.lv@gmail.com> */
* /* Copyright (C) 2016 by Mygod Studio <contact-shadowsocks-android@mygod.be> */
* This program is free software: you can redistribute it and/or modify /* */
* it under the terms of the GNU General Public License as published by /* This program is free software: you can redistribute it and/or modify */
* the Free Software Foundation, either version 3 of the License, or /* it under the terms of the GNU General Public License as published by */
* (at your option) any later version. /* the Free Software Foundation, either version 3 of the License, or */
* /* (at your option) any later version. */
* This program is distributed in the hope that it will be useful, /* */
* but WITHOUT ANY WARRANTY; without even the implied warranty of /* This program is distributed in the hope that it will be useful, */
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the /* but WITHOUT ANY WARRANTY; without even the implied warranty of */
* GNU General Public License for more details. /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
* /* GNU General Public License for more details. */
* You should have received a copy of the GNU General Public License /* */
* along with this program. If not, see <http://www.gnu.org/licenses/>. /* You should have received a copy of the GNU General Public License */
* /* along with this program. If not, see <http://www.gnu.org/licenses/>. */
* /* */
* ___====-_ _-====___ /*******************************************************************************/
* _--^^^#####// \\#####^^^--_
* _-^##########// ( ) \\##########^-_
* -############// |\^^/| \\############-
* _/############// (@::@) \\############\_
* /#############(( \\// ))#############\
* -###############\\ (oo) //###############-
* -#################\\ / VV \ //#################-
* -###################\\/ \//###################-
* _#/|##########/\######( /\ )######/\##########|\#_
* |/ |#/\#/\#/\/ \#/\##\ | | /##/\#/ \/\#/\#/\#| \|
* ` |/ V V ` V \#\| | | |/#/ V ' V V \| '
* ` ` ` ` / | | | | \ ' ' ' '
* ( | | | | )
* __\ | | | | /__
* (vvv(VVV)(VVV)vvv)
*
* HERE BE DRAGONS
*
*/
package com.github.shadowsocks package com.github.shadowsocks
import java.lang.System.currentTimeMillis import java.lang.System.currentTimeMillis
......
/* /*******************************************************************************/
* Shadowsocks - A shadowsocks client for Android /* */
* Copyright (C) 2014 <max.c.lv@gmail.com> /* Copyright (C) 2016 by Max Lv <max.c.lv@gmail.com> */
* /* Copyright (C) 2016 by Mygod Studio <contact-shadowsocks-android@mygod.be> */
* This program is free software: you can redistribute it and/or modify /* */
* it under the terms of the GNU General Public License as published by /* This program is free software: you can redistribute it and/or modify */
* the Free Software Foundation, either version 3 of the License, or /* it under the terms of the GNU General Public License as published by */
* (at your option) any later version. /* the Free Software Foundation, either version 3 of the License, or */
* /* (at your option) any later version. */
* This program is distributed in the hope that it will be useful, /* */
* but WITHOUT ANY WARRANTY; without even the implied warranty of /* This program is distributed in the hope that it will be useful, */
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the /* but WITHOUT ANY WARRANTY; without even the implied warranty of */
* GNU General Public License for more details. /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
* /* GNU General Public License for more details. */
* You should have received a copy of the GNU General Public License /* */
* along with this program. If not, see <http://www.gnu.org/licenses/>. /* You should have received a copy of the GNU General Public License */
* /* along with this program. If not, see <http://www.gnu.org/licenses/>. */
* /* */
* ___====-_ _-====___ /*******************************************************************************/
* _--^^^#####// \\#####^^^--_
* _-^##########// ( ) \\##########^-_
* -############// |\^^/| \\############-
* _/############// (@::@) \\############\_
* /#############(( \\// ))#############\
* -###############\\ (oo) //###############-
* -#################\\ / VV \ //#################-
* -###################\\/ \//###################-
* _#/|##########/\######( /\ )######/\##########|\#_
* |/ |#/\#/\#/\/ \#/\##\ | | /##/\#/ \/\#/\#/\#| \|
* ` |/ V V ` V \#\| | | |/#/ V ' V V \| '
* ` ` ` ` / | | | | \ ' ' ' '
* ( | | | | )
* __\ | | | | /__
* (vvv(VVV)(VVV)vvv)
*
* HERE BE DRAGONS
*
*/
package com.github.shadowsocks package com.github.shadowsocks
......
/* /*******************************************************************************/
* Shadowsocks - A shadowsocks client for Android /* */
* Copyright (C) 2014 <max.c.lv@gmail.com> /* Copyright (C) 2016 by Max Lv <max.c.lv@gmail.com> */
* /* Copyright (C) 2016 by Mygod Studio <contact-shadowsocks-android@mygod.be> */
* This program is free software: you can redistribute it and/or modify /* */
* it under the terms of the GNU General Public License as published by /* This program is free software: you can redistribute it and/or modify */
* the Free Software Foundation, either version 3 of the License, or /* it under the terms of the GNU General Public License as published by */
* (at your option) any later version. /* the Free Software Foundation, either version 3 of the License, or */
* /* (at your option) any later version. */
* This program is distributed in the hope that it will be useful, /* */
* but WITHOUT ANY WARRANTY; without even the implied warranty of /* This program is distributed in the hope that it will be useful, */
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the /* but WITHOUT ANY WARRANTY; without even the implied warranty of */
* GNU General Public License for more details. /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
* /* GNU General Public License for more details. */
* You should have received a copy of the GNU General Public License /* */
* along with this program. If not, see <http://www.gnu.org/licenses/>. /* You should have received a copy of the GNU General Public License */
* /* along with this program. If not, see <http://www.gnu.org/licenses/>. */
* /* */
* ___====-_ _-====___ /*******************************************************************************/
* _--^^^#####// \\#####^^^--_
* _-^##########// ( ) \\##########^-_
* -############// |\^^/| \\############-
* _/############// (@::@) \\############\_
* /#############(( \\// ))#############\
* -###############\\ (oo) //###############-
* -#################\\ / VV \ //#################-
* -###################\\/ \//###################-
* _#/|##########/\######( /\ )######/\##########|\#_
* |/ |#/\#/\#/\/ \#/\##\ | | /##/\#/ \/\#/\#/\#| \|
* ` |/ V V ` V \#\| | | |/#/ V ' V V \| '
* ` ` ` ` / | | | | \ ' ' ' '
* ( | | | | )
* __\ | | | | /__
* (vvv(VVV)(VVV)vvv)
*
* HERE BE DRAGONS
*
*/
package com.github.shadowsocks package com.github.shadowsocks
......
/* /*******************************************************************************/
* Shadowsocks - A shadowsocks client for Android /* */
* Copyright (C) 2014 <max.c.lv@gmail.com> /* Copyright (C) 2016 by Max Lv <max.c.lv@gmail.com> */
* /* Copyright (C) 2016 by Mygod Studio <contact-shadowsocks-android@mygod.be> */
* This program is free software: you can redistribute it and/or modify /* */
* it under the terms of the GNU General Public License as published by /* This program is free software: you can redistribute it and/or modify */
* the Free Software Foundation, either version 3 of the License, or /* it under the terms of the GNU General Public License as published by */
* (at your option) any later version. /* the Free Software Foundation, either version 3 of the License, or */
* /* (at your option) any later version. */
* This program is distributed in the hope that it will be useful, /* */
* but WITHOUT ANY WARRANTY; without even the implied warranty of /* This program is distributed in the hope that it will be useful, */
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the /* but WITHOUT ANY WARRANTY; without even the implied warranty of */
* GNU General Public License for more details. /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
* /* GNU General Public License for more details. */
* You should have received a copy of the GNU General Public License /* */
* along with this program. If not, see <http://www.gnu.org/licenses/>. /* You should have received a copy of the GNU General Public License */
* /* along with this program. If not, see <http://www.gnu.org/licenses/>. */
* /* */
* ___====-_ _-====___ /*******************************************************************************/
* _--^^^#####// \\#####^^^--_
* _-^##########// ( ) \\##########^-_
* -############// |\^^/| \\############-
* _/############// (@::@) \\############\_
* /#############(( \\// ))#############\
* -###############\\ (oo) //###############-
* -#################\\ / VV \ //#################-
* -###################\\/ \//###################-
* _#/|##########/\######( /\ )######/\##########|\#_
* |/ |#/\#/\#/\/ \#/\##\ | | /##/\#/ \/\#/\#/\#| \|
* ` |/ V V ` V \#\| | | |/#/ V ' V V \| '
* ` ` ` ` / | | | | \ ' ' ' '
* ( | | | | )
* __\ | | | | /__
* (vvv(VVV)(VVV)vvv)
*
* HERE BE DRAGONS
*
*/
package com.github.shadowsocks package com.github.shadowsocks
......
/*******************************************************************************/
/* */
/* Copyright (C) 2016 by Max Lv <max.c.lv@gmail.com> */
/* Copyright (C) 2016 by Mygod Studio <contact-shadowsocks-android@mygod.be> */
/* */
/* This program is free software: you can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation, either version 3 of the License, or */
/* (at your option) any later version. */
/* */
/* This program is distributed in the hope that it will be useful, */
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
/* GNU General Public License for more details. */
/* */
/* You should have received a copy of the GNU General Public License */
/* along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* */
/*******************************************************************************/
package com.github.shadowsocks package com.github.shadowsocks
import java.util.Locale import java.util.Locale
......
/*******************************************************************************/
/* */
/* Copyright (C) 2016 by Max Lv <max.c.lv@gmail.com> */
/* Copyright (C) 2016 by Mygod Studio <contact-shadowsocks-android@mygod.be> */
/* */
/* This program is free software: you can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation, either version 3 of the License, or */
/* (at your option) any later version. */
/* */
/* This program is distributed in the hope that it will be useful, */
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
/* GNU General Public License for more details. */
/* */
/* You should have received a copy of the GNU General Public License */
/* along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* */
/*******************************************************************************/
package com.github.shadowsocks package com.github.shadowsocks
import android.content.pm.ShortcutManager import android.content.pm.ShortcutManager
......
/* /*******************************************************************************/
* Shadowsocks - A shadowsocks client for Android /* */
* Copyright (C) 2014 <max.c.lv@gmail.com> /* Copyright (C) 2016 by Max Lv <max.c.lv@gmail.com> */
* /* Copyright (C) 2016 by Mygod Studio <contact-shadowsocks-android@mygod.be> */
* This program is free software: you can redistribute it and/or modify /* */
* it under the terms of the GNU General Public License as published by /* This program is free software: you can redistribute it and/or modify */
* the Free Software Foundation, either version 3 of the License, or /* it under the terms of the GNU General Public License as published by */
* (at your option) any later version. /* the Free Software Foundation, either version 3 of the License, or */
* /* (at your option) any later version. */
* This program is distributed in the hope that it will be useful, /* */
* but WITHOUT ANY WARRANTY; without even the implied warranty of /* This program is distributed in the hope that it will be useful, */
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the /* but WITHOUT ANY WARRANTY; without even the implied warranty of */
* GNU General Public License for more details. /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
* /* GNU General Public License for more details. */
* You should have received a copy of the GNU General Public License /* */
* along with this program. If not, see <http://www.gnu.org/licenses/>. /* You should have received a copy of the GNU General Public License */
* /* along with this program. If not, see <http://www.gnu.org/licenses/>. */
* /* */
* ___====-_ _-====___ /*******************************************************************************/
* _--^^^#####// \\#####^^^--_
* _-^##########// ( ) \\##########^-_
* -############// |\^^/| \\############-
* _/############// (@::@) \\############\_
* /#############(( \\// ))#############\
* -###############\\ (oo) //###############-
* -#################\\ / VV \ //#################-
* -###################\\/ \//###################-
* _#/|##########/\######( /\ )######/\##########|\#_
* |/ |#/\#/\#/\/ \#/\##\ | | /##/\#/ \/\#/\#/\#| \|
* ` |/ V V ` V \#\| | | |/#/ V ' V V \| '
* ` ` ` ` / | | | | \ ' ' ' '
* ( | | | | )
* __\ | | | | /__
* (vvv(VVV)(VVV)vvv)
*
* HERE BE DRAGONS
*
*/
package com.github.shadowsocks package com.github.shadowsocks
......
/* /*******************************************************************************/
* Shadowsocks - A shadowsocks client for Android /* */
* Copyright (C) 2014 <max.c.lv@gmail.com> /* Copyright (C) 2016 by Max Lv <max.c.lv@gmail.com> */
* /* Copyright (C) 2016 by Mygod Studio <contact-shadowsocks-android@mygod.be> */
* This program is free software: you can redistribute it and/or modify /* */
* it under the terms of the GNU General Public License as published by /* This program is free software: you can redistribute it and/or modify */
* the Free Software Foundation, either version 3 of the License, or /* it under the terms of the GNU General Public License as published by */
* (at your option) any later version. /* the Free Software Foundation, either version 3 of the License, or */
* /* (at your option) any later version. */
* This program is distributed in the hope that it will be useful, /* */
* but WITHOUT ANY WARRANTY; without even the implied warranty of /* This program is distributed in the hope that it will be useful, */
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the /* but WITHOUT ANY WARRANTY; without even the implied warranty of */
* GNU General Public License for more details. /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
* /* GNU General Public License for more details. */
* You should have received a copy of the GNU General Public License /* */
* along with this program. If not, see <http://www.gnu.org/licenses/>. /* You should have received a copy of the GNU General Public License */
* /* along with this program. If not, see <http://www.gnu.org/licenses/>. */
* /* */
* ___====-_ _-====___ /*******************************************************************************/
* _--^^^#####// \\#####^^^--_
* _-^##########// ( ) \\##########^-_
* -############// |\^^/| \\############-
* _/############// (@::@) \\############\_
* /#############(( \\// ))#############\
* -###############\\ (oo) //###############-
* -#################\\ / VV \ //#################-
* -###################\\/ \//###################-
* _#/|##########/\######( /\ )######/\##########|\#_
* |/ |#/\#/\#/\/ \#/\##\ | | /##/\#/ \/\#/\#/\#| \|
* ` |/ V V ` V \#\| | | |/#/ V ' V V \| '
* ` ` ` ` / | | | | \ ' ' ' '
* ( | | | | )
* __\ | | | | /__
* (vvv(VVV)(VVV)vvv)
*
* HERE BE DRAGONS
*
*/
package com.github.shadowsocks package com.github.shadowsocks
......
/*******************************************************************************/
/* */
/* Copyright (C) 2016 by Max Lv <max.c.lv@gmail.com> */
/* Copyright (C) 2016 by Mygod Studio <contact-shadowsocks-android@mygod.be> */
/* */
/* This program is free software: you can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation, either version 3 of the License, or */
/* (at your option) any later version. */
/* */
/* This program is distributed in the hope that it will be useful, */
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
/* GNU General Public License for more details. */
/* */
/* You should have received a copy of the GNU General Public License */
/* along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* */
/*******************************************************************************/
package com.github.shadowsocks package com.github.shadowsocks
import java.util.Locale import java.util.Locale
......
/*******************************************************************************/
/* */
/* Copyright (C) 2016 by Max Lv <max.c.lv@gmail.com> */
/* Copyright (C) 2016 by Mygod Studio <contact-shadowsocks-android@mygod.be> */
/* */
/* This program is free software: you can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation, either version 3 of the License, or */
/* (at your option) any later version. */
/* */
/* This program is distributed in the hope that it will be useful, */
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
/* GNU General Public License for more details. */
/* */
/* You should have received a copy of the GNU General Public License */
/* along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* */
/*******************************************************************************/
package com.github.shadowsocks package com.github.shadowsocks
import android.annotation.TargetApi import android.annotation.TargetApi
......
/* /*******************************************************************************/
* Shadowsocks - A shadowsocks client for Android /* */
* Copyright (C) 2014 <max.c.lv@gmail.com> /* Copyright (C) 2016 by Max Lv <max.c.lv@gmail.com> */
* /* Copyright (C) 2016 by Mygod Studio <contact-shadowsocks-android@mygod.be> */
* This program is free software: you can redistribute it and/or modify /* */
* it under the terms of the GNU General Public License as published by /* This program is free software: you can redistribute it and/or modify */
* the Free Software Foundation, either version 3 of the License, or /* it under the terms of the GNU General Public License as published by */
* (at your option) any later version. /* the Free Software Foundation, either version 3 of the License, or */
* /* (at your option) any later version. */
* This program is distributed in the hope that it will be useful, /* */
* but WITHOUT ANY WARRANTY; without even the implied warranty of /* This program is distributed in the hope that it will be useful, */
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the /* but WITHOUT ANY WARRANTY; without even the implied warranty of */
* GNU General Public License for more details. /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
* /* GNU General Public License for more details. */
* You should have received a copy of the GNU General Public License /* */
* along with this program. If not, see <http://www.gnu.org/licenses/>. /* You should have received a copy of the GNU General Public License */
* /* along with this program. If not, see <http://www.gnu.org/licenses/>. */
* /* */
* ___====-_ _-====___ /*******************************************************************************/
* _--^^^#####// \\#####^^^--_
* _-^##########// ( ) \\##########^-_
* -############// |\^^/| \\############-
* _/############// (@::@) \\############\_
* /#############(( \\// ))#############\
* -###############\\ (oo) //###############-
* -#################\\ / VV \ //#################-
* -###################\\/ \//###################-
* _#/|##########/\######( /\ )######/\##########|\#_
* |/ |#/\#/\#/\/ \#/\##\ | | /##/\#/ \/\#/\#/\#| \|
* ` |/ V V ` V \#\| | | |/#/ V ' V V \| '
* ` ` ` ` / | | | | \ ' ' ' '
* ( | | | | )
* __\ | | | | /__
* (vvv(VVV)(VVV)vvv)
*
* HERE BE DRAGONS
*
*/
package com.github.shadowsocks package com.github.shadowsocks
......
/* /*******************************************************************************/
* Shadowsocks - A shadowsocks client for Android /* */
* Copyright (C) 2015 <max.c.lv@gmail.com> /* Copyright (C) 2016 by Max Lv <max.c.lv@gmail.com> */
* /* Copyright (C) 2016 by Mygod Studio <contact-shadowsocks-android@mygod.be> */
* This program is free software: you can redistribute it and/or modify /* */
* it under the terms of the GNU General Public License as published by /* This program is free software: you can redistribute it and/or modify */
* the Free Software Foundation, either version 3 of the License, or /* it under the terms of the GNU General Public License as published by */
* (at your option) any later version. /* the Free Software Foundation, either version 3 of the License, or */
* /* (at your option) any later version. */
* This program is distributed in the hope that it will be useful, /* */
* but WITHOUT ANY WARRANTY; without even the implied warranty of /* This program is distributed in the hope that it will be useful, */
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the /* but WITHOUT ANY WARRANTY; without even the implied warranty of */
* GNU General Public License for more details. /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
* /* GNU General Public License for more details. */
* You should have received a copy of the GNU General Public License /* */
* along with this program. If not, see <http://www.gnu.org/licenses/>. /* You should have received a copy of the GNU General Public License */
* /* along with this program. If not, see <http://www.gnu.org/licenses/>. */
* /* */
* ___====-_ _-====___ /*******************************************************************************/
* _--^^^#####// \\#####^^^--_
* _-^##########// ( ) \\##########^-_
* -############// |\^^/| \\############-
* _/############// (@::@) \\############\_
* /#############(( \\// ))#############\
* -###############\\ (oo) //###############-
* -#################\\ / VV \ //#################-
* -###################\\/ \//###################-
* _#/|##########/\######( /\ )######/\##########|\#_
* |/ |#/\#/\#/\/ \#/\##\ | | /##/\#/ \/\#/\#/\#| \|
* ` |/ V V ` V \#\| | | |/#/ V ' V V \| '
* ` ` ` ` / | | | | \ ' ' ' '
* ( | | | | )
* __\ | | | | /__
* (vvv(VVV)(VVV)vvv)
*
* HERE BE DRAGONS
*
*/
package com.github.shadowsocks package com.github.shadowsocks
......
/* /*******************************************************************************/
* Shadowsocks - A shadowsocks client for Android /* */
* Copyright (C) 2014 <max.c.lv@gmail.com> /* Copyright (C) 2016 by Max Lv <max.c.lv@gmail.com> */
* /* Copyright (C) 2016 by Mygod Studio <contact-shadowsocks-android@mygod.be> */
* This program is free software: you can redistribute it and/or modify /* */
* it under the terms of the GNU General Public License as published by /* This program is free software: you can redistribute it and/or modify */
* the Free Software Foundation, either version 3 of the License, or /* it under the terms of the GNU General Public License as published by */
* (at your option) any later version. /* the Free Software Foundation, either version 3 of the License, or */
* /* (at your option) any later version. */
* This program is distributed in the hope that it will be useful, /* */
* but WITHOUT ANY WARRANTY; without even the implied warranty of /* This program is distributed in the hope that it will be useful, */
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the /* but WITHOUT ANY WARRANTY; without even the implied warranty of */
* GNU General Public License for more details. /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
* /* GNU General Public License for more details. */
* You should have received a copy of the GNU General Public License /* */
* along with this program. If not, see <http://www.gnu.org/licenses/>. /* You should have received a copy of the GNU General Public License */
* /* along with this program. If not, see <http://www.gnu.org/licenses/>. */
* /* */
* ___====-_ _-====___ /*******************************************************************************/
* _--^^^#####// \\#####^^^--_
* _-^##########// ( ) \\##########^-_
* -############// |\^^/| \\############-
* _/############// (@::@) \\############\_
* /#############(( \\// ))#############\
* -###############\\ (oo) //###############-
* -#################\\ / VV \ //#################-
* -###################\\/ \//###################-
* _#/|##########/\######( /\ )######/\##########|\#_
* |/ |#/\#/\#/\/ \#/\##\ | | /##/\#/ \/\#/\#/\#| \|
* ` |/ V V ` V \#\| | | |/#/ V ' V V \| '
* ` ` ` ` / | | | | \ ' ' ' '
* ( | | | | )
* __\ | | | | /__
* (vvv(VVV)(VVV)vvv)
*
* HERE BE DRAGONS
*
*/
package com.github.shadowsocks package com.github.shadowsocks
import android.app.Activity import android.app.Activity
......
/* /*******************************************************************************/
* Shadowsocks - A shadowsocks client for Android /* */
* Copyright (C) 2014 <max.c.lv@gmail.com> /* Copyright (C) 2016 by Max Lv <max.c.lv@gmail.com> */
* /* Copyright (C) 2016 by Mygod Studio <contact-shadowsocks-android@mygod.be> */
* This program is free software: you can redistribute it and/or modify /* */
* it under the terms of the GNU General Public License as published by /* This program is free software: you can redistribute it and/or modify */
* the Free Software Foundation, either version 3 of the License, or /* it under the terms of the GNU General Public License as published by */
* (at your option) any later version. /* the Free Software Foundation, either version 3 of the License, or */
* /* (at your option) any later version. */
* This program is distributed in the hope that it will be useful, /* */
* but WITHOUT ANY WARRANTY; without even the implied warranty of /* This program is distributed in the hope that it will be useful, */
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the /* but WITHOUT ANY WARRANTY; without even the implied warranty of */
* GNU General Public License for more details. /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
* /* GNU General Public License for more details. */
* You should have received a copy of the GNU General Public License /* */
* along with this program. If not, see <http://www.gnu.org/licenses/>. /* You should have received a copy of the GNU General Public License */
* /* along with this program. If not, see <http://www.gnu.org/licenses/>. */
* /* */
* ___====-_ _-====___ /*******************************************************************************/
* _--^^^#####// \\#####^^^--_
* _-^##########// ( ) \\##########^-_
* -############// |\^^/| \\############-
* _/############// (@::@) \\############\_
* /#############(( \\// ))#############\
* -###############\\ (oo) //###############-
* -#################\\ / VV \ //#################-
* -###################\\/ \//###################-
* _#/|##########/\######( /\ )######/\##########|\#_
* |/ |#/\#/\#/\/ \#/\##\ | | /##/\#/ \/\#/\#/\#| \|
* ` |/ V V ` V \#\| | | |/#/ V ' V V \| '
* ` ` ` ` / | | | | \ ' ' ' '
* ( | | | | )
* __\ | | | | /__
* (vvv(VVV)(VVV)vvv)
*
* HERE BE DRAGONS
*
*/
package com.github.shadowsocks package com.github.shadowsocks
import android.content.{BroadcastReceiver, Context, Intent} import android.content.{BroadcastReceiver, Context, Intent}
......
/* /*******************************************************************************/
* Shadowsocks - A shadowsocks client for Android /* */
* Copyright (C) 2013 <max.c.lv@gmail.com> /* Copyright (C) 2016 by Max Lv <max.c.lv@gmail.com> */
* /* Copyright (C) 2016 by Mygod Studio <contact-shadowsocks-android@mygod.be> */
* This program is free software: you can redistribute it and/or modify /* */
* it under the terms of the GNU General Public License as published by /* This program is free software: you can redistribute it and/or modify */
* the Free Software Foundation, either version 3 of the License, or /* it under the terms of the GNU General Public License as published by */
* (at your option) any later version. /* the Free Software Foundation, either version 3 of the License, or */
* /* (at your option) any later version. */
* This program is distributed in the hope that it will be useful, /* */
* but WITHOUT ANY WARRANTY; without even the implied warranty of /* This program is distributed in the hope that it will be useful, */
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the /* but WITHOUT ANY WARRANTY; without even the implied warranty of */
* GNU General Public License for more details. /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
* /* GNU General Public License for more details. */
* You should have received a copy of the GNU General Public License /* */
* along with this program. If not, see <http://www.gnu.org/licenses/>. /* You should have received a copy of the GNU General Public License */
* /* along with this program. If not, see <http://www.gnu.org/licenses/>. */
* /* */
* ___====-_ _-====___ /*******************************************************************************/
* _--^^^#####// \\#####^^^--_
* _-^##########// ( ) \\##########^-_
* -############// |\^^/| \\############-
* _/############// (@::@) \\############\_
* /#############(( \\// ))#############\
* -###############\\ (oo) //###############-
* -#################\\ / VV \ //#################-
* -###################\\/ \//###################-
* _#/|##########/\######( /\ )######/\##########|\#_
* |/ |#/\#/\#/\/ \#/\##\ | | /##/\#/ \/\#/\#/\#| \|
* ` |/ V V ` V \#\| | | |/#/ V ' V V \| '
* ` ` ` ` / | | | | \ ' ' ' '
* ( | | | | )
* __\ | | | | /__
* (vvv(VVV)(VVV)vvv)
*
* HERE BE DRAGONS
*
*/
package com.github.shadowsocks.database package com.github.shadowsocks.database
......
/* /*******************************************************************************/
* Shadowsocks - A shadowsocks client for Android /* */
* Copyright (C) 2014 <max.c.lv@gmail.com> /* Copyright (C) 2016 by Max Lv <max.c.lv@gmail.com> */
* /* Copyright (C) 2016 by Mygod Studio <contact-shadowsocks-android@mygod.be> */
* This program is free software: you can redistribute it and/or modify /* */
* it under the terms of the GNU General Public License as published by /* This program is free software: you can redistribute it and/or modify */
* the Free Software Foundation, either version 3 of the License, or /* it under the terms of the GNU General Public License as published by */
* (at your option) any later version. /* the Free Software Foundation, either version 3 of the License, or */
* /* (at your option) any later version. */
* This program is distributed in the hope that it will be useful, /* */
* but WITHOUT ANY WARRANTY; without even the implied warranty of /* This program is distributed in the hope that it will be useful, */
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the /* but WITHOUT ANY WARRANTY; without even the implied warranty of */
* GNU General Public License for more details. /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
* /* GNU General Public License for more details. */
* You should have received a copy of the GNU General Public License /* */
* along with this program. If not, see <http://www.gnu.org/licenses/>. /* You should have received a copy of the GNU General Public License */
* /* along with this program. If not, see <http://www.gnu.org/licenses/>. */
* /* */
* ___====-_ _-====___ /*******************************************************************************/
* _--^^^#####// \\#####^^^--_
* _-^##########// ( ) \\##########^-_
* -############// |\^^/| \\############-
* _/############// (@::@) \\############\_
* /#############(( \\// ))#############\
* -###############\\ (oo) //###############-
* -#################\\ / VV \ //#################-
* -###################\\/ \//###################-
* _#/|##########/\######( /\ )######/\##########|\#_
* |/ |#/\#/\#/\/ \#/\##\ | | /##/\#/ \/\#/\#/\#| \|
* ` |/ V V ` V \#\| | | |/#/ V ' V V \| '
* ` ` ` ` / | | | | \ ' ' ' '
* ( | | | | )
* __\ | | | | /__
* (vvv(VVV)(VVV)vvv)
*
* HERE BE DRAGONS
*
*/
package com.github.shadowsocks.database package com.github.shadowsocks.database
......
/* /*******************************************************************************/
* Shadowsocks - A shadowsocks client for Android /* */
* Copyright (C) 2014 <max.c.lv@gmail.com> /* Copyright (C) 2016 by Max Lv <max.c.lv@gmail.com> */
* /* Copyright (C) 2016 by Mygod Studio <contact-shadowsocks-android@mygod.be> */
* This program is free software: you can redistribute it and/or modify /* */
* it under the terms of the GNU General Public License as published by /* This program is free software: you can redistribute it and/or modify */
* the Free Software Foundation, either version 3 of the License, or /* it under the terms of the GNU General Public License as published by */
* (at your option) any later version. /* the Free Software Foundation, either version 3 of the License, or */
* /* (at your option) any later version. */
* This program is distributed in the hope that it will be useful, /* */
* but WITHOUT ANY WARRANTY; without even the implied warranty of /* This program is distributed in the hope that it will be useful, */
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the /* but WITHOUT ANY WARRANTY; without even the implied warranty of */
* GNU General Public License for more details. /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
* /* GNU General Public License for more details. */
* You should have received a copy of the GNU General Public License /* */
* along with this program. If not, see <http://www.gnu.org/licenses/>. /* You should have received a copy of the GNU General Public License */
* /* along with this program. If not, see <http://www.gnu.org/licenses/>. */
* /* */
* ___====-_ _-====___ /*******************************************************************************/
* _--^^^#####// \\#####^^^--_
* _-^##########// ( ) \\##########^-_
* -############// |\^^/| \\############-
* _/############// (@::@) \\############\_
* /#############(( \\// ))#############\
* -###############\\ (oo) //###############-
* -#################\\ / VV \ //#################-
* -###################\\/ \//###################-
* _#/|##########/\######( /\ )######/\##########|\#_
* |/ |#/\#/\#/\/ \#/\##\ | | /##/\#/ \/\#/\#/\#| \|
* ` |/ V V ` V \#\| | | |/#/ V ' V V \| '
* ` ` ` ` / | | | | \ ' ' ' '
* ( | | | | )
* __\ | | | | /__
* (vvv(VVV)(VVV)vvv)
*
* HERE BE DRAGONS
*
*/
package com.github.shadowsocks.database package com.github.shadowsocks.database
......
/*******************************************************************************/
/* */
/* Copyright (C) 2016 by Max Lv <max.c.lv@gmail.com> */
/* Copyright (C) 2016 by Mygod Studio <contact-shadowsocks-android@mygod.be> */
/* */
/* This program is free software: you can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation, either version 3 of the License, or */
/* (at your option) any later version. */
/* */
/* This program is distributed in the hope that it will be useful, */
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
/* GNU General Public License for more details. */
/* */
/* You should have received a copy of the GNU General Public License */
/* along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* */
/*******************************************************************************/
package com.github.shadowsocks.job package com.github.shadowsocks.job
import java.io.IOException import java.io.IOException
......
/*******************************************************************************/
/* */
/* Copyright (C) 2016 by Max Lv <max.c.lv@gmail.com> */
/* Copyright (C) 2016 by Mygod Studio <contact-shadowsocks-android@mygod.be> */
/* */
/* This program is free software: you can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation, either version 3 of the License, or */
/* (at your option) any later version. */
/* */
/* This program is distributed in the hope that it will be useful, */
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
/* GNU General Public License for more details. */
/* */
/* You should have received a copy of the GNU General Public License */
/* along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* */
/*******************************************************************************/
package com.github.shadowsocks.job package com.github.shadowsocks.job
import android.util.Log import android.util.Log
......
/*******************************************************************************/
/* */
/* Copyright (C) 2016 by Max Lv <max.c.lv@gmail.com> */
/* Copyright (C) 2016 by Mygod Studio <contact-shadowsocks-android@mygod.be> */
/* */
/* This program is free software: you can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation, either version 3 of the License, or */
/* (at your option) any later version. */
/* */
/* This program is distributed in the hope that it will be useful, */
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
/* GNU General Public License for more details. */
/* */
/* You should have received a copy of the GNU General Public License */
/* along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* */
/*******************************************************************************/
package com.github.shadowsocks.preferences package com.github.shadowsocks.preferences
import android.app.AlertDialog import android.app.AlertDialog
......
/*******************************************************************************/
/* */
/* Copyright (C) 2016 by Max Lv <max.c.lv@gmail.com> */
/* Copyright (C) 2016 by Mygod Studio <contact-shadowsocks-android@mygod.be> */
/* */
/* This program is free software: you can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation, either version 3 of the License, or */
/* (at your option) any later version. */
/* */
/* This program is distributed in the hope that it will be useful, */
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
/* GNU General Public License for more details. */
/* */
/* You should have received a copy of the GNU General Public License */
/* along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* */
/*******************************************************************************/
package com.github.shadowsocks.utils package com.github.shadowsocks.utils
/** /**
......
/* /*******************************************************************************/
* Shadowsocks - A shadowsocks client for Android /* */
* Copyright (C) 2014 <max.c.lv@gmail.com> /* Copyright (C) 2016 by Max Lv <max.c.lv@gmail.com> */
* /* Copyright (C) 2016 by Mygod Studio <contact-shadowsocks-android@mygod.be> */
* This program is free software: you can redistribute it and/or modify /* */
* it under the terms of the GNU General Public License as published by /* This program is free software: you can redistribute it and/or modify */
* the Free Software Foundation, either version 3 of the License, or /* it under the terms of the GNU General Public License as published by */
* (at your option) any later version. /* the Free Software Foundation, either version 3 of the License, or */
* /* (at your option) any later version. */
* This program is distributed in the hope that it will be useful, /* */
* but WITHOUT ANY WARRANTY; without even the implied warranty of /* This program is distributed in the hope that it will be useful, */
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the /* but WITHOUT ANY WARRANTY; without even the implied warranty of */
* GNU General Public License for more details. /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
* /* GNU General Public License for more details. */
* You should have received a copy of the GNU General Public License /* */
* along with this program. If not, see <http://www.gnu.org/licenses/>. /* You should have received a copy of the GNU General Public License */
* /* along with this program. If not, see <http://www.gnu.org/licenses/>. */
* /* */
* ___====-_ _-====___ /*******************************************************************************/
* _--^^^#####// \\#####^^^--_
* _-^##########// ( ) \\##########^-_
* -############// |\^^/| \\############-
* _/############// (@::@) \\############\_
* /#############(( \\// ))#############\
* -###############\\ (oo) //###############-
* -#################\\ / VV \ //#################-
* -###################\\/ \//###################-
* _#/|##########/\######( /\ )######/\##########|\#_
* |/ |#/\#/\#/\/ \#/\##\ | | /##/\#/ \/\#/\#/\#| \|
* ` |/ V V ` V \#\| | | |/#/ V ' V V \| '
* ` ` ` ` / | | | | \ ' ' ' '
* ( | | | | )
* __\ | | | | /__
* (vvv(VVV)(VVV)vvv)
*
* HERE BE DRAGONS
*
*/
package com.github.shadowsocks.utils package com.github.shadowsocks.utils
......
/*******************************************************************************/
/* */
/* Copyright (C) 2016 by Max Lv <max.c.lv@gmail.com> */
/* Copyright (C) 2016 by Mygod Studio <contact-shadowsocks-android@mygod.be> */
/* */
/* This program is free software: you can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation, either version 3 of the License, or */
/* (at your option) any later version. */
/* */
/* This program is distributed in the hope that it will be useful, */
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
/* GNU General Public License for more details. */
/* */
/* You should have received a copy of the GNU General Public License */
/* along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* */
/*******************************************************************************/
package com.github.shadowsocks.utils package com.github.shadowsocks.utils
import com.github.shadowsocks.utils.CloseUtils._ import com.github.shadowsocks.utils.CloseUtils._
......
/* /*******************************************************************************/
* Shadowsocks - A shadowsocks client for Android /* */
* Copyright (C) 2014 <max.c.lv@gmail.com> /* Copyright (C) 2016 by Max Lv <max.c.lv@gmail.com> */
* /* Copyright (C) 2016 by Mygod Studio <contact-shadowsocks-android@mygod.be> */
* This program is free software: you can redistribute it and/or modify /* */
* it under the terms of the GNU General Public License as published by /* This program is free software: you can redistribute it and/or modify */
* the Free Software Foundation, either version 3 of the License, or /* it under the terms of the GNU General Public License as published by */
* (at your option) any later version. /* the Free Software Foundation, either version 3 of the License, or */
* /* (at your option) any later version. */
* This program is distributed in the hope that it will be useful, /* */
* but WITHOUT ANY WARRANTY; without even the implied warranty of /* This program is distributed in the hope that it will be useful, */
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the /* but WITHOUT ANY WARRANTY; without even the implied warranty of */
* GNU General Public License for more details. /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
* /* GNU General Public License for more details. */
* You should have received a copy of the GNU General Public License /* */
* along with this program. If not, see <http://www.gnu.org/licenses/>. /* You should have received a copy of the GNU General Public License */
* /* along with this program. If not, see <http://www.gnu.org/licenses/>. */
* /* */
* ___====-_ _-====___ /*******************************************************************************/
* _--^^^#####// \\#####^^^--_
* _-^##########// ( ) \\##########^-_
* -############// |\^^/| \\############-
* _/############// (@::@) \\############\_
* /#############(( \\// ))#############\
* -###############\\ (oo) //###############-
* -#################\\ / VV \ //#################-
* -###################\\/ \//###################-
* _#/|##########/\######( /\ )######/\##########|\#_
* |/ |#/\#/\#/\/ \#/\##\ | | /##/\#/ \/\#/\#/\#| \|
* ` |/ V V ` V \#\| | | |/#/ V ' V V \| '
* ` ` ` ` / | | | | \ ' ' ' '
* ( | | | | )
* __\ | | | | /__
* (vvv(VVV)(VVV)vvv)
*
* HERE BE DRAGONS
*
*/
package com.github.shadowsocks.utils package com.github.shadowsocks.utils
......
/* /*******************************************************************************/
* Shadowsocks - A shadowsocks client for Android /* */
* Copyright (C) 2014 <max.c.lv@gmail.com> /* Copyright (C) 2016 by Max Lv <max.c.lv@gmail.com> */
* /* Copyright (C) 2016 by Mygod Studio <contact-shadowsocks-android@mygod.be> */
* This program is free software: you can redistribute it and/or modify /* */
* it under the terms of the GNU General Public License as published by /* This program is free software: you can redistribute it and/or modify */
* the Free Software Foundation, either version 3 of the License, or /* it under the terms of the GNU General Public License as published by */
* (at your option) any later version. /* the Free Software Foundation, either version 3 of the License, or */
* /* (at your option) any later version. */
* This program is distributed in the hope that it will be useful, /* */
* but WITHOUT ANY WARRANTY; without even the implied warranty of /* This program is distributed in the hope that it will be useful, */
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the /* but WITHOUT ANY WARRANTY; without even the implied warranty of */
* GNU General Public License for more details. /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
* /* GNU General Public License for more details. */
* You should have received a copy of the GNU General Public License /* */
* along with this program. If not, see <http://www.gnu.org/licenses/>. /* You should have received a copy of the GNU General Public License */
* /* along with this program. If not, see <http://www.gnu.org/licenses/>. */
* /* */
* ___====-_ _-====___ /*******************************************************************************/
* _--^^^#####// \\#####^^^--_
* _-^##########// ( ) \\##########^-_
* -############// |\^^/| \\############-
* _/############// (@::@) \\############\_
* /#############(( \\// ))#############\
* -###############\\ (oo) //###############-
* -#################\\ / VV \ //#################-
* -###################\\/ \//###################-
* _#/|##########/\######( /\ )######/\##########|\#_
* |/ |#/\#/\#/\/ \#/\##\ | | /##/\#/ \/\#/\#/\#| \|
* ` |/ V V ` V \#\| | | |/#/ V ' V V \| '
* ` ` ` ` / | | | | \ ' ' ' '
* ( | | | | )
* __\ | | | | /__
* (vvv(VVV)(VVV)vvv)
*
* HERE BE DRAGONS
*
*/
package com.github.shadowsocks.utils package com.github.shadowsocks.utils
import android.content.{Context, Intent} import android.content.{Context, Intent}
......
/*******************************************************************************/
/* */
/* Copyright (C) 2016 by Max Lv <max.c.lv@gmail.com> */
/* Copyright (C) 2016 by Mygod Studio <contact-shadowsocks-android@mygod.be> */
/* */
/* This program is free software: you can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation, either version 3 of the License, or */
/* (at your option) any later version. */
/* */
/* This program is distributed in the hope that it will be useful, */
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
/* GNU General Public License for more details. */
/* */
/* You should have received a copy of the GNU General Public License */
/* along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* */
/*******************************************************************************/
package com.github.shadowsocks.utils package com.github.shadowsocks.utils
import java.io.File import java.io.File
......
/*******************************************************************************/
/* */
/* Copyright (C) 2016 by Max Lv <max.c.lv@gmail.com> */
/* Copyright (C) 2016 by Mygod Studio <contact-shadowsocks-android@mygod.be> */
/* */
/* This program is free software: you can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation, either version 3 of the License, or */
/* (at your option) any later version. */
/* */
/* This program is distributed in the hope that it will be useful, */
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
/* GNU General Public License for more details. */
/* */
/* You should have received a copy of the GNU General Public License */
/* along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* */
/*******************************************************************************/
package com.github.shadowsocks.utils package com.github.shadowsocks.utils
import java.text.DecimalFormat import java.text.DecimalFormat
......
/* /*******************************************************************************/
* Shadowsocks - A shadowsocks client for Android /* */
* Copyright (C) 2015 <max.c.lv@gmail.com> /* Copyright (C) 2016 by Max Lv <max.c.lv@gmail.com> */
* /* Copyright (C) 2016 by Mygod Studio <contact-shadowsocks-android@mygod.be> */
* This program is free software: you can redistribute it and/or modify /* */
* it under the terms of the GNU General Public License as published by /* This program is free software: you can redistribute it and/or modify */
* the Free Software Foundation, either version 3 of the License, or /* it under the terms of the GNU General Public License as published by */
* (at your option) any later version. /* the Free Software Foundation, either version 3 of the License, or */
* /* (at your option) any later version. */
* This program is distributed in the hope that it will be useful, /* */
* but WITHOUT ANY WARRANTY; without even the implied warranty of /* This program is distributed in the hope that it will be useful, */
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the /* but WITHOUT ANY WARRANTY; without even the implied warranty of */
* GNU General Public License for more details. /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
* /* GNU General Public License for more details. */
* You should have received a copy of the GNU General Public License /* */
* along with this program. If not, see <http://www.gnu.org/licenses/>. /* You should have received a copy of the GNU General Public License */
* /* along with this program. If not, see <http://www.gnu.org/licenses/>. */
* /* */
* ___====-_ _-====___ /*******************************************************************************/
* _--^^^#####// \\#####^^^--_
* _-^##########// ( ) \\##########^-_
* -############// |\^^/| \\############-
* _/############// (@::@) \\############\_
* /#############(( \\// ))#############\
* -###############\\ (oo) //###############-
* -#################\\ / VV \ //#################-
* -###################\\/ \//###################-
* _#/|##########/\######( /\ )######/\##########|\#_
* |/ |#/\#/\#/\/ \#/\##\ | | /##/\#/ \/\#/\#/\#| \|
* ` |/ V V ` V \#\| | | |/#/ V ' V V \| '
* ` ` ` ` / | | | | \ ' ' ' '
* ( | | | | )
* __\ | | | | /__
* (vvv(VVV)(VVV)vvv)
*
* HERE BE DRAGONS
*
*/
package com.github.shadowsocks.utils package com.github.shadowsocks.utils
......
/* /*******************************************************************************/
* Shadowsocks - A shadowsocks client for Android /* */
* Copyright (C) 2014 <max.c.lv@gmail.com> /* Copyright (C) 2016 by Max Lv <max.c.lv@gmail.com> */
* /* Copyright (C) 2016 by Mygod Studio <contact-shadowsocks-android@mygod.be> */
* This program is free software: you can redistribute it and/or modify /* */
* it under the terms of the GNU General Public License as published by /* This program is free software: you can redistribute it and/or modify */
* the Free Software Foundation, either version 3 of the License, or /* it under the terms of the GNU General Public License as published by */
* (at your option) any later version. /* the Free Software Foundation, either version 3 of the License, or */
* /* (at your option) any later version. */
* This program is distributed in the hope that it will be useful, /* */
* but WITHOUT ANY WARRANTY; without even the implied warranty of /* This program is distributed in the hope that it will be useful, */
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the /* but WITHOUT ANY WARRANTY; without even the implied warranty of */
* GNU General Public License for more details. /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
* /* GNU General Public License for more details. */
* You should have received a copy of the GNU General Public License /* */
* along with this program. If not, see <http://www.gnu.org/licenses/>. /* You should have received a copy of the GNU General Public License */
* /* along with this program. If not, see <http://www.gnu.org/licenses/>. */
* /* */
* ___====-_ _-====___ /*******************************************************************************/
* _--^^^#####// \\#####^^^--_
* _-^##########// ( ) \\##########^-_
* -############// |\^^/| \\############-
* _/############// (@::@) \\############\_
* /#############(( \\// ))#############\
* -###############\\ (oo) //###############-
* -#################\\ / VV \ //#################-
* -###################\\/ \//###################-
* _#/|##########/\######( /\ )######/\##########|\#_
* |/ |#/\#/\#/\/ \#/\##\ | | /##/\#/ \/\#/\#/\#| \|
* ` |/ V V ` V \#\| | | |/#/ V ' V V \| '
* ` ` ` ` / | | | | \ ' ' ' '
* ( | | | | )
* __\ | | | | /__
* (vvv(VVV)(VVV)vvv)
*
* HERE BE DRAGONS
*
*/
package com.github.shadowsocks.utils package com.github.shadowsocks.utils
import java.io.File import java.io.File
......
/*******************************************************************************/
/* */
/* Copyright (C) 2016 by Max Lv <max.c.lv@gmail.com> */
/* Copyright (C) 2016 by Mygod Studio <contact-shadowsocks-android@mygod.be> */
/* */
/* This program is free software: you can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation, either version 3 of the License, or */
/* (at your option) any later version. */
/* */
/* This program is distributed in the hope that it will be useful, */
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
/* GNU General Public License for more details. */
/* */
/* You should have received a copy of the GNU General Public License */
/* along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* */
/*******************************************************************************/
package com.github.shadowsocks.widget package com.github.shadowsocks.widget
import android.animation.ValueAnimator import android.animation.ValueAnimator
......
/*******************************************************************************/
/* */
/* Copyright (C) 2016 by Max Lv <max.c.lv@gmail.com> */
/* Copyright (C) 2016 by Mygod Studio <contact-shadowsocks-android@mygod.be> */
/* */
/* This program is free software: you can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation, either version 3 of the License, or */
/* (at your option) any later version. */
/* */
/* This program is distributed in the hope that it will be useful, */
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
/* GNU General Public License for more details. */
/* */
/* You should have received a copy of the GNU General Public License */
/* along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* */
/*******************************************************************************/
package com.github.shadowsocks.widget package com.github.shadowsocks.widget
import android.support.design.widget.Snackbar import android.support.design.widget.Snackbar
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment