I just migrated to Android 6.0 and the 'Share to' panel has a new grey area on top of the various apps in which it puts contacts that, I assume, you pin there. This would be a good feature, except a contact ended up there and I can find no way to remove it. Is there one?

Specifically, the contact seems to have been put there by the Messenger app but there is no way to alter its pinning from the app, either.

  • 1
    Based on my experience, the contact is added because of sharing history with them, not because of specifically pinning them (similar to "App suggestions" on "Home screen", though it can be disabled in that case), but I agree there's no hint if it can be removed easily. – Andrew T. Nov 6 '15 at 3:47
  • 1
    The rather interesting (...) aspect is that the specific contact was, originarily, a phone number to which I had sent exactly one SMS. I added it to a new contact in the hope of gaining a 'remove/delete' button/method... no such luck. OTOH, several contacts with which I have shared things a lot more do not appear. – lfabio Nov 6 '15 at 13:18
  • 1
    I created a feature request on AOSP Issue Tracker: #194126. Consider starring it to follow the progress. – Andrew T. Nov 14 '15 at 18:47
  • 1
    Update after a few days of using the phone: now the area has been taken over by whatsapp - which is well and good, except a) it only has WA contacts b) it shows some to which I haven't shared stuff in at least 12 months. So it seems like one app can take over the entire panel and at that point it simply shows some subset of its contacts on there? OTOH, messenger only ever put the one contact there. – lfabio Nov 25 '15 at 19:45
  • 1
    Following up, it's been a (very) long while. The original defect sort of corrected itself insofar as with use, other contacts have taken the area over. The choice of which contacts get presented remains rather random and only loosely to frequency or recency of use. – lfabio Feb 11 '16 at 10:17

It turns out that - for rooted people - there is a way to completely turn off Direct Share!

For the short version skip to the bottom of this answer.

In my search for a way to stop this stupid feature from bugging me I had a look at how the feature is actually implemented in apps by developers. It turns out that they register a service with an intent receiver (read: event listener) and when I realized that, I started looking for a way to block certain intents from broadcasting through the system. Well, Android actually has that built in. It's called the Intent Firewall. I quickly figured out how to create a rule for it to block apps from receiving the "Hey are there any apps that want to bug the user by putting a couple of Direct Share buttons under their thumb as they're about to tap something?"-event.

You just create a simple xml file like and drop this into it:

<rules>
  <service block="true" log="true">
    <intent-filter>
      <action name="android.service.chooser.ChooserTargetService" />
    </intent-filter>
  </service>
</rules>

Now you have to put it on the phone and copy it into the Intent Firewall directory. On most devices that would be

/data/system/ifw/

I simply used Root Explorer to copy the file there (no chmod required), tried to share something that caused Direct Share targets to pop up and BOOM! Nothing!

I recommend to do some background reading (see links above), especially about how the Intent Firewall works and how you can find the folder.

Happy not-sharing!

  • I created a file called disable-direct-share.xml containing the exact XML content above, then copied it to the existing folder /data/system/ifw/ using Root Explorer, and... the annoying "Share via" individual contacts still appear, a few seconds after the apps. Rooted LineageOS, Android 7.1.2. Any idea? Thanks! – Nicolas Raoul Mar 22 at 6:33
  • Hmm no I think that should work. This is the file I literally download and move to the folder: stor4ge.rejh.nl/_stored/var/android/system-images/… – REJH Mar 26 at 14:56
  • 1
    Thank you!! Based on your answer I created a repository with three ways to install this file: computerless on phone only, with adb, and finally with a flashable recovery zip file. See github.com/stefansundin/android-disable-direct-share – stefansundin May 19 at 23:31
  • Great! I lost root with a recent security update so probably will be using this method again, soon 👍 – REJH May 22 at 17:21
  • Some blatant self-promotion: I've built (actually, updated) an app that replaces the Android Share dialog. I guess Andmade Share and AppChooser are fine alternatives, too, but I've tried to have it look and feel like the native share dialog. Try it here: sharedr.rejh.nl – REJH Jul 1 at 7:55

