A client of ours is asking if we are able to hide their mobile phone number in outgoing calls. Their truck drivers deliver goods to customers and some customers want the truck driver to call them when they arrive. No problem. Yet our client does not want the customer to be able to call back. If anything's wrong with the delivery, the customer should call our client's customer service instead of harassing the truck driver.
They're using Zebra TC56 devices, running on Android 6.1.2. The thing is, I know it's possible to hide the caller ID and I also know where to find it. But can you help me automate this process? To make sure we're talking about the same setting, I mean:
"Phone" application > Settings > Call settings > Additional call settings > Additional settings > Caller ID > Hide number
I tried "watchsettings on" to find out what setting it is, but I didn't get anything back from the device. I guess this is because it seems to be a setting of the dialer application (com.android.dialer) or phone services application (com.android.phone) and not of the regular device settings.
After reading a bit about this on Google, I came across a few people struggling with the same issue. They seem to be able to open the "Additional settings" part by using the following intent:
Intent additionalCallSettingsIntent = new Intent("android.intent.action.MAIN");
ComponentName distantActivity = new ComponentName("com.android.phone", "com.android.phone.GsmUmtsAdditionalCallOptions");
additionalCallSettingsIntent.setComponent(distantActivity);
startActivity(additionalCallSettingsIntent);
But they still rely on the user to manually select "Caller ID" and "Hide number". I'd rather not go through this struggle, as truck drivers aren't the most tech savvy and I've got no feasible way of verifying whether the Caller ID is actually hidden.
So... any ideas? Thanks in advance.