Commit Graph

75094 Commits

Author SHA1 Message Date
Tomasz Mikolajewski
463b686abc Cleanup passing emails for Web Links API.
Test: CTS test.
Bug: 35813086
Change-Id: Ic65f1ec99492618effc60475f8746a98026e6e0a
2017-03-22 17:46:31 +09:00
TreeHugger Robot
8515afe08b Merge "Revert "Move expensive TextClock operations to onAttach"" 2017-03-22 05:42:58 +00:00
TreeHugger Robot
a6906adf59 Merge "Explicitly call out email in "social" category." 2017-03-22 04:22:19 +00:00
TreeHugger Robot
6fd8bceac3 Merge "Block CE SharedPreferences access before unlocked." 2017-03-22 03:58:37 +00:00
TreeHugger Robot
e2fa7c36c3 Merge "Deprecate EXTRA_STREAM." 2017-03-22 03:52:00 +00:00
TreeHugger Robot
8a29aecb73 Merge "Better ContentProvider error messages." 2017-03-22 03:17:01 +00:00
TreeHugger Robot
e6bd88625b Merge "Update PageViewCursor to correctly load window." 2017-03-22 02:57:23 +00:00
Jeff Sharkey
c152396c44 Block CE SharedPreferences access before unlocked.
Otherwise we'll end up "loading" an empty XML file because the errno
is ignored, and then we'll overwrite the real XML data later once
the user is unlocked.

Test: builds, boots
Bug: 36252783
Change-Id: If185e552f661894f79842afaa4e56ab4d796ce2c
2017-03-21 20:31:54 -06:00
Jeff Sharkey
a0ba51c2ab Deprecate EXTRA_STREAM.
ClipData is much more flexible, and it should be used instead of
EXTRA_STREAM moving forward.  To ensure that legacy apps continue
working, the OS will offer to promote/demote the ClipData value
from/to EXTRA_STREAM.  (We already had the promotion logic, but we
were missing the demotion logic.)

Test: builds, boots
Bug: 35293781
Change-Id: I82cd0b95cf021292282649290ab046cc310fe160
2017-03-21 20:23:40 -06:00
TreeHugger Robot
ac9e6f7453 Merge "Implement runtime account update notifications." 2017-03-22 02:19:28 +00:00
Ian Pedowitz
cbba5f3090 Revert "Move expensive TextClock operations to onAttach"
This reverts commit dffe6fdfe1.

Bug: 36472151
Change-Id: I98ba047bd4225d82414425a40e9a2e50c4473bf9
2017-03-22 02:09:13 +00:00
TreeHugger Robot
d00fe5a544 Merge "Add custom presentation (RemoteViews) on Dataset values." 2017-03-22 01:43:44 +00:00
Jeff Sharkey
d2b69100f4 Explicitly call out email in "social" category.
Test: builds, boots
Bug: 35294569
Change-Id: I08b2c1b1b95b6c2fc6fd7be417cd0f9547c8237b
2017-03-21 19:41:29 -06:00
Jeff Sharkey
c0cc220e63 Better ContentProvider error messages.
Help guide developers towards ACTION_OPEN_DOCUMENT and related
APIs when a Uri is backed by a DocumentProvider.

Also help developer understand that we expected a valid
ContentProvider for Uri notifications.

Test: builds, boots
Bug: 32642790, 36075317
Change-Id: I8e0e3cb25b183c4a9a094a53018822a4212bdaf9
2017-03-21 19:25:37 -06:00
Renat Aksitov
419acc38a3 Merge "Voice Messaging Intent API." 2017-03-22 00:13:35 +00:00
TreeHugger Robot
e4e40af10b Merge "Update display contents when metrics change" 2017-03-22 00:02:32 +00:00
Eugene Susla
9f29617d58 Merge "Add system feature for Companion Device Manager" 2017-03-21 23:58:35 +00:00
TreeHugger Robot
8c97b51abd Merge "Add special URI to MediaStore for directories." 2017-03-21 23:38:30 +00:00
Felipe Leme
03ee781b97 Fixed bad link caused by race conditions on git merges.
Test: no time for that
Change-Id: Iffbba4ab2aa0751a406e031fe34e8e2c75e0abde
2017-03-21 16:28:26 -07:00
TreeHugger Robot
52b6bde402 Merge "Allow multi line preference title." 2017-03-21 23:23:15 +00:00
TreeHugger Robot
d85bf7857d Merge "Method to allow testing of Loopers" 2017-03-21 23:01:04 +00:00
TreeHugger Robot
11f5cf937a Merge "Send launch token to activity manager" 2017-03-21 22:55:09 +00:00
Dmitry Dementyev
8882d881f9 Implement runtime account update notifications.
Test: manual, cts.
Change-Id: Iaf9fe4814c3d3c2ca2dca0a5bfa0f997e060bfeb
2017-03-21 15:54:00 -07:00
TreeHugger Robot
1f08e1369b Merge "Changes on Assist structure to handle virtual child for autofill:" 2017-03-21 22:52:09 +00:00
TreeHugger Robot
713b869aad Merge "Expose Typeface creation APIs with ttc and font variation." 2017-03-21 22:50:20 +00:00
TreeHugger Robot
7105dd8bfa Merge "Shame developers that are calling hidden APIs." 2017-03-21 22:45:02 +00:00
TreeHugger Robot
e6b44f270f Merge "Allow dangerous reentrant behavior for older apps" 2017-03-21 22:40:14 +00:00
Steve McKay
f3be60a6b3 Update PageViewCursor to correctly load window.
Bug: 36485764
Test: CTS updated and passing.
Change-Id: I2b615d97fdaedef441065889ce3a2988b718795c
2017-03-21 15:33:38 -07:00
Steven Thomas
327dfaa659 Merge "Revert "Revert "Add remote callbacks for persistent vr mode""" 2017-03-21 22:25:00 +00:00
Andrii Kulian
eddb7c0985 Update display contents when metrics change
There are two separate overrides for display metrics in DisplayManager
and WindowManager:
- In DM - LogicalDisplay#mOverrideDisplayInfo, in most cases not null.
- In WM - DisplayContent#mBaseDisplayWidth/Height/Density, different
from #mInitialDisplayWidth/Height/Density values when some metrics are
forced.

When display was resized its windows weren't updated because of
two problems: old LogicaDisplay#mOverrideDisplayInfo was preventing
WM from detecting the change and override (base) display metrics were
never updated by resize.

When display size changes:
- Before this CL:
DM receives DISPLAY_CHANGED event, it updates internal values.
In most cases there is an override obtained from WM and WM doesn't
get new values from LogicalDisplay#getDisplayInfoLocked().

- With this CL:
DM receives DISPLAY_CHANGED event, it updates internal values and
resets the override received from WM. WM will receive updated values
and will decide whether to apply them or not: if there is no override
in WM - it will apply values from WM, otherwise it will keep the
override. In both cases WM will eventually update its own override
and will update the override in DM.

Bug: 35258051
Bug: 34164473
Test: android.server.cts.ActivityManagerDisplayTests
Test: #testDisplayResize
Test: #testForceDisplayMetrics
Change-Id: I80795434a6a35adb0577fbce334d76fabd2fa03d
2017-03-21 15:23:47 -07:00
TreeHugger Robot
e2436917d5 Merge "Allow draw hw bitmap on software canvas for hierarchyviewer" 2017-03-21 21:54:22 +00:00
Seigo Nonaka
20e5d91739 Expose Typeface creation APIs with ttc and font variation.
Introduce Builder class for creating Typeface from various
sources with optional TTC index and font variation settings.

Bug: 33062398
Test: Manually verified new Builder create Typeface.
Change-Id: Ia23ee6a73516707d854c7387fe75fbb22f80673d
2017-03-21 13:27:33 -07:00
Jeff Sharkey
6f4b2a3039 Shame developers that are calling hidden APIs.
Test: builds, boots
Change-Id: Id3edf1a7890f7dbc4cff2a2699bbeabc247c6e90
2017-03-21 14:13:47 -06:00
Garfield Tan
9361541998 Add special URI to MediaStore for directories.
Bug: 36048049
Bug: 31001477
Change-Id: I69032481271b7f53c22403c3526560e6830bd9e8
(cherry picked from commit 1ca2837111c8383f9c8daf1420356998f4fb218f)
2017-03-21 20:05:04 +00:00
Steven Thomas
b70845c708 Revert "Revert "Add remote callbacks for persistent vr mode""
This reverts commit 2abf1c60cc.