You can disable the 'share via' menu by removing Messenger's permission to access your contacts. This isn't practical if you use Messenger as your primary SMS app, but if you use another app, it's fine.

  • This is not really a solution, is it? – REJH Jul 22 '16 at 5:44
  • 1
    This works if they only come from Messenger and user uses other SMS app as the default SMS app. The contacts can come from other apps too (in my case e.g. from 3rd party email app and Whatsapp), but disabling the contacts permission causes them to malfunction. – pileofrocks Aug 28 '16 at 2:35

Another alternative might be to use apps like AndmadeShare, that completely replace the sharing menu. https://play.google.com/store/apps/details?id=com.andmadesoft.share

  • This was suggested on AOSP as well, yes, and it may be a good interim solution. – lfabio Nov 25 '15 at 16:26

Currently. as of 6.0 there is no way of disabling direct share all together. Some apps may add an option to disable direct share for their apps though.

  • 2
    I'm actually fine with the feature - if it worked as intended, i.e. (I assume) put the 'most frequently shared to' contacts there. I'd welcome it. But there needs to be a way to edit the list. I should say - there needs to be an easy way to edit the list. – lfabio Nov 6 '15 at 18:11
  • Currently the issue with it is that apps can add any contact and if multiple IM adds same person for example, they you are left with multiple methods of contacting same person. Taking up space above all. a tab at top to switch between people and apps is a better option in my opinion. – Roh_mish Nov 13 '15 at 6:47

Go to settings. Click on Advanced Features. Scroll to bottom to Direct Share. Turn it off and all contacts are gone from share via.

  • 2
    Uh, I do not have Advanced Features in the settings menu? We're talking about the phone settings, right? – lfabio Sep 29 '16 at 11:21
  • 1
    It worked for the Galaxy S7. So maybe this method is specific to Samsung phones? And yes, I found the "Advanced Features" in the phone settings menu, after "Display". – kdb Dec 29 '16 at 14:43
  • This was the exact answer that required barely any digging and not having to root the phone or anything drastic. – John May 21 '17 at 20:55
  • Could you please include a screenshot? Thanks a lot! :-) – Nicolas Raoul Mar 22 at 6:34

I discovered that in the case of whatsapp showing the offending contact on your directshare menu (i.e. your side chick when your girlfriend is looking) you can push that contact down and out of the list by sending attachments to other, more safer, contacts. Since whatsapp displays the last four people with whom you have shared something, share a photo with four other people, or as many contacts as needed to push the offending contact out of the top four.

  • 1
    The problem is, it's erratic. It might work, it might not. It might bring up people I actually interact with, it might not - it brought up a couple contacts I have not had interaction with in three years.. – lfabio Jul 11 '16 at 16:32
  • unlucky you :( Dont get caught in action. be safe! – Roh_mish Sep 5 '16 at 15:58

To successfully remove Outlook contacts from Share via menu, I did the following:- 1. Settings, Applications, Application Manager, Outlook, Permissions - uncheck all 2. Outlook, Gear icon, click account in question, uncheck Sync contacts, click RESET Account

This removed outlook email contacts from the Share Via menu. Outlook works as normal but is ring fenced from the rest of my phone.

  • This isn't really an answer to this question, but it's exactly what I was trying to do. So thanks for the answer! – ssmy Sep 1 '16 at 2:03
  • This was what I was looking for too, and it worked but unfortunately it seems it was only a temporary solution. The Outlook contacts have returned. – bmaupin Nov 9 '17 at 11:48

I discovered that if you block the contact in Whatsapp, it stops showing it in the share menu and in the new "frequent chats" section when you share or forward stuff.

However, when you unblock it, it's possible for it to show again in those two places.

Best regards.

You can remove Direct Share from your phone, regardless of its manufacturer, by installing Fliktu, which is a much better option than Andmade Share.

protected by Community Oct 2 '16 at 3:30

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.