OSDN Git Service

resolved conflicts for merge of 4b48ce8f to lmp-dev-plus-aosp
authorRobert Greenwalt <rgreenwalt@google.com>
Thu, 21 Aug 2014 00:56:56 +0000 (17:56 -0700)
committerRobert Greenwalt <rgreenwalt@google.com>
Thu, 21 Aug 2014 00:56:56 +0000 (17:56 -0700)
Change-Id: I9bb9b6b48bc3c355ad303db89b0cbd1642eaa292

1  2 
core/res/res/values/config.xml

      -->
      <integer name="config_longPressOnPowerBehavior">1</integer>
  
 +    <!-- Control the behavior when the user short presses the power button.
 +            0 - Nothing
 +            1 - Go to sleep (doze)
 +            2 - Really go to sleep (don't doze)
 +            3 - Really go to sleep and go home (don't doze)
 +    -->
 +    <integer name="config_shortPressOnPowerBehavior">1</integer>
 +
      <!-- Package name for default keyguard appwidget [DO NOT TRANSLATE] -->
-     <string name="widget_default_package_name"></string>
+     <string name="widget_default_package_name" translatable="false"></string>
  
      <!-- Class name for default keyguard appwidget [DO NOT TRANSLATE] -->
-     <string name="widget_default_class_name"></string>
+     <string name="widget_default_class_name" translatable="false"></string>
  
      <!-- Indicate whether the SD card is accessible without removing the battery. -->
      <bool name="config_batterySdCardAccessibility">false</bool>
      <bool name="config_dreamsActivatedOnDockByDefault">true</bool>
      <!-- If supported and enabled, are dreams activated when asleep and charging? (by default) -->
      <bool name="config_dreamsActivatedOnSleepByDefault">false</bool>
 -    <!-- ComponentName of the default dream (Settings.Secure.SCREENSAVER_COMPONENT) -->
 -    <string name="config_dreamsDefaultComponent" translatable="false"
 -            >com.google.android.deskclock/com.android.deskclock.Screensaver</string>
 +    <!-- ComponentName of the default dream (Settings.Secure.DEFAULT_SCREENSAVER_COMPONENT) -->
-     <string name="config_dreamsDefaultComponent">com.google.android.deskclock/com.android.deskclock.Screensaver</string>
++    <string name="config_dreamsDefaultComponent" translatable="false">com.google.android.deskclock/com.android.deskclock.Screensaver</string>
 +
 +    <!-- Are we allowed to dream while not plugged in? -->
 +    <bool name="config_dreamsEnabledOnBattery">false</bool>
 +    <!-- Minimum battery level to allow dreaming when powered.
 +         Use -1 to disable this safety feature. -->
 +    <integer name="config_dreamsBatteryLevelMinimumWhenPowered">-1</integer>
 +    <!-- Minimum battery level to allow dreaming when not powered.
 +         Use -1 to disable this safety feature. -->
 +    <integer name="config_dreamsBatteryLevelMinimumWhenNotPowered">15</integer>
 +    <!-- If the battery level drops by this percentage and the user activity timeout
 +         has expired, then assume the device is receiving insufficient current to charge
 +         effectively and terminate the dream.  Use -1 to disable this safety feature.  -->
 +    <integer name="config_dreamsBatteryLevelDrainCutoff">5</integer>
 +
 +    <!-- ComponentName of a dream to show whenever the system would otherwise have
 +         gone to sleep.  When the PowerManager is asked to go to sleep, it will instead
 +         try to start this dream if possible.  The dream should typically call startDozing()
 +         to put the display into a low power state and allow the application processor
 +         to be suspended.  When the dream ends, the system will go to sleep as usual.
 +         Specify the component name or an empty string if none.
 +
 +         Note that doze dreams are not subject to the same start conditions as ordinary dreams.
 +         Doze dreams will run whenever the power manager is in a dozing state. -->
 +    <string name="config_dozeComponent"></string>
 +
 +    <!-- Power Management: Specifies whether to decouple the auto-suspend state of the
 +         device from the display on/off state.
 +
 +         When false, autosuspend_disable() will be called before the display is turned on
 +         and autosuspend_enable() will be called after the display is turned off.
 +         This mode provides best compatibility for devices using legacy power management
 +         features such as early suspend / late resume.
 +
 +         When true, autosuspend_display() and autosuspend_enable() will be called
 +         independently of whether the display is being turned on or off.  This mode
 +         enables the power manager to suspend the application processor while the
 +         display is on.
 +
 +         This resource should be set to "true" when a doze component has been specified
 +         to maximize power savings but not all devices support it.
 +
 +         Refer to autosuspend.h for details.
 +    -->
 +    <bool name="config_powerDecoupleAutoSuspendModeFromDisplay">false</bool>
 +
 +    <!-- Power Management: Specifies whether to decouple the interactive state of the
 +         device from the display on/off state.
 +
 +         When false, setInteractive(..., true) will be called before the display is turned on
 +         and setInteractive(..., false) will be called after the display is turned off.
 +         This mode provides best compatibility for devices that expect the interactive
 +         state to be tied to the display state.
 +
 +         When true, setInteractive(...) will be called independently of whether the display
 +         is being turned on or off.  This mode enables the power manager to reduce
 +         clocks and disable the touch controller while the display is on.
 +
 +         This resource should be set to "true" when a doze component has been specified
 +         to maximize power savings but not all devices support it.
 +
 +         Refer to power.h for details.
 +    -->
 +    <bool name="config_powerDecoupleInteractiveModeFromDisplay">false</bool>
 +
 +    <!-- User activity timeout: Minimum screen off timeout in milliseconds.
 +
 +         Sets a lower bound for the {@link Settings.System#SCREEN_OFF_TIMEOUT} setting
 +         which determines how soon the device will go to sleep when there is no
 +         user activity.
 +
 +         This value must be greater than zero, otherwise the device will immediately
 +         fall asleep again as soon as it is awoken.
 +    -->
 +    <integer name="config_minimumScreenOffTimeout">10000</integer>
 +
 +    <!-- User activity timeout: Maximum screen dim duration in milliseconds.
 +
 +         Sets an upper bound for how long the screen will dim before the device goes
 +         to sleep when there is no user activity.  The dim duration is subtracted from
 +         the overall screen off timeout to determine the screen dim timeout.
 +         When the screen dim timeout expires, the screen will dim, shortly thereafter
 +         the device will go to sleep.
 +
 +         If the screen off timeout is very short, the dim duration may be reduced
 +         proportionally.  See config_maximumScreenDimRatio.
 +
 +         This value may be zero in which case the screen will not dim before the
 +         device goes to sleep.
 +    -->
 +    <integer name="config_maximumScreenDimDuration">7000</integer>
 +
 +    <!-- User activity timeout: Maximum screen dim duration as a percentage of screen off timeout.
 +
 +         This resource is similar to config_maximumScreenDimDuration but the maximum
 +         screen dim duration is defined as a ratio of the overall screen off timeout
 +         instead of as an absolute value in milliseconds.  This is useful for reducing
 +         the dim duration when the screen off timeout is very short.
 +
 +         When computing the screen dim duration, the power manager uses the lesser
 +         of the effective durations expressed by config_maximumScreenDimDuration and
 +         config_maximumScreenDimRatio.
 +
 +         This value must be between 0% and 100%.  If the value is zero, the screen will not
 +         dim before the device goes to sleep.
 +    -->
 +    <fraction name="config_maximumScreenDimRatio">20%</fraction>
  
      <!-- Base "touch slop" value used by ViewConfiguration as a
           movement threshold where scrolling should begin. -->
      <!-- Component name of a custom ResolverActivity (Intent resolver) to be used instead of
           the default framework version. If left empty, then the framework version will be used.
           Example: com.google.android.myapp/.resolver.MyResolverActivity  -->
-     <string name="config_customResolverActivity"></string>
+     <string name="config_customResolverActivity" translatable="false"></string>
  
 +    <!-- Name of the activity or service that prompts the user to reject, accept, or whitelist
 +         an adb host's public key, when an unwhitelisted host connects to the local adbd.
 +         Can be customized for other product types -->
 +    <string name="config_customAdbPublicKeyConfirmationComponent"
 +            >com.android.systemui/com.android.systemui.usb.UsbDebuggingActivity</string>
 +
 +    <!-- Name of the CustomDialog that is used for VPN -->
 +    <string name="config_customVpnConfirmDialogComponent"
 +            >com.android.vpndialogs/com.android.vpndialogs.ConfirmDialog</string>
 +
      <!-- Apps that are authorized to access shared accounts, overridden by product overlays -->
-     <string name="config_appsAuthorizedForSharedAccounts">;com.android.settings;</string>
+     <string name="config_appsAuthorizedForSharedAccounts" translatable="false">;com.android.settings;</string>
  
      <!-- Flag indicating that the media framework should not allow changes or mute on any
           stream or master volumes. -->