On 06/16/2013 09:49 AM, Richard Haines wrote:
On a previous release it was possible to use a package name within src/dst
<allow-all> entries as follows:
<allow name="phone_to_sms" src="com.android.phone" dst="com.android.smspush"/>
This was only true if there was a subsequent type in the mmac_types.xml
file that was named "com.android.phone" or if the
"persist.mac_applyNameTypes" was set to true (defaults to false). The
persist.mac_applyNameTypes allowed all packages installed to be assigned
a type based on their package name. Both the src and dst fields in the
allow stanza represent generic string types and without the
persist.mac_applyNameTypes boolean couldn't assign package name types
without someone explicitly creating a mmac_types.xml stanza indicating
so. Do you have a commit or snapshot of the code where you believe this
to be the contrary?
However in the current update this is no longer possible as it requires
a <type name=".." /> entry from the mmac_types.xml file, therefore the
<allow-all> entry will be as follows:
<allow name="phone_to_sms" src="telephony_app" dst="wappush_app"/>
If package names are no longer supported in these entries then the
currently distributed intent_mac.xml file needs to be updated to avoid
confusion.
Richard
--
This message was distributed to subscribers of the seandroid-list mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe seandroid-list" without quotes as the message.
--
This message was distributed to subscribers of the seandroid-list mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe seandroid-list" without quotes as the message.