Call super.onCreate() in Application.
Just in case Application#onCreate() does something, though as of now it does nothing for real.
This commit is contained in:
parent
61bc8e3389
commit
495631e724
1 changed files with 2 additions and 0 deletions
|
@ -49,6 +49,8 @@ public class SambaProviderApplication extends Application {
|
|||
|
||||
@Override
|
||||
public void onCreate() {
|
||||
super.onCreate();
|
||||
|
||||
final ConnectivityManager manager =
|
||||
(ConnectivityManager) getSystemService(CONNECTIVITY_SERVICE);
|
||||
manager.registerNetworkCallback(
|
||||
|
|
Loading…
Reference in a new issue