summaryrefslogtreecommitdiffstats
path: root/core/java/android/os
diff options
context:
space:
mode:
authorAmith Yamasani <yamasani@google.com>2009-07-08 20:04:55 -0700
committerAmith Yamasani <yamasani@google.com>2009-07-09 12:01:25 -0700
commitd158214511a3c04753de04fa6389e46d33135c38 (patch)
tree50159ba5683d2685572a97bbd90659d259e76e3c /core/java/android/os
parent8a715b4b791db4390d12e0ded02280592634a424 (diff)
downloadframeworks_base-d158214511a3c04753de04fa6389e46d33135c38.zip
frameworks_base-d158214511a3c04753de04fa6389e46d33135c38.tar.gz
frameworks_base-d158214511a3c04753de04fa6389e46d33135c38.tar.bz2
Restore audio settings and wifi.
Optimize backups by writing an entity only if the checksum of the data has changed. Call into the hidden AudioService API to apply changed audio settings. After restoring wifi data, make sure that the permissions and ownership are set properly for the supplicant process to access it. Locale isn't restoring properly - TODO added.
Diffstat (limited to 'core/java/android/os')
-rw-r--r--core/java/android/os/Process.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/java/android/os/Process.java b/core/java/android/os/Process.java
index 1214abc..51e6c1e 100644
--- a/core/java/android/os/Process.java
+++ b/core/java/android/os/Process.java
@@ -68,6 +68,12 @@ public class Process {
public static final int PHONE_UID = 1001;
/**
+ * Defines the UID/GID for the WIFI supplicant process.
+ * @hide
+ */
+ public static final int WIFI_UID = 1010;
+
+ /**
* Defines the start of a range of UIDs (and GIDs), going from this
* number to {@link #LAST_APPLICATION_UID} that are reserved for assigning
* to applications.