LLS: Allow default enabled events to be overlaid
Change-Id: I4607c0cace28c0987c2ed13d04db7c1eb67a1d0b TICKET: CYNGNOS-3103
This commit is contained in:
parent
131de78e2e
commit
e1c502d3cf
|
@ -110,4 +110,10 @@
|
|||
<!-- Default temperature unit (CELSIUS) -->
|
||||
<integer name="def_temperature_unit">2</integer>
|
||||
|
||||
<!-- Default enabled event based LLS components
|
||||
Contains a list of component names for enabled components, separated by '|'
|
||||
ex. com.example.mylls/com.example.mylls.LiveLockScreen|com.example.anotherLls/com.example.anotherLls.MyLls
|
||||
-->
|
||||
<string name="def_enabled_event_lls_components"></string>
|
||||
|
||||
</resources>
|
||||
|
|
|
@ -347,6 +347,10 @@ public class CMDatabaseHelper extends SQLiteOpenHelper{
|
|||
CMSettings.Secure.PROTECTED_COMPONENT_MANAGERS,
|
||||
R.string.def_protected_component_managers);
|
||||
|
||||
loadStringSetting(stmt,
|
||||
CMSettings.Secure.ENABLED_EVENT_LIVE_LOCKS_KEY,
|
||||
R.string.def_enabled_event_lls_components);
|
||||
|
||||
final String provisionedFlag = Settings.Global.getString(mContext.getContentResolver(),
|
||||
Settings.Global.DEVICE_PROVISIONED);
|
||||
loadSetting(stmt, CMSettings.Secure.CM_SETUP_WIZARD_COMPLETED, provisionedFlag);
|
||||
|
|
Loading…
Reference in New Issue