incident report args: add setter stubs & constant aliases
Bug: 130543265 Merged-In: Ieaf5b3b4d67168e2a99ff54e6392c77d8372ed4e Change-Id: I855002050bf8a9f43b997060b1990f26eec597c7
This commit is contained in:
@@ -36,6 +36,12 @@ const uint8_t DEST_LOCAL = 0;
|
||||
const uint8_t DEST_EXPLICIT = 100;
|
||||
const uint8_t DEST_AUTOMATIC = 200;
|
||||
|
||||
// Aliases for the above.
|
||||
const uint8_t PRIVACY_POLICY_LOCAL = 0;
|
||||
const uint8_t PRIVACY_POLICY_EXPLICIT = 100;
|
||||
const uint8_t PRIVACY_POLICY_AUTOMATIC = 200;
|
||||
const uint8_t PRIVACY_POLICY_UNSET = 255;
|
||||
|
||||
|
||||
class IncidentReportArgs : public Parcelable {
|
||||
public:
|
||||
@@ -48,7 +54,10 @@ public:
|
||||
|
||||
void setAll(bool all);
|
||||
void setDest(int dest);
|
||||
void setPrivacyPolicy(int);
|
||||
void addSection(int section);
|
||||
void setReceiverPkg(const string&);
|
||||
void setReceiverCls(const string&);
|
||||
void addHeader(const IncidentHeaderProto& headerProto);
|
||||
|
||||
inline bool all() const { return mAll; }
|
||||
|
||||
@@ -194,5 +194,23 @@ IncidentReportArgs::merge(const IncidentReportArgs& that)
|
||||
}
|
||||
}
|
||||
|
||||
// stub
|
||||
void
|
||||
IncidentReportArgs::setPrivacyPolicy(int)
|
||||
{
|
||||
}
|
||||
|
||||
// stub
|
||||
void
|
||||
IncidentReportArgs::setReceiverPkg(const string&)
|
||||
{
|
||||
}
|
||||
|
||||
// stub
|
||||
void
|
||||
IncidentReportArgs::setReceiverCls(const string&)
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user