When using setContentIntent() to add a default action to a notification, the action shows on old versions of Android Wear, but not on the 2.0 update. The action shows as "Open in phone" on the old versions, but no action appears at all on the new version.
Sample code:
Intent callIntent= new Intent(Intent.ACTION_DIAL, Uri.parse("tel:555123456"));
PendingIntent pendingIntent=
PendingIntent.getActivity(MainActivity.this, 0, callIntent,0);
Notification notificacion = new NotificationCompat.Builder(MainActivity.this)
.setSmallIcon(R.mipmap.ic_launcher)
.setContentTitle("Title")
.setContentIntent(pendingIntent)
.build();
Did anything else change in the 2.0 version that means we have to do extra steps to have this functionalities work or are they no longer supported? The exact same code is working as intended on Wear 1.x
The same happens with setBackground() added to a WearableExtender.