Removed Settings.Global.LAST_ACTIVE_USER_ID.

This property was only used by Automotive and was added on frameworks/base
because it used be accessed by a class on frameworks/opt/services/car, but
it's now only accessed under packages/services/car (so it was moved to
CarSettings).

Test: atest SettingsBackupTest
Bug: 156567994

Change-Id: Idaff4a249600517c5250cd3821d75ce85fc9eeee
This commit is contained in:
Felipe Leme
2020-06-03 12:32:52 -07:00
parent 843f071dba
commit 4bf9bc6ab0
2 changed files with 0 additions and 10 deletions

View File

@@ -14244,15 +14244,6 @@ public final class Settings {
*/
public static final String KERNEL_CPU_THREAD_READER = "kernel_cpu_thread_reader";
/**
* Persistent user id that is last logged in to.
*
* They map to user ids, for example, 10, 11, 12.
*
* @hide
*/
public static final String LAST_ACTIVE_USER_ID = "last_active_persistent_user_id";
/**
* Whether we've enabled native flags health check on this device. Takes effect on
* reboot. The value "1" enables native flags health check; otherwise it's disabled.

View File

@@ -316,7 +316,6 @@ public class SettingsBackupTest {
Settings.Global.KERNEL_CPU_THREAD_READER,
Settings.Global.LANG_ID_UPDATE_CONTENT_URL,
Settings.Global.LANG_ID_UPDATE_METADATA_URL,
Settings.Global.LAST_ACTIVE_USER_ID,
Settings.Global.LOCATION_BACKGROUND_THROTTLE_INTERVAL_MS,
Settings.Global.LOCATION_BACKGROUND_THROTTLE_PROXIMITY_ALERT_INTERVAL_MS,
Settings.Global.LOCATION_BACKGROUND_THROTTLE_PACKAGE_WHITELIST,