Commit Graph

71969 Commits

Author SHA1 Message Date
Roozbeh Pournader
609aaf52dc Merge "In onDragEvent(), don't assume text is Spannable" into oc-dev am: 99e620ef32
am: c9affff74c

Change-Id: I3501e9a7174b5e1ab8a9486710de515a605f5eb7
2017-05-18 19:42:51 +00:00
Roozbeh Pournader
c9affff74c Merge "In onDragEvent(), don't assume text is Spannable" into oc-dev
am: 99e620ef32

Change-Id: I5431864f75241c9f8b33064981ea332e7bef823b
2017-05-18 19:32:02 +00:00
TreeHugger Robot
99e620ef32 Merge "In onDragEvent(), don't assume text is Spannable" into oc-dev 2017-05-18 19:21:51 +00:00
Dianne Hackborn
21095637e6 Merge "Work on issue #36891897: Need to ensure foreground services..." into oc-dev am: e4f484915f
am: 4d208f2ec6

Change-Id: Idc57b2a5953b0525d7c51999bcefdba868c68e16
2017-05-18 18:04:17 +00:00
Dianne Hackborn
4d208f2ec6 Merge "Work on issue #36891897: Need to ensure foreground services..." into oc-dev
am: e4f484915f

Change-Id: I644cf3173134c0aeb2cddcb8add85803aa76b362
2017-05-18 17:50:56 +00:00
Dianne Hackborn
e4f484915f Merge "Work on issue #36891897: Need to ensure foreground services..." into oc-dev 2017-05-18 17:35:15 +00:00
Jeff Sharkey
12f4b76db2 Merge "Unbreak even more APK 26 apps running on "O" preview/beta builds." into oc-dev am: 997042ac33
am: c244963675

Change-Id: I30e0155a9260ec4099ad45d7161c8459c8b657a2
2017-05-18 16:11:07 +00:00
Christine Franks
33a16a93f6 Merge "Don't back up night display state settings" 2017-05-18 16:04:37 +00:00
Jeff Sharkey
c244963675 Merge "Unbreak even more APK 26 apps running on "O" preview/beta builds." into oc-dev
am: 997042ac33

Change-Id: I6da01817370fa1244499644497396a57e55df492
2017-05-18 16:02:49 +00:00
TreeHugger Robot
294d4c29f6 Merge "Avoid a race condition on reading qemu.gles property" 2017-05-18 06:38:06 +00:00
Tomasz Wasilczyk
e876f8f845 Merge "Implement isAntennaConnected interface of ITuner." 2017-05-18 04:06:28 +00:00
TreeHugger Robot
8ed859a23a Merge "Print A11yEv. Content Change Types in DEBUG toString" 2017-05-18 03:34:36 +00:00
Jeff Sharkey
f383c24749 Unbreak even more APK 26 apps running on "O" preview/beta builds.
Bug: 38391358
Test: builds
Change-Id: Ic48f9cb53da3ed8241e5d40d3096304ee4dfebd2
2017-05-17 17:53:38 -06:00
Christine Franks
61c68a71e2 Don't back up night display state settings
Bug: 38352336
Test: Turn on night display, then run 'adb shell bmgr transport
android/com.android.internal.backup.LocalTransport && adb shell bmgr
backupnow com.android.providers.settings'. Turn night display off, then
run 'adb shell bmgr restore com.android.providers.settings'. Night display
should not turn back on.
Change-Id: I9ca9474cba9b195850af04ce9d89cbbbd200673b
2017-05-17 16:51:45 -07:00
Roozbeh Pournader
74e7b26a10 In onDragEvent(), don't assume text is Spannable
Previously, onDragEvent() tried to set the anchor even if
the text was not Spannable. Now we check to make sure it is
Spannable before trying to set the selection.

Test: cts-tradefed run cts-dev --module CtsTextTestCases
Change-Id: I835bf3d6024bf3c85e1d248458829eef496ad93d
Fixes: 37261326
2017-05-17 15:04:45 -07:00
Tomasz Wasilczyk
39ac214838 Implement isAntennaConnected interface of ITuner.
Test: instrumentation
Bug: b/36863239
Change-Id: I325cc29a696a6163fd3db1f2a75e64a2b1ddf514
2017-05-17 14:55:17 -07:00
Lei Yu
64766b86ab Merge "Add settings constants for anomaly detection" 2017-05-17 21:10:34 +00:00
Chris Tate
d8f738c4a1 Merge "Be resilient to restoring unintelligible network templates" 2017-05-17 19:48:13 +00:00
Michael Wachenschwanz
e459819383 Merge "Merge "Purge Nonexistent User Jobs on Boot" into oc-dev am: a61f09f657" into oc-dev-plus-aosp
am: 414acfc033

