return (Profile) nativeGetLastUsedProfile();
}
+ public Profile getOriginalProfile() {
+ return (Profile) nativeGetOriginalProfile(mNativeProfileAndroid);
+ }
+
+ public Profile getOffTheRecordProfile() {
+ return (Profile) nativeGetOffTheRecordProfile(mNativeProfileAndroid);
+ }
+
+ public boolean hasOffTheRecordProfile() {
+ return nativeHasOffTheRecordProfile(mNativeProfileAndroid);
+ }
+
+ public boolean isOffTheRecord() {
+ return nativeIsOffTheRecord(mNativeProfileAndroid);
+ }
+
@CalledByNative
private static Profile create(long nativeProfileAndroid) {
return new Profile(nativeProfileAndroid);
}
private static native Object nativeGetLastUsedProfile();
+ private native Object nativeGetOriginalProfile(
+ long nativeProfileAndroid);
+ private native Object nativeGetOffTheRecordProfile(
+ long nativeProfileAndroid);
+ private native boolean nativeHasOffTheRecordProfile(
+ long nativeProfileAndroid);
+ private native boolean nativeIsOffTheRecord(
+ long nativeProfileAndroid);
}