Guard declaration kSeeMaxBigImageDuration

Bug: 110939839
Test: compile only
Change-Id: I417784cdcb16e7b32aade33a5a5bab2090b109b5
diff --git a/platform/slpi/see/island_vote_client.cc b/platform/slpi/see/island_vote_client.cc
index e7a81d2..a80f8d0 100644
--- a/platform/slpi/see/island_vote_client.cc
+++ b/platform/slpi/see/island_vote_client.cc
@@ -26,7 +26,9 @@
 
 namespace chre {
 
+#ifdef CHRE_SLPI_UIMG_ENABLED
 constexpr Seconds IslandVoteClient::kSeeMaxBigImageDuration;
+#endif  // CHRE_SLPI_UIMG_ENABLED
 
 IslandVoteClient::IslandVoteClient(const char *clientName) {
 #ifdef CHRE_SLPI_UIMG_ENABLED