Change-Id: I9eabccc26062dcbd6dccc56f031b02086da2bcf6
2017-05-17 19:31:35 +00:00
Michael Wachenschwanz
77a6283a5e Merge "Purge Nonexistent User Jobs on Boot" into oc-dev
am: a61f09f657

Change-Id: Ic96e165de9014b1d56ac322fcf2918458b1dd251
2017-05-17 19:10:44 +00:00
Michael Wachenschwanz
a61f09f657 Merge "Purge Nonexistent User Jobs on Boot" into oc-dev 2017-05-17 18:58:12 +00:00
Philip Quinn
e94332f242 Merge "Remove unused settings." 2017-05-17 18:52:27 +00:00
Marc Hittinger
bbc06abe37 Merge "Update defaults for isHighEndGfx settings." 2017-05-17 18:52:01 +00:00
Philip Quinn
b6d00c3fd4 Remove unused settings.
Bug: 38164441
Test: make -j
Change-Id: I8194f1937c74b93c442153cea19c622877fb8a5b
2017-05-17 18:44:54 +00:00
Eugene Susla
4a34f9c2f6 Print A11yEv. Content Change Types in DEBUG toString
Test: Enable debug, and ensure changeTypes are properly displayed
Change-Id: I1bf6a9f56a72e867a0bc967a5e3527eb4dc83952
2017-05-17 11:13:05 -07:00
Christopher Tate
3bf017325c Be resilient to restoring unintelligible network templates
Some OEMs have introduced incompatible network bookkeeping.  We now
detect and ignore those network definitions at restore time.

In addition, we now

  * log when an undefined network match type is used to construct a
    NetworkTemplate instance, and
  * quietly refuse to match such a NetworkTemplate against any known
    network identifier, rather than crashing the inquiring app.

Bug 38151335
Test: manual

Change-Id: I565b6f6b87df1f13a8c0c01ae6049bda270b1e48
2017-05-17 10:33:01 -07:00
Jaesung Chung
9a89d83dab Avoid a race condition on reading qemu.gles property
The qemu.gles property will be ready after the SurfaceFlinger service is
initializing. Once the all required variable is set, it caches the
result for the future calls.

Bug: 37759781
Test: Test with imx6ul and imx7d pico boards.
Change-Id: Ib9f11a51ec8a0707be854f67fc8591149ab7fd49
2017-05-17 23:26:14 +09:00
Charles He
c8b8bc949b Merge "Fingerprint: call onRemovalSucceeded with # of remaining templates." into oc-dev am: 50be382341
am: 16a2759492

Change-Id: I0caf8f5367fe611ddacb6132ea5f0baac8ad75e6
2017-05-17 13:20:42 +00:00
Charles He
16a2759492 Merge "Fingerprint: call onRemovalSucceeded with # of remaining templates." into oc-dev
am: 50be382341

Change-Id: I5c6f8dfed5777de8098fa6a02d5a3124addedf22
2017-05-17 13:15:42 +00:00
Charles He
50be382341 Merge "Fingerprint: call onRemovalSucceeded with # of remaining templates." into oc-dev 2017-05-17 12:58:21 +00:00
Daichi Hirono
ad0fdeae3d Merge "Add more JSDoc about ErrnoException" into oc-dev am: 487231e79c
am: 985c215e5b

Change-Id: Ie3c57b34082f697bfe4e5e08f249719d9aaf2a31
2017-05-17 02:32:14 +00:00
Daichi Hirono
985c215e5b Merge "Add more JSDoc about ErrnoException" into oc-dev
am: 487231e79c

