xulicheng
489f2c2c48
Merge "Ensure the generation is not changed before put value to cache"
...
am: 11ae580f81
Change-Id: I5bf2c557f6f46f1455204761a9045b8b90d7ea32
2017-08-28 19:58:06 +00:00
xulicheng
a5db9b42ea
Ensure the generation is not changed before put value to cache
...
It may get old value from mValues, so check the generation
is not changed before update cache
Bug: https://issuetracker.google.com/issues/64995655
Test: Build
Change-Id: Ia7ae18baa269d0590e36f186e2f14b0bfbab3504
Signed-off-by: xulicheng <xulicheng@xiaomi.com >
2017-08-25 01:22:24 +00:00
Tyler Gunn
8adf430f30
Merge "Enforce call log length limit on a per PhoneAccount basis."
...
am: 647b520a00
Change-Id: I8962fc326d0e2888656c2764e94131c6eebd1471
2017-08-09 19:03:32 +00:00
Tyler Gunn
c971bf1760
Enforce call log length limit on a per PhoneAccount basis.
...
Performing the auto delete based on the PhoneAccount of the new entry.
This ensures no one CS can cause the removal of entries by another.
Test: Manual
Bug: 38196259
Merged-In: I382cb62a1b2b7e482c49ece05f90fc982b797add
Change-Id: I382cb62a1b2b7e482c49ece05f90fc982b797add
2017-08-09 09:53:00 -07:00
Christine Franks
379c317ab8
Merge "DO NOT MERGE - Remove RetailDemoModeService" into oc-dr1-dev
...
am: 484115b77d
Change-Id: Id9f50aeab430db43e9f18bcdfd80b6dcac2c43a7
2017-07-21 19:00:31 +00:00
Christine Franks
b7c929977c
DO NOT MERGE - Remove RetailDemoModeService
...
Bug: 62712426
Test: make -j100
Change-Id: I483f2e3518a48fbc833562e71c3acd17ad565881
Merged-In: I483f2e3518a48fbc833562e71c3acd17ad565881
2017-07-21 15:51:32 +00:00
Ricardo Loo
8fef5bf360
Merge "docs: Updated #ACTION_REQUEST_SET_AUTOFILL_SERVICE description" into oc-dev am: 8e644a7510
...
am: 73f94e7896
Change-Id: I5f6181c026d443357226f6b7e5332a754b130476
2017-07-19 04:52:24 +00:00
Ricardo Loo
73f94e7896
Merge "docs: Updated #ACTION_REQUEST_SET_AUTOFILL_SERVICE description" into oc-dev
...
am: 8e644a7510
Change-Id: Ib12f6abb1cd3bdc4701b13e607288fcaf48ce43e
2017-07-19 04:44:52 +00:00
Neil Fuller
34aca9e2c5
Merge "Remove TODOs that are not needed" am: 0f9842304a am: 5c2cfc51c5
...
am: 444616f4bf
Change-Id: I5f4265d738aa3669a0c7acb8df49b454a3e27f9c
2017-07-17 22:40:28 +00:00
Neil Fuller
5c2cfc51c5
Merge "Remove TODOs that are not needed"
...
am: 0f9842304a
Change-Id: Ie46a57ce88e25e40193b073c0add69adccc14a79
2017-07-17 22:24:36 +00:00
Neil Fuller
a9f0eeb36f
Remove TODOs that are not needed
...
Remove TODOs to add classes to the system API that are not needed
(since they are used by a platform-only app).
Bug: 31008728
Test: make droid
Change-Id: I0d75686ddeae929e9d87c5ca8703a609a1450d76
Merged-In: I600e7b08853b86b27463193411cf85207ae09ce8
2017-07-17 17:57:11 +01:00
Adrian Roos
6d626acdbf
Merge "AOD: Implement long press gesture to launch assist" into oc-dr1-dev
...
am: 3fbd93056e
Change-Id: I8bc8e01a97711fdd30ff59aeb72d38e8acaa7c75
2017-07-13 12:10:21 +00:00
Adrian Roos
3fbd93056e
Merge "AOD: Implement long press gesture to launch assist" into oc-dr1-dev
2017-07-13 12:01:52 +00:00
Neil Fuller
7776b49c13
Merge "Address further API review comments" am: b279ec51b6 am: cf8e06c0ac
...
am: 92189b6e21
Change-Id: I6b15cc75923cd712ca62302b8f797899ad43ad00
2017-07-12 16:07:03 +00:00
Neil Fuller
cf8e06c0ac
Merge "Address further API review comments"
...
am: b279ec51b6
Change-Id: Idbb8fc5c6e6cd912acbca1b5b144533dbfff2775
2017-07-12 15:52:20 +00:00
Adrian Roos
d0963a07d1
AOD: Implement long press gesture to launch assist
...
Bug: 37684244
Test: adb shell settings put secure doze_pulse_on_long_press 1; turn screen off, long press, verify assistant is launched
Change-Id: I87335d3c091bbb17022d79e599f46fb826039b7d
2017-07-12 15:25:50 +02:00
qingxi
a6536cc85e
Merge "Move eSIM factory reset implementation to RecoverySystem" into oc-dr1-dev
...
am: a249de50d1
Change-Id: I784617e0c34275adc5d177e6728b4b2c86dc1f5d
2017-07-12 02:31:24 +00:00
TreeHugger Robot
a249de50d1
Merge "Move eSIM factory reset implementation to RecoverySystem" into oc-dr1-dev
2017-07-12 02:17:42 +00:00
qingxi
e060ffd2ca
Move eSIM factory reset implementation to RecoverySystem
...
This CL reverts the implementation of eSIM factory reset in
MasterClearReceiver and uses RecoverySystem#rebootWipeUserData to erase
eSIM data. Besides this, when the eSIM data isn't erased, we should call
EuiccManager#retainSubscriptionsForFactoryReset to let the fastboot know
that.
Bug: 62957212
Test: TreeHugger
Merged-In: I08ab9d53ec4fc73a65e8e7d0c39ac95b2d44d012
Change-Id: I08ab9d53ec4fc73a65e8e7d0c39ac95b2d44d012
2017-07-11 13:09:40 -07:00
Neil Fuller
493781a5bf
Address further API review comments
...
Address further API review comments from API reviewer.
Bug: 31008728
Test: make droid
Change-Id: I0b3f6be9eaf69ffa8a6e73475f9c3a9ba3e343f2
2017-07-11 16:12:29 +01:00
Neil Fuller
51f2974b1f
Merge "Merge "Move column definitions to an inner class" am: ab0bb48965" into stage-aosp-master am: cb996b5574
...
am: 9e86604cbd
Change-Id: I8118b8b1041ade5e19fee06289d1ba4c1848837f
2017-07-11 10:26:05 +00:00
Neil Fuller
fb3804d720
Merge "Move column definitions to an inner class"
...
am: ab0bb48965
Change-Id: Ie9fa51f05dc7df781e9e9bdeb9d3c21ca4cde6c8
2017-07-11 10:07:37 +00:00
TreeHugger Robot
2c3c58d917
Merge "Add screensaver settings to backup list" into oc-dr1-dev
2017-07-10 20:17:56 +00:00
Neil Fuller
d07c331349
Move column definitions to an inner class
...
Move column definitions and other URI constants
to inner classes based on feedback from an API council
reviewer.
Bug: 31008728
Test: make droid
Change-Id: I213e44f2655017e0ca32a4dfb1f5617ef471d854
2017-07-10 20:02:56 +01:00
Jason Monk
df31effd5f
Add screensaver settings to backup list
...
Test: manual
Change-Id: Icf47312e20b4ec44d02dc31ce575e89083a8be7d
Fixes: 35700553
2017-07-10 14:19:08 -04:00
Julia Reynolds
5f8e0b881e
Rate limit notification sounds/vibrations
...
1 alert per second.
Bug: 36662487
Test: runtest systemui-notification
Change-Id: I2046ae17b9e89ac0a83e182b91422fd242bc7557
2017-07-10 09:37:54 -04:00
Ricardo Loo
aec98da9eb
docs: Updated #ACTION_REQUEST_SET_AUTOFILL_SERVICE description
...
Making clear that `ACTION_REQUEST_SET_AUTOFILL_SERVICE` is an activity
action, not a broadcast action.
Test: Ran `make ds-docs -j16 and staged the change at
http://go/dac-stage/reference/android/provider/Settings.html#ACTION_REQUEST_SET_AUTOFILL_SERVICE
BUG: 62470123
2017-07-07 12:48:06 -07:00
Daniel Nishi
fa1143658b
Add a Setting for whether or not we have been disabled by policy.
...
Bug: 62106274, 35698183
Test: StorageManager robotests
Merged-In: I1788d6143362130df88950c6843fa78b67182d5e
(cherry picked from commit da7332c070 )
2017-07-06 20:00:25 +00:00
Jason Monk
cb5296a6f0
QS: Move auto-add state to settings provider
...
And back it up.
Test: runtest systemui
Change-Id: I880909ce63ab32a5c11f31f449c1aa10221085d3
Fixes: 62667758
2017-06-30 11:36:40 -04:00
Christine Franks
c99c0e2297
Add ACTION_DISMISS_TIMER intent
...
Bug: 38475809
Test: manual - visual inspection of code
Change-Id: I9e58c9699fc2e6afad38db6b44f2e2b649564327
2017-06-26 14:34:47 +00:00
TreeHugger Robot
523c0a6a65
Merge "Add action for launching Assist Gesture settings" into oc-dr1-dev
2017-06-21 02:52:06 +00:00
Sujith Ramakrishnan
63e1d36bbf
Merge "Add a new flag to check if provisioning is completed on ATV" into oc-dev
...
am: 59c6385bf9
Change-Id: I61b688030f11cbe745dadd0a541d9196eb36d21c
2017-06-20 22:36:25 +00:00
Sujith Ramakrishnan
f63c015bba
Merge "Add a new flag to check if provisioning is completed on ATV" into oc-dev
...
am: 59c6385bf9
Change-Id: Iba2e6a6fe6c76c6ae1776f9ce430223ed6222dc4
2017-06-20 22:27:53 +00:00
Kevin Chyn
268a96c6eb
Add action for launching Assist Gesture settings
...
Bug: 62540322
Test: adb shell am start -a android.settings.ASSIST_GESTURE_SETTINGS
Change-Id: I60a2b98aba605d93166aba1af2ee19c3fc6b5a8c
2017-06-19 16:05:57 -07:00
Daniel Nishi
f69d450b6f
Merge "Flag the DH no threshold options menu." into oc-dr1-dev
2017-06-19 17:45:29 +00:00
Sujith Ramakrishnan
314df160c0
Add a new flag to check if provisioning is completed on ATV
...
- This flag will be set once provisioning is completed
and reset when SetupWizard is re-enabled.
Test: None. Adding a static variable.
Bug: 62419382
Change-Id: Ie3e4c118d26f6bd035a451ed1914e73bdeda4e3f
2017-06-19 09:44:49 -07:00
Todd Kennedy
1466c1618f
Merge "enable/disable dexopt for instant apps remotely" into oc-dev
...
am: 5d969b9862
Change-Id: If9f063e5db82c079b7a9e682365a8840ee7da794
2017-06-16 18:19:49 +00:00
Todd Kennedy
3586115ae5
Merge "enable/disable dexopt for instant apps remotely" into oc-dev
...
am: 5d969b9862
Change-Id: Ica29f01779c2bb504d682a2b457f861264cc00b0
2017-06-16 18:19:45 +00:00
TreeHugger Robot
5d969b9862
Merge "enable/disable dexopt for instant apps remotely" into oc-dev
2017-06-16 18:07:53 +00:00
qingxi
0ca328f420
Add API from EuiccManager to wipe eUICC data
...
Use EuiccManager#eraseSubscriptions(PendingIntent) to erase all the
carrier data from eUICC chip if the user choose to "Erase eSIMs" from
the system setting.
Bug: 37475183
Test: E2E
Change-Id: Iaab2640c98576fdc87ca626765329ae0398724e4
2017-06-16 00:16:14 +00:00
Dianne Hackborn
92cc8d3816
Merge "Work on issue #36891897 : Need to ensure foreground services..." into oc-dev
...
am: ef0554438f
Change-Id: I5d25640507d4c4cf61f64638d27ddf0cac67f880
2017-06-15 18:52:18 +00:00
Dianne Hackborn
84795f778b
Merge "Work on issue #36891897 : Need to ensure foreground services..." into oc-dev
...
am: ef0554438f
Change-Id: I39ad3ffce83c1817bdc8aa7ab9f623d1b683d983
2017-06-15 18:52:07 +00:00
Todd Kennedy
133c5da0d9
enable/disable dexopt for instant apps remotely
...
Change-Id: I997b8ae515f7bf2570edca4ed7ab4b46198148a5
Fixes: 62591398
Test: Manual; install instant app and see that it doesn't dexopt
Test: Manua; update gservices flag, install instant app and see that it does dexopt
2017-06-15 09:44:34 -07:00
Dianne Hackborn
cb01563d7e
Work on issue #36891897 : Need to ensure foreground services...
...
...can't hide themselves
Tune the policies for when we tell about apps running in the
background after their services have stopped.
- If it ran while the screen was on, the time we require for it
to be running is much shorter (a couple seconds) as well as the
time we tell about it having run (with another tunable for the
minimum time we tell about this).
- If it has only run while the screen is off and stops a sufficient
amount of time before the screen goes on (currently a second) then
we will not show anything when the screen goes on.
- If it stops when the screen turns on, we will make sure the user
sees about it for a short period of time (currently 5 seconds).
Also includes some improved debug output about handler message
queues.
Test: manual
Change-Id: Iab438410d7182b2dfe4f9c1cce7069b26b34834c
2017-06-14 17:33:41 -07:00
Daniel Nishi
4f5320ec4f
Flag the DH no threshold options menu.
...
Bug: 38322601
Test: Manual
Change-Id: If52b1a2c6b01843c5865aab0589724345acccc3c
2017-06-13 17:51:21 -07:00
Kevin Chyn
809393740f
Add assist gesture silence and wake settings
...
Bug: 37427306
Test: make -j56
Change-Id: I36da4d689a2aecf0cdd5e0549ede6d3e31f0e630
2017-06-12 16:02:28 -07:00
Svetoslav Ganov
50859b50a6
Merge "Ensure only test print services enabled - framework" into oc-dev
...
am: 053fb9120e
Change-Id: I70220ead15eabfe58727ab5c3b0a9c92e8c508a8
2017-06-08 16:04:17 +00:00
Svetoslav Ganov
62031b8937
Merge "Ensure only test print services enabled - framework" into oc-dev
...
am: 053fb9120e
Change-Id: I5f07488ba286cb3d01c75d96e1003edba845daf8
2017-06-08 16:01:54 +00:00
Kevin Chyn
4fddc9fa4d
Add setting and permission for assist gesture
...
Bug: 37427306
Test: manual
Merged-In: I659fa43fb085575df4d62e7765d88c6fd615fb7d
Change-Id: I659fa43fb085575df4d62e7765d88c6fd615fb7d
2017-06-07 21:42:55 -07:00
Svetoslav Ganov
2dcedc1276
Ensure only test print services enabled - framework
...
Test: cts-tradefed run cts-dev -m CtsPrintTestCas
bug:62232727
Change-Id: I1050272586d1c03dc1b1dfdb8b10e258912a249b
2017-06-07 18:50:05 -07:00