commit | 79cd1a86171c772516d79c640bc244bcffee2960 | [log] [tgz] |
---|---|---|
author | Myles Watson <mylesgw@google.com> | Wed Jan 03 13:29:41 2018 -0800 |
committer | Myles Watson <mylesgw@google.com> | Thu Jan 25 05:58:55 2018 +0000 |
tree | fdbb5508e15e21f5b3c188c1e9c6be71114551c0 | |
parent | 941038cd7d6b3703144518992ac26cd137bce9ec [diff] |
OPP: Limit try scope in ObexServerSession getHeader calls throw IOException, limit try/catch block to those calls. Return early instead of using preReject and saving the return type. Remove UNACCEPTABLE_SHARE_INBOUND_TYPES. There's no point of having a blacklist and a whitelist. Test: File transfer sanity test Change-Id: I64ab3a3a4f498d2e1bce5ca8a12b58660eba0dca