Sharesheet - Add additional checks for low ram devices am: 030bd8471f
am: 97a04f921a

Change-Id: Ibd477160f683a472257163ff446e4d44cc9edaa3