Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-client-android
Commits
ec528bb7
Commit
ec528bb7
authored
Jan 14, 2016
by
Adrien Béraud
Browse files
update copyrights for 2016
Change-Id: I5d52e7aaabcd71865a976a7d6f0ae45461d20c75
parent
31f49a08
Changes
125
Hide whitespace changes
Inline
Side-by-side
ring-android/app/src/main/AndroidManifest.xml
View file @
ec528bb7
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2004-201
5
Savoir-faire Linux Inc.
Copyright (C) 2004-201
6
Savoir-faire Linux Inc.
Author: Alexandre Lision <alexandre.lision@savoirfairelinux.com>
Adrien Beraud <adrien.beraud@savoirfairelinux.com>
...
...
ring-android/app/src/main/java/cx/ring/adapters/AccountSelectionAdapter.java
View file @
ec528bb7
/*
* Copyright (C) 2004-201
4
Savoir-
F
aire Linux Inc.
* Copyright (C) 2004-201
6
Savoir-
f
aire Linux Inc.
*
* Author: Alexandre Lision <alexandre.lision@savoirfairelinux.com>
* Author: Adrien Béraud <adrien.beraud@savoirfairelinux.com>
*
* 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
...
...
@@ -16,17 +17,6 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* Additional permission under GNU GPL version 3 section 7:
*
* If you modify this program, or any covered work, by linking or
* combining it with the OpenSSL project's OpenSSL library (or a
* modified version of that library), containing parts covered by the
* terms of the OpenSSL or SSLeay licenses, Savoir-Faire Linux Inc.
* grants you additional permission to convey the resulting work.
* Corresponding Source for a non-source form of such a combination
* shall include the source code for the parts of OpenSSL used as well
* as that of the covered work.
*/
package
cx.ring.adapters
;
...
...
@@ -50,10 +40,10 @@ public class AccountSelectionAdapter extends BaseAdapter {
private
static
final
String
TAG
=
AccountSelectionAdapter
.
class
.
getSimpleName
();
List
<
Account
>
accounts
;
Context
mContext
;
int
selectedAccount
=
-
1
;
static
final
String
DEFAULT_ACCOUNT_ID
=
"IP2IP"
;
private
List
<
Account
>
accounts
;
private
Context
mContext
;
private
int
selectedAccount
=
-
1
;
private
static
final
String
DEFAULT_ACCOUNT_ID
=
"IP2IP"
;
public
AccountSelectionAdapter
(
Context
cont
,
List
<
Account
>
newList
)
{
super
();
...
...
ring-android/app/src/main/java/cx/ring/adapters/ContactPictureTask.java
View file @
ec528bb7
/*
* Copyright (C) 2004-201
4
Savoir-
F
aire Linux Inc.
* Copyright (C) 2004-201
6
Savoir-
f
aire Linux Inc.
*
* Author: Alexandre Lision <alexandre.lision@savoirfairelinux.com>
* Author: Adrien Béraud <adrien.beraud@savoirfairelinux.com>
*
* 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
...
...
@@ -16,17 +17,6 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* Additional permission under GNU GPL version 3 section 7:
*
* If you modify this program, or any covered work, by linking or
* combining it with the OpenSSL project's OpenSSL library (or a
* modified version of that library), containing parts covered by the
* terms of the OpenSSL or SSLeay licenses, Savoir-Faire Linux Inc.
* grants you additional permission to convey the resulting work.
* Corresponding Source for a non-source form of such a combination
* shall include the source code for the parts of OpenSSL used as well
* as that of the covered work.
*/
package
cx.ring.adapters
;
...
...
ring-android/app/src/main/java/cx/ring/adapters/ContactsAdapter.java
View file @
ec528bb7
/*
* Copyright (C) 2004-201
4
Savoir-
F
aire Linux Inc.
* Copyright (C) 2004-201
6
Savoir-
f
aire Linux Inc.
*
* Author: Alexandre Lision <alexandre.lision@savoirfairelinux.com>
* Author: Adrien Béraud <adrien.beraud@savoirfairelinux.com>
...
...
ring-android/app/src/main/java/cx/ring/adapters/StarredContactsAdapter.java
View file @
ec528bb7
/*
* Copyright (C) 2004-201
5
Savoir-faire Linux Inc.
* Copyright (C) 2004-201
6
Savoir-faire Linux Inc.
*
* Author: Alexandre Lision <alexandre.lision@savoirfairelinux.com>
* Author: Adrien Béraud <adrien.beraud@savoirfairelinux.com>
...
...
ring-android/app/src/main/java/cx/ring/client/AccountEditionActivity.java
View file @
ec528bb7
/*
* Copyright (C) 2004-201
5
Savoir-faire Linux Inc.
* Copyright (C) 2004-201
6
Savoir-faire Linux Inc.
*
* Author: Alexandre Lision <alexandre.lision@savoirfairelinux.com>
* Alexandre Savard <alexandre.savard@savoirfairelinux.com>
...
...
ring-android/app/src/main/java/cx/ring/client/AccountWizard.java
View file @
ec528bb7
/*
* Copyright (C) 2004-201
5
Savoir-
F
aire Linux Inc.
* Copyright (C) 2004-201
6
Savoir-
f
aire Linux Inc.
*
* Author: Alexandre Lision <alexandre.lision@savoirfairelinux.com>
* Author: Adrien Béraud <adrien.beraud@savoirfairelinux.com>
...
...
ring-android/app/src/main/java/cx/ring/client/CallActivity.java
View file @
ec528bb7
/*
* Copyright (C) 2004-201
5
Savoir-faire Linux Inc.
* Copyright (C) 2004-201
6
Savoir-faire Linux Inc.
*
* Author: Alexandre Savard <alexandre.savard@savoirfairelinux.com>
* Author: Adrien Béraud <adrien.beraud@savoirfairelinux.com>
...
...
ring-android/app/src/main/java/cx/ring/client/ConversationActivity.java
View file @
ec528bb7
/*
* Copyright (C) 2015 Savoir-faire Linux Inc.
* Copyright (C) 2015
-2016
Savoir-faire Linux Inc.
*
* Author: Adrien Béraud <adrien.beraud@savoirfairelinux.com>
*
...
...
ring-android/app/src/main/java/cx/ring/client/DetailHistoryActivity.java
deleted
100644 → 0
View file @
31f49a08
/*
* Copyright (C) 2004-2014 Savoir-Faire Linux Inc.
*
* Author: Alexandre Lision <alexandre.lision@savoirfairelinux.com>
*
* 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, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* Additional permission under GNU GPL version 3 section 7:
*
* If you modify this program, or any covered work, by linking or
* combining it with the OpenSSL project's OpenSSL library (or a
* modified version of that library), containing parts covered by the
* terms of the OpenSSL or SSLeay licenses, Savoir-Faire Linux Inc.
* grants you additional permission to convey the resulting work.
* Corresponding Source for a non-source form of such a combination
* shall include the source code for the parts of OpenSSL used as well
* as that of the covered work.
*/
package
cx.ring.client
;
import
cx.ring.R
;
import
cx.ring.fragments.DetailsHistoryEntryFragment
;
import
cx.ring.fragments.HistoryFragment
;
import
cx.ring.model.Conference
;
import
cx.ring.model.SipCall
;
import
cx.ring.service.DRingService
;
import
cx.ring.service.IDRingService
;
import
android.app.Activity
;
import
android.app.Fragment
;
import
android.app.FragmentTransaction
;
import
android.content.ComponentName
;
import
android.content.Context
;
import
android.content.Intent
;
import
android.content.ServiceConnection
;
import
android.os.Bundle
;
import
android.os.IBinder
;
import
android.util.Log
;
import
android.view.MenuItem
;
public
class
DetailHistoryActivity
extends
Activity
implements
DetailsHistoryEntryFragment
.
Callbacks
{
private
boolean
mBound
=
false
;
private
IDRingService
service
;
private
String
TAG
=
DetailHistoryActivity
.
class
.
getSimpleName
();
@Override
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
super
.
onCreate
(
savedInstanceState
);
setContentView
(
R
.
layout
.
activity_holder
);
Intent
intent
=
new
Intent
(
this
,
DRingService
.
class
);
bindService
(
intent
,
mConnection
,
Context
.
BIND_AUTO_CREATE
);
getActionBar
().
setDisplayHomeAsUpEnabled
(
true
);
}
@Override
public
boolean
onOptionsItemSelected
(
MenuItem
item
)
{
switch
(
item
.
getItemId
())
{
case
android
.
R
.
id
.
home
:
finish
();
return
true
;
default
:
return
true
;
}
}
@Override
public
IDRingService
getService
()
{
return
service
;
}
@Override
protected
void
onPause
()
{
super
.
onPause
();
if
(
mBound
)
{
unbindService
(
mConnection
);
mBound
=
false
;
}
}
/** Defines callbacks for service binding, passed to bindService() */
private
ServiceConnection
mConnection
=
new
ServiceConnection
()
{
@Override
public
void
onServiceConnected
(
ComponentName
className
,
IBinder
binder
)
{
service
=
IDRingService
.
Stub
.
asInterface
(
binder
);
FragmentTransaction
ft
=
getFragmentManager
().
beginTransaction
();
Fragment
fr
=
new
DetailsHistoryEntryFragment
();
fr
.
setArguments
(
getIntent
().
getBundleExtra
(
HistoryFragment
.
ARGS
));
ft
.
replace
(
R
.
id
.
frag_container
,
fr
);
ft
.
commit
();
mBound
=
true
;
Log
.
d
(
TAG
,
"Service connected service="
+
service
);
}
@Override
public
void
onServiceDisconnected
(
ComponentName
arg0
)
{
mBound
=
false
;
Log
.
d
(
TAG
,
"Service disconnected service="
+
service
);
}
};
@Override
public
void
onCall
(
String
account_id
,
String
number
)
{
/*Bundle bundle = new Bundle();
Conference tmp = new Conference(Conference.DEFAULT_ID);
tmp.getParticipants().add(call);
bundle.putParcelable("conference", tmp);
Intent intent = new Intent().setClass(this, CallActivity.class);
intent.putExtra("resuming", false);
intent.putExtras(bundle);
startActivity(intent);*/
}
}
\ No newline at end of file
ring-android/app/src/main/java/cx/ring/client/HomeActivity.java
View file @
ec528bb7
/*
* Copyright (C) 2004-201
4
Savoir-
F
aire Linux Inc.
* Copyright (C) 2004-201
6
Savoir-
f
aire Linux Inc.
*
* Author: Adrien Beraud <adrien.beraud@
gmail
.com>
* Author: Adrien Beraud <adrien.beraud@
savoirfairelinux
.com>
* Alexandre Lision <alexandre.lision@savoirfairelinux.com>
*
* This program is free software; you can redistribute it and/or modify
...
...
@@ -17,17 +17,6 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* Additional permission under GNU GPL version 3 section 7:
*
* If you modify this program, or any covered work, by linking or
* combining it with the OpenSSL project's OpenSSL library (or a
* modified version of that library), containing parts covered by the
* terms of the OpenSSL or SSLeay licenses, Savoir-Faire Linux Inc.
* grants you additional permission to convey the resulting work.
* Corresponding Source for a non-source form of such a combination
* shall include the source code for the parts of OpenSSL used as well
* as that of the covered work.
*/
package
cx.ring.client
;
...
...
@@ -46,14 +35,9 @@ import cx.ring.fragments.AccountsManagementFragment;
import
cx.ring.fragments.CallListFragment
;
import
cx.ring.fragments.ContactListFragment
;
import
cx.ring.fragments.DialingFragment
;
import
cx.ring.fragments.HistoryFragment
;
import
cx.ring.fragments.MenuFragment
;
import
cx.ring.fragments.SettingsFragment
;
import
cx.ring.history.HistoryEntry
;
import
cx.ring.model.CallContact
;
import
cx.ring.model.account.Account
;
import
cx.ring.model.Conference
;
import
cx.ring.model.SipCall
;
import
cx.ring.service.IDRingService
;
import
cx.ring.service.LocalService
;
...
...
ring-android/app/src/main/java/cx/ring/fragments/AccountCreationFragment.java
View file @
ec528bb7
/*
* Copyright (C) 2004-201
5
Savoir-faire Linux Inc.
* Copyright (C) 2004-201
6
Savoir-faire Linux Inc.
*
* Author: Adrien Béraud <adrien.beraud@savoirfairelinux.com>
*
...
...
ring-android/app/src/main/java/cx/ring/fragments/AccountsManagementFragment.java
View file @
ec528bb7
/*
* Copyright (C) 2004-201
5
Savoir-faire Linux Inc.
* Copyright (C) 2004-201
6
Savoir-faire Linux Inc.
*
* Author: Alexandre Savard <alexandre.savard@savoirfairelinux.com>
* Alexandre Lision <alexandre.lision@savoirfairelinux.com>
...
...
ring-android/app/src/main/java/cx/ring/fragments/AdvancedAccountFragment.java
View file @
ec528bb7
/*
* Copyright (C) 2004-201
4
Savoir-
F
aire Linux Inc.
* Copyright (C) 2004-201
6
Savoir-
f
aire Linux Inc.
*
* Author: Alexandre Lision <alexandre.lision@savoirfairelinux.com>
*
...
...
@@ -16,17 +16,6 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* Additional permission under GNU GPL version 3 section 7:
*
* If you modify this program, or any covered work, by linking or
* combining it with the OpenSSL project's OpenSSL library (or a
* modified version of that library), containing parts covered by the
* terms of the OpenSSL or SSLeay licenses, Savoir-Faire Linux Inc.
* grants you additional permission to convey the resulting work.
* Corresponding Source for a non-source form of such a combination
* shall include the source code for the parts of OpenSSL used as well
* as that of the covered work.
*/
package
cx.ring.fragments
;
...
...
ring-android/app/src/main/java/cx/ring/fragments/AudioManagementFragment.java
View file @
ec528bb7
/*
* Copyright (C) 2004-201
5
Savoir-faire Linux Inc.
* Copyright (C) 2004-201
6
Savoir-faire Linux Inc.
*
* Author: Alexandre Savard <alexandre.savard@savoirfairelinux.com>
* Alexandre Lision <alexandre.lision@savoirfairelinux.com>
...
...
ring-android/app/src/main/java/cx/ring/fragments/CallFragment.java
View file @
ec528bb7
/*
* Copyright (C) 2004-201
5
Savoir-faire Linux Inc.
* Copyright (C) 2004-201
6
Savoir-faire Linux Inc.
*
* Author: Alexandre Lision <alexandre.lision@savoirfairelinux.com>
* Author: Adrien Béraud <adrien.beraud@savoirfairelinux.com>
...
...
@@ -22,14 +22,11 @@
package
cx.ring.fragments
;
import
android.app.Activity
;
import
android.graphics.Color
;
import
android.media.AudioManager
;
import
android.net.Uri
;
import
android.support.v4.app.NotificationCompat
;
import
android.support.v4.app.NotificationManagerCompat
;
import
android.content.Context
;
import
android.content.Intent
;
import
android.content.res.Resources
;
import
android.graphics.Bitmap
;
import
android.os.Bundle
;
import
android.os.PowerManager
;
...
...
@@ -40,7 +37,6 @@ import android.util.Log;
import
android.view.*
;
import
android.view.View.OnClickListener
;
import
android.widget.*
;
import
android.widget.CompoundButton.OnCheckedChangeListener
;
import
cx.ring.R
;
import
cx.ring.adapters.ContactPictureTask
;
import
cx.ring.client.ConversationActivity
;
...
...
@@ -53,8 +49,6 @@ import cx.ring.model.CallContact;
import
cx.ring.model.Conference
;
import
cx.ring.model.SecureSipCall
;
import
cx.ring.model.SipCall
;
import
cx.ring.model.account.Account
;
import
cx.ring.service.DRingService
;
import
cx.ring.service.LocalService
;
public
class
CallFragment
extends
CallableWrapperFragment
implements
CallInterface
{
...
...
ring-android/app/src/main/java/cx/ring/fragments/CallListFragment.java
View file @
ec528bb7
/*
* Copyright (C) 2004-201
5
Savoir-faire Linux Inc.
* Copyright (C) 2004-201
6
Savoir-faire Linux Inc.
*
* Author: Adrien Béraud <adrien.beraud@savoirfairelinux.com>
*
...
...
ring-android/app/src/main/java/cx/ring/fragments/CallableWrapperFragment.java
View file @
ec528bb7
/*
* Copyright (C) 2004-201
5
Savoir-faire Linux Inc.
* Copyright (C) 2004-201
6
Savoir-faire Linux Inc.
*
* Author: Alexandre Lision <alexandre.lision@savoirfairelinux.com>
* Author: Adrien Béraud <adrien.beraud@savoirfairelinux.com>
...
...
ring-android/app/src/main/java/cx/ring/fragments/ContactListFragment.java
View file @
ec528bb7
/*
* Copyright (C) 2004-201
4
Savoir-
F
aire Linux Inc.
* Copyright (C) 2004-201
6
Savoir-
f
aire Linux Inc.
*
* Author: Alexandre Savard <alexandre.savard@savoirfairelinux.com>
* Alexandre Lision <alexandre.lision@savoirfairelinux.com>
...
...
@@ -17,17 +17,6 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* Additional permission under GNU GPL version 3 section 7:
*
* If you modify this program, or any covered work, by linking or
* combining it with the OpenSSL project's OpenSSL library (or a
* modified version of that library), containing parts covered by the
* terms of the OpenSSL or SSLeay licenses, Savoir-Faire Linux Inc.
* grants you additional permission to convey the resulting work.
* Corresponding Source for a non-source form of such a combination
* shall include the source code for the parts of OpenSSL used as well
* as that of the covered work.
*/
package
cx.ring.fragments
;
...
...
ring-android/app/src/main/java/cx/ring/fragments/DetailsHistoryEntryFragment.java
View file @
ec528bb7
/*
* Copyright (C) 2004-201
4
Savoir-
F
aire Linux Inc.
* Copyright (C) 2004-201
6
Savoir-
f
aire Linux Inc.
*
* Author: Alexandre Lision <alexandre.lision@savoirfairelinux.com>
*
...
...
@@ -16,17 +16,6 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* Additional permission under GNU GPL version 3 section 7:
*
* If you modify this program, or any covered work, by linking or
* combining it with the OpenSSL project's OpenSSL library (or a
* modified version of that library), containing parts covered by the
* terms of the OpenSSL or SSLeay licenses, Savoir-Faire Linux Inc.
* grants you additional permission to convey the resulting work.
* Corresponding Source for a non-source form of such a combination
* shall include the source code for the parts of OpenSSL used as well
* as that of the covered work.
*/
package
cx.ring.fragments
;
...
...
Prev
1
2
3
4
5
…
7
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment