308264 Commits

Author SHA1 Message Date
Santos Cordon
a093a89b17 Merge "Back up VR screen brightness setting." 2017-02-17 19:23:13 +00:00
Filip Pavlis
b07c6f621a Fix incorrect title in PreferenceActivity.
When navigating from a preference panel back to the headers in single pane,
the title was not restored and the original one (of the previous
preference panel) was kept instead.

Bug: b/35468759
Test: Is covered in ag/1761868
Change-Id: I30cc4c1d2a53d05411cc849ce8423b694c76976a
2017-02-17 19:23:04 +00:00
Treehugger Robot
2b879016d3 Merge "Adds @hide ImsService APIs" 2017-02-17 19:21:45 +00:00
Adam Lesinski
28aa703a36 Shared library test case addition
Test: manual (inspection)
Change-Id: Ia71e3a744a9032acedf1977ea7a82361844bf47d
2017-02-17 11:17:45 -08:00
TreeHugger Robot
2ec8d8403e Merge "Exit persistent VR mode on edge swipe." 2017-02-17 19:03:53 +00:00
Colin Cross
a7cfd57759 Add multi-dex to SettingsLibTests when buliding with coverage
Building with coverage enabled pushes SettingsLibTests over the dex
limit, enable multi-dex.

Test: builds
Change-Id: Ia72db71a2e46e2fdc8cf3e5484f122fa985f25c7
2017-02-17 18:54:37 +00:00
Dongwon Kang
f1f59ce91a TIF: specify the type for COLUMN_INTERACTION_COUNT
Test: documentation change.
Bug: 35217547
Change-Id: Ia693ebc1ad9029910cd91882a783edd15235073d
2017-02-17 10:44:39 -08:00
Fyodor Kupolov
61221290f5 API for accessing preloaded files cache
Added @SystemAPI method Context.getPreloadsFileCache.

Bug: 31008665
Test: manual
Change-Id: Id61ab5e1b78d8bfbd40f61985406a8de4082b30f
2017-02-17 10:40:54 -08:00
Android Build Merger (Role)
54dc4cb096 Merge "Merge "Update dalvik.bytecode package" am: 3f827b5e33 am: fd63280dd2 am: 2e6a473f20 am: 2dc835dd1c" 2017-02-17 18:40:27 +00:00
Orion Hodson
2b7c037aee Merge "Update dalvik.bytecode package" am: 3f827b5e33 am: fd63280dd2 am: 2e6a473f20
am: 2dc835dd1c

Change-Id: I1534a0f78da4b8ccee8c1cb96c2f9f0d0fe16ecf
2017-02-17 18:39:13 +00:00
TreeHugger Robot
a4f3891d28 Merge "Mark clearDeviceOwnerApp/clearProfileOwner as deprecated" 2017-02-17 18:38:36 +00:00
Conrad Chen
7a9e2fb857 Merge "TIF: Fix current position not reported issue" 2017-02-17 18:36:42 +00:00
Andrii Kulian
a2c94eb260 Merge "Use the top stack on display instead of focused" 2017-02-17 18:36:09 +00:00
Andrii Kulian
580ae91310 Merge "Move activities to fullscreen stack on display removal" 2017-02-17 18:35:31 +00:00
Orion Hodson
2dc835dd1c Merge "Update dalvik.bytecode package" am: 3f827b5e33 am: fd63280dd2
am: 2e6a473f20

Change-Id: I22a1e489d2597bfe0ed4b1f93a39128b29a08be5
2017-02-17 18:33:21 +00:00
Andrii Kulian
000fd43eec Merge "Report move to display for activities that handle config changes" 2017-02-17 18:27:29 +00:00
Orion Hodson
2e6a473f20 Merge "Update dalvik.bytecode package" am: 3f827b5e33
am: fd63280dd2

Change-Id: If0728a4f838a275860e32f078822554815e31f22
2017-02-17 18:27:29 +00:00
Daniel Nishi
cf9d19e030 First pass at adding the cache quota suggestions.
This currently integrates with installd, but not with
any framework API to expose this information to apps.

The first pass, as per the design doc, adds a service
which polls for large changes in the file system free space.
If enough spaces changes, it begins a recalculation of the
cache quotas and pipes the information down to installd.
This calculation is done in the updateable ExtServices.

Further enhancements in later patches include integrating this
to listen to package install and removal events, caching the
last computed quota values into an XML file on disk to load
on boot, and exposing the information to apps.

Bug: 33965858
Test: ExtServices unit test

Change-Id: Ie39f228b73532cb6ce2f98529f7c5df0839202ae
2017-02-17 10:26:16 -08:00
Orion Hodson
fd63280dd2 Merge "Update dalvik.bytecode package"
am: 3f827b5e33

Change-Id: I94a28f57f36af1528e04f1af9eb9239cee8eeee6
2017-02-17 18:20:18 +00:00
Andreas Gampe
41aa8e807d Frameworks: Re-add tagsoup to preloaded-classes
Too many third-party apps still rely on this transitively, and
static initialization is expensive.

Bug: 34890992
Bug: 35395100
Test: m
Test: Device boots
Change-Id: If5e2474ff11f34d7be5633793bc7f591cbe5ccf3
2017-02-17 10:15:41 -08:00
Felipe Leme
d633f07255 Minor improvements to help diagnose auth workflow.
BUG: 35348724
Test: CtsAutoFillServiceTestCases passes

Change-Id: I6ad3320faca8eed329b2cc4836281a547f57456a
2017-02-17 10:15:37 -08:00
Treehugger Robot
3f827b5e33 Merge "Update dalvik.bytecode package" 2017-02-17 18:13:42 +00:00
Leonard Mosescu
456d5fc159 Add missing break statement.
It was caught in the code review after the merge (thanks Narayan!).
This is already fixed and tested in the internal branch (see Merged-In)

Test: manual, CTS in internal

Change-Id: I9f6f72995e9ab633564b6bc22846fbe99eb65105
Merged-In: If14126e645b2d0a1307404e2f50088b3994abce2
2017-02-17 10:10:55 -08:00
Jean-Michel Trivi
dce82ab7bf Audio focus enforcement: use VolumeShaper for ducking
When ducking players, check whether their content type
  is speech, or the player is a SoundPool. If yes, do
  not enforce ducking and leave it to the app. Otherwise
  use a VolumeShaper to duck, and keep it in a list
  so it can be reused to unduck (by using the REVERSE
  operation).

Test: play a notification while an AudioTrack is playing
Bug 30258418

Change-Id: I7e0204ad38d4ef48e88ffc45533caccfc6e279b5
2017-02-17 10:08:53 -08:00
Winson Chung
49affea25b Fix trampoline activities when relaunching PiP
- We should be checking the actual launched-from package since that stores
  the source package across trampoline activities

Bug: 35458117
Test: Enter PiP from a trampoline activity, launch again from Launcher
      and ensure that it is expanded

Change-Id: Ia0e586e8b21dee63b513bd61a41a24e7da4325e1
2017-02-17 10:07:30 -08:00
Phil Weaver
d666953f57 Clarify extra data argument nullness.
Bug: 35098706
Test: Trivial change, so I just verified that it builds.
Change-Id: I234afe4f1e52ef1c4c64e44b486a539f0d46854c
2017-02-17 09:55:46 -08:00
Bartosz Fabianowski
4f7e1fc9af Merge "Add API for checking whether the default IME was set by the DO/PO" 2017-02-17 17:53:02 +00:00
phweiss
ec3d9ca9f6 Show policy transparency dialog after failed screenshot
If an admin disables screen capture, and a screenshot is attempted,
a notification is displayed. Now, tapping it brings you to the policy
transparency dialog.

Bug: 27365337
Test: manual
Change-Id: I93db6e7f508a3d9bbd4483bbf5a7b84eb8beb0af
2017-02-17 18:24:43 +01:00
Philip P. Moltmann
8f35ba4690 Add autoFillMode attribute to View
Bug: 34077687
Test: Ran ViewAttributesTest
Change-Id: I76cfd04efa63e30d2e7bb22ff59c4e7db7c620bb
2017-02-17 09:19:39 -08:00
phweiss
e398331ee0 Remove Quicksettings footer in QuickQSPanel
Before this cl, the footer was normally invisible, except if the user
removed all tiles in quick settings, then it looks broken (see bug).
Now the area is blank.

Bug: b/35381410
Test: manually

Change-Id: I104a46cfe396c7d44704505cebe41066d26866c4
2017-02-17 17:06:27 +00:00
Dmitry Dementyev
a63a9d4c34 Merge "Update AccountManager getAccountVisibility method to better handle default cases." 2017-02-17 17:06:18 +00:00
Amin Shaikh
98773d4837 Add a disabled reason for recommendation providers
Display a message indicating that a saved networks has not been
automatically connecting due to low quality if
WifiConfiguration#mNotRecommended is set.

Bug: 34745259
Test: m RunSettingsLibRoboTests && runtest frameworks-wifi
Change-Id: I275e2711da68715fb6d92bf954e9f58a3386b1f4
2017-02-17 08:49:16 -08:00
Aaron Whyte
cdb8fcb611 Merge "Unhide InputDevice.SOURCE_ROTARY_ENCODER" 2017-02-17 16:40:51 +00:00
TreeHugger Robot
f3a5cefdf6 Merge "Do not log booleans" 2017-02-17 16:26:23 +00:00
Julia Reynolds
1327d3c3fa Hide incomplete feature.
Test: make
Change-Id: I505a8ee2f2fbdb574f607005579832951f28022a
2017-02-17 11:20:45 -05:00
George Mount
521862de53 Catch reentrancy while executing postponed transactions.
Bug 35349893

While executing postponed transactions, it was possible for
Fragments to call commitNow() or executePendingTransactions()
and therefore causing disallowed reentrancy.

This CL now prevents reentrancy while executing postponed
transactions.

Test: I11e10f4d9868a31b8b1616a051e381fe8c7af331

Change-Id: Icb0d4386657c35b4edf34f95dc48aa694e66b298
2017-02-17 08:04:00 -08:00
Jerome Gaillard
1db0d3cd04 Update FontFamily_Delegate following Change I1d6e1c4c
Test: layoutlib tests
Change-Id: I3fda9b0eaf36d74c8a64f2a5c7aeb063b4df8d1a
2017-02-17 15:46:05 +00:00
Orion Hodson
7d1bdf8375 Update dalvik.bytecode package
BUG: 33191717
Test: m checkapi
Change-Id: I6af2b36573f698ae091e9d7e3f01c156549834c1
2017-02-17 14:55:25 +00:00
TreeHugger Robot
bae3d7083f Merge "Spline: Fix monotonicity constraint" 2017-02-17 14:53:29 +00:00
Julia Reynolds
bef4eed2f7 Do not log booleans
Change-Id: Ic132d214d226abb6b318038a3262e1c918814aa6
Fixes: 35445671
Test: manual
2017-02-17 09:49:16 -05:00
Wyatt Riley
cd52950a9e Merge "Common code for 4 jni Location conversions" 2017-02-17 14:40:29 +00:00
TreeHugger Robot
91e5d7fa99 Merge "Remove locked user tasks if starting overlay fails" 2017-02-17 13:40:43 +00:00
sj.cha
4205057104 Merge "Infinite reboot when OS upgrade from M to N with set Always-on VPN" am: 1a69570fe8 am: 3b92631a69 am: 10957727f5
am: 395f0de0dc

Change-Id: Ib7e586a778c6fb9b920f0790e4b343c122250bb7
2017-02-17 13:32:07 +00:00
sj.cha
395f0de0dc Merge "Infinite reboot when OS upgrade from M to N with set Always-on VPN" am: 1a69570fe8 am: 3b92631a69
am: 10957727f5

Change-Id: I5e0faee7a0b1c6bdfafe77560a91e999f40edc4a
2017-02-17 13:27:04 +00:00
sj.cha
10957727f5 Merge "Infinite reboot when OS upgrade from M to N with set Always-on VPN" am: 1a69570fe8
am: 3b92631a69

Change-Id: I82c297e654af6690c6a3be216a0da08a3aff5b9d
2017-02-17 13:21:34 +00:00
sj.cha
3b92631a69 Merge "Infinite reboot when OS upgrade from M to N with set Always-on VPN"
am: 1a69570fe8

Change-Id: I21a69eb02b13b20f66996836d54b8aadadfa80ec
2017-02-17 13:17:00 +00:00
Treehugger Robot
1a69570fe8 Merge "Infinite reboot when OS upgrade from M to N with set Always-on VPN" 2017-02-17 13:07:21 +00:00
TreeHugger Robot
df31649933 Merge "Backup service APIs not available on parent profile instance" 2017-02-17 12:06:33 +00:00
Andrei Stingaceanu
30574766ef AutoSize TextView (part 10) - final APIs
Gets rid of setting auto-size configuration
items one by one and instead provides setter
constructs that take all the params needed
to auto-size. This version is much closer to
how this feature can be set up from XML
attributes and also provides no doubt about
validation failures.

Bug: 32221168
Bug: 34494052
Test: in attached topic CL
Change-Id: Ic70ad43d5c6739ee312ea24984534a35c49c17dc
2017-02-17 12:02:10 +00:00
TreeHugger Robot
08a2dd12bb Merge "Defer readSessionsLocked until system ready" 2017-02-17 10:51:06 +00:00