England spinner Jack Leach then strengthened England’s position, dismissing opener Kaushal Silva in the 12 overs Sri Lanka faced
Dananjaya, 25, took two wickets giving away 184 runs in the match that concluded in four days at Galle
Chandimal will be out for two weeks which makes him doubtful for the third Test in Colombo, starting on November 23.
The hosts, chasing a notional 462 victory in the first match of a three-Test series, could only muster 250 on day four
The 26-year-old scored a century on debut in Mumbai, but lost his place after averaging just 15.87 against South Africa next summer
At the close of play, Sri Lanka were 15 without loss with Dimuth Karunaratne on seven and Kaushal Silva on eight after hanging on for seven overs.
After the match, Anderson admitted the offence and accepted the sanction proposed by match referee Andy Pycroft.
It was Foakes who stood out with his patient yet effective batting in England's first essay to give the team a challenging total after electing to bat
Foakes put on 61 for the sixth wicket with Jos Buttler, who was eventually caught behind off Dilruwan Perera for 38.
Bowlers put Pakistan ahead on the opening day of Abu Dhabi Test
Pakistan's golden chance to make massive gains
PSL 2019 draft: All possible picks
Yasir Shah dents New Zealand with early blows
‘Will not be selecting players unwilling to come to Pakistan for PSL’ – Javed Afridi
Abbas provides the much needed breakthrough
Another Test for the 'professor' against the Kiwis
Young pace gem delivers a wonderful spell
PSL Draft 2018 - All Information Including Possible Picks
Abbas gears up for the Test series against NZ