| Línea 275... |
Línea 275... |
| 275 |
createNotificationChannel();
|
275 |
createNotificationChannel();
|
| Línea 276... |
Línea 276... |
| 276 |
|
276 |
|
| 277 |
/*** CUENTAS DE SINCRONIZACION **/
|
277 |
/*** CUENTAS DE SINCRONIZACION **/
|
| Línea -... |
Línea 278... |
| - |
|
278 |
mAccount = CreateSyncAccount(getApplicationContext());
|
| - |
|
279 |
|
| - |
|
280 |
textViewMessageNotConnection = findViewById(R.id.main_activity_text_view_message_not_connection);
|
| - |
|
281 |
|
| - |
|
282 |
|
| - |
|
283 |
mConnectivityReceiver = new ConnectivityReceiver();
|
| - |
|
284 |
registerReceiver(mConnectivityReceiver, new IntentFilter(ConnectivityManager.CONNECTIVITY_ACTION));
|
| - |
|
285 |
|
| - |
|
286 |
IntentFilter intentFilterInternal = new IntentFilter();
|
| - |
|
287 |
intentFilterInternal.addAction(Constants.BROADCAST_TYPE_NOTIFICATION);
|
| - |
|
288 |
intentFilterInternal.addAction(Constants.BROADCAST_TYPE_TOKEN);
|
| - |
|
289 |
intentFilterInternal.addAction(Constants.BROADCAST_TYPE_COMMAND);
|
| - |
|
290 |
intentFilterInternal.addAction(Constants.BROADCAST_TYPE_SYNC_TO_SERVER_OR_CHECK_CHANGES);
|
| - |
|
291 |
|
| - |
|
292 |
mInternalReceiver = new InternalReceiver();
|
| Línea 278... |
Línea 293... |
| 278 |
mAccount = CreateSyncAccount(getApplicationContext());
|
293 |
this.registerReceiver(mInternalReceiver, intentFilterInternal);
|
| Línea 279... |
Línea 294... |
| 279 |
|
294 |
|
| 280 |
|
295 |
|
| Línea 423... |
Línea 438... |
| 423 |
//navHeaderUserImage = (CircleImageView) header.findViewById(R.id.nav_header_user_image);
|
438 |
//navHeaderUserImage = (CircleImageView) header.findViewById(R.id.nav_header_user_image);
|
| 424 |
// navHeaderUserImage = header.findViewById(R.id.nav_header_user_image);
|
439 |
// navHeaderUserImage = header.findViewById(R.id.nav_header_user_image);
|
| 425 |
// navHeaderUserName = header.findViewById(R.id.nav_header_user_name);
|
440 |
// navHeaderUserName = header.findViewById(R.id.nav_header_user_name);
|
| 426 |
// navHeaderUserEmail = header.findViewById(R.id.nav_header_user_email);
|
441 |
// navHeaderUserEmail = header.findViewById(R.id.nav_header_user_email);
|
| Línea 427... |
Línea -... |
| 427 |
|
- |
|
| 428 |
textViewMessageNotConnection = findViewById(R.id.main_activity_text_view_message_not_connection);
|
- |
|
| 429 |
|
- |
|
| 430 |
|
- |
|
| 431 |
mConnectivityReceiver = new ConnectivityReceiver();
|
- |
|
| 432 |
registerReceiver(mConnectivityReceiver, new IntentFilter(ConnectivityManager.CONNECTIVITY_ACTION));
|
- |
|
| 433 |
|
- |
|
| 434 |
IntentFilter intentFilterInternal = new IntentFilter();
|
- |
|
| 435 |
intentFilterInternal.addAction(Constants.BROADCAST_TYPE_NOTIFICATION);
|
- |
|
| 436 |
intentFilterInternal.addAction(Constants.BROADCAST_TYPE_TOKEN);
|
- |
|
| 437 |
intentFilterInternal.addAction(Constants.BROADCAST_TYPE_COMMAND);
|
- |
|
| Línea 438... |
Línea -... |
| 438 |
intentFilterInternal.addAction(Constants.BROADCAST_TYPE_SYNC_TO_SERVER_OR_CHECK_CHANGES);
|
- |
|
| 439 |
|
- |
|
| Línea 440... |
Línea 442... |
| 440 |
mInternalReceiver = new InternalReceiver();
|
442 |
|
| 441 |
this.registerReceiver(mInternalReceiver, intentFilterInternal);
|
443 |
|
| 442 |
|
444 |
|