Change-Id: I7c4194bdc5d7f2f61c7fead09765b24d432a93a2
2017-05-17 02:26:08 +00:00
TreeHugger Robot
487231e79c Merge "Add more JSDoc about ErrnoException" into oc-dev 2017-05-17 02:17:01 +00:00
Tomasz Wasilczyk
22f13fdc6f Merge "Implement program list and forced analog features of ITuner." 2017-05-17 01:27:16 +00:00
Michael Wachenschwanz
3f2b6552ec Purge Nonexistent User Jobs on Boot
In the case that a user has been removed but their jobs still exist on
disk, the JobSchedulerService will remove all jobs not associated with
current users on boot.
Exposed UserManagerService#getUserIds() via UserManagerInternal for
quick user id retrieval.

Fixes: 38261977
Test: manual

Change-Id: Id4b3c0a4142b4818fcd875eef18ea03f3c45ca40
Signed-off-by: Michael Wachenschwanz <mwachens@google.com>
2017-05-16 17:41:36 -07:00
Dianne Hackborn
fb5d4b598c Work on issue #36891897: Need to ensure foreground services...
...can't hide themselves

Propagate to notification manager the apps that are causing
the "running in background" notification to be shown.

Also hopefully this time fix the problem with the notification
being stuck.  (We were mixing elapsed time in the state management
with uptime in the message scheduling.)

Test: manual

Change-Id: I9e38bff5fe69fa75b418e34c84d4e704ef70f460
2017-05-16 17:05:02 -07:00
Winson Chung
d691cc14c8 Merge "Updating Overview to work with PiP" into oc-dev am: 0553cbcf36
am: fbdd98ef69

Change-Id: I54bac22c4c5963773d886e9f18da8f90b4aac2a6
2017-05-16 23:59:37 +00:00
Winson Chung
fbdd98ef69 Merge "Updating Overview to work with PiP" into oc-dev
am: 0553cbcf36

Change-Id: I57d2f76567c0a92d9a282c6c8cdd0732be06873d
2017-05-16 23:50:04 +00:00
Winson Chung
0553cbcf36 Merge "Updating Overview to work with PiP" into oc-dev 2017-05-16 23:41:17 +00:00
TreeHugger Robot
55270840c1 Merge "Prune repetetive code in A11yEvent toString" 2017-05-16 23:30:37 +00:00
jackqdyulei
7a5e06f456 Add settings constants for anomaly detection
Bug: 36924669
Test: Build
Change-Id: I7ca6745dedada8948ed0296cadb20b62a19c8fb3
2017-05-16 16:12:59 -07:00
TreeHugger Robot
9e6ef496bc Merge "Discover primary service by UUID for PTS tests (4/4)" into oc-dev 2017-05-16 22:53:50 +00:00
Garfield Tan
71d10aba0f Merge "Specify behavior around DocumentsProvider#openDocument()." into oc-dev am: 146e8f415f
am: 3cd801dc24

Change-Id: I28724a4c556a9a132054eb730c09fff9b6eaed8c
2017-05-16 22:46:24 +00:00
Robert Carr
84bfcc1b79 Merge "ViewRootImpl: Guard against null in performMeasure" into oc-dev am: 4bc839e267
am: fc945bf674

Change-Id: Idde7f1b8382468723bbb7678e1d10f9ead3cbe1e
2017-05-16 22:40:36 +00:00
Garfield Tan
3cd801dc24 Merge "Specify behavior around DocumentsProvider#openDocument()." into oc-dev
am: 146e8f415f

Change-Id: I014761972a0803a1865dd6c18a95cfeacec7beb4
2017-05-16 22:39:04 +00:00
Tomasz Wasilczyk
d3d53f6692 Implement program list and forced analog features of ITuner.
Test: instrumentation
Bug: b/36863239
Change-Id: Ib900a444f36d33dc9d55a99e699f9b6ce0c943ad
2017-05-16 15:37:07 -07:00
TreeHugger Robot
146e8f415f Merge "Specify behavior around DocumentsProvider#openDocument()." into oc-dev 2017-05-16 22:34:41 +00:00
Robert Carr
fc945bf674 Merge "ViewRootImpl: Guard against null in performMeasure" into oc-dev
am: 4bc839e267

Change-Id: I1bc8741550626747849a13b15e8ec45dbc5d8110
2017-05-16 22:30:15 +00:00
TreeHugger Robot
4bc839e267 Merge "ViewRootImpl: Guard against null in performMeasure" into oc-dev 2017-05-16 22:25:09 +00:00
TreeHugger Robot
41902fb366 Merge "Avoid marshalling default-valued fields" 2017-05-16 22:24:31 +00:00