We need the ability to register remote callbacks for persistent vr mode,
so vr flinger can register for persistent vr mode events.

Bug: 35885165

Test: Manually confirmed vr flinger can register and receive persistent
vr mode events.

Change-Id: I7713c4c8acae9a369fd0c06695ef712fddd12be8
2017-03-21 20:01:28 +00:00
TreeHugger Robot
709ff779e6 Merge "Improved WebView -> ViewStructure mapping for Autofill." 2017-03-21 19:49:43 +00:00
Andreas Gampe
90a96507f6 Merge "resolve merge conflicts of 9034b2717c to master" 2017-03-21 19:37:38 +00:00
Dianne Hackborn
db1b3cfb2f Merge "Add new "storage not low" job scheduler constraint." 2017-03-21 19:27:03 +00:00
Andreas Gampe
1185eebefb resolve merge conflicts of 9034b2717c to master
Change-Id: Ifcc9fdbf8581e81a61f7a279c2b7d3177e972596
2017-03-21 12:17:16 -07:00
Jakub Pawlowski
a9795ca6be Merge "Add setScannable to AdvertisingSetParameters (1/2)" am: 7f14b8f095 am: 8d06b41826
am: 34d23b7794

Change-Id: I960254d1c051f58c882a6c39bb6fb2173a47c0ef
2017-03-21 18:59:57 +00:00
Jakub Pawlowski
9cd0d3eec3 Merge "Add missing txPower parameter" am: a6c1f6def1 am: 43f71975d0
am: ac5adba90e

Change-Id: I0f7b282fb1a0d09742f8a8e9aca5a62b841adf0a
2017-03-21 18:58:31 +00:00
Andreas Gampe
9034b2717c Merge "Zygote: Preserve capabilities in WrapperInit" am: 1ae7af10ff
am: 1d9c3ba10d

Change-Id: Ia9b6111705486d7da69ef2436d03cd19272502b6
2017-03-21 18:58:27 +00:00
Andreas Gampe
1d9c3ba10d Merge "Zygote: Preserve capabilities in WrapperInit"
am: 1ae7af10ff

Change-Id: Ia1ffb03d6e03b098cc634ef2deb3785c6bb87202
2017-03-21 18:54:22 +00:00
Jakub Pawlowski
34d23b7794 Merge "Add setScannable to AdvertisingSetParameters (1/2)" am: 7f14b8f095
am: 8d06b41826

Change-Id: I8cc220bd494841841f89eeba840ce71b1c2a0692
2017-03-21 18:52:03 +00:00
Jakub Pawlowski
ac5adba90e Merge "Add missing txPower parameter" am: a6c1f6def1
am: 43f71975d0

Change-Id: If6dbc369985eaf18db9c8fd0670683768d613406
2017-03-21 18:50:51 +00:00
Andreas Gampe
1ae7af10ff Merge "Zygote: Preserve capabilities in WrapperInit" 2017-03-21 18:45:02 +00:00
Jakub Pawlowski
8d06b41826 Merge "Add setScannable to AdvertisingSetParameters (1/2)"
am: 7f14b8f095

Change-Id: I26846383be5c0fe88501ffd1011b27f39896a74a
2017-03-21 18:44:36 +00:00
Jakub Pawlowski
43f71975d0 Merge "Add missing txPower parameter"
am: a6c1f6def1

Change-Id: I61ac50f7f2a5d3d3ea2a3e23b441fa22bb69f52a
2017-03-21 18:43:21 +00:00
Jakub Pawlowski
d12b5688f0 Add setScannable to AdvertisingSetParameters (1/2)
There must be a proper way to specify if advertisment is scannable, when
updating the parameters.

Test: manual
Bug: 30622771
Change-Id: Ie520609d3fff07ccc2960015c19311d773842852
2017-03-21 18:37:16 +00:00
Jakub Pawlowski
bcf671b7eb Add missing txPower parameter
Test: manual
Bug: 30622771
Change-Id: Iaf3111d7545f9bb046b5a23b680347a75125ca7e
2017-03-21 18:36:05 +00:00