commit | fe4d1e87ab4d0ae4649f3a127804c4f66d7ef8ab | [log] [tgz] |
---|---|---|
author | Sudheer Shanka <sudheersai@google.com> | Thu Feb 09 13:09:15 2017 -0800 |
committer | Sudheer Shanka <sudheersai@google.com> | Thu Feb 09 14:25:48 2017 -0800 |
tree | 49289b711458aae6aac7bf8d1c7a12c3db91d1a3 | |
parent | 5d99e14ca9c209fb90d6ad4e0aeea7f67a96aac1 [diff] |
Fix NPE in ClipboarService. Check if primaryClip is null or not before trying to set the timestamp. Fixes: 35144954 Test: cts-tradefed run singleCommand cts-dev --module -t \ com.android.cts.devicepolicy.ManagedProfileTest#testCrossProfileCopyPaste Change-Id: If322626553f42dda56a42adc2c6e4d206715a673