diff options
author | Sudheer Shanka <sudheersai@google.com> | 2017-02-09 13:09:15 -0800 |
---|---|---|
committer | Sudheer Shanka <sudheersai@google.com> | 2017-02-09 14:25:48 -0800 |
commit | fe4d1e87ab4d0ae4649f3a127804c4f66d7ef8ab (patch) | |
tree | 49289b711458aae6aac7bf8d1c7a12c3db91d1a3 /tools/aapt2/java/JavaClassGenerator.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions