Commit Graph

309172 Commits

Author SHA1 Message Date
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
Robin Lee
1d996bd7fc Remove locked user tasks if starting overlay fails
This is a more graceful failure case than giving up and just letting
the task show unmodified on the screen if something goes wrong.

Test: runtest -x WorkLockActivityControllerTest.java
Bug: 31001762
Fix: 31064912
Change-Id: I505c00f411f41fb927c31d2280bdeda69e15b4d4
2017-02-17 10:48:43 +00:00
Clara Bayarri
1a8904abee Merge "Use weight & style data for fonts from xml source" 2017-02-17 10:39:53 +00:00
Bill Yi
b97ce9eb47 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev am: d4177b8610 -s ours
am: 53c71a90fb  -s ours

Change-Id: Ibc881b5f7161b876de104aece3ffdb133389b0e2
2017-02-17 10:29:48 +00:00
Bill Yi
53c71a90fb Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev
am: d4177b8610  -s ours

Change-Id: I73ba26823b2c27cf1f492558bf6b7c176c296282
2017-02-17 10:24:43 +00:00
TreeHugger Robot
d4177b8610 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev 2017-02-17 10:16:42 +00:00
Shreyas Basarge
4edbf055ed Merge "Use separate message ids for backup and restore operations" 2017-02-17 10:14:50 +00:00
Esteban Talavera
5b7f2d0858 Backup service APIs not available on parent profile instance
Bug: 35432611
Test:  cts-tradefed run cts-dev --module DevicePolicyManager --test  com.android.cts.devicepolicy.ManagedProfileTest#testParentProfileApiDisabled
Change-Id: Ia1621183dee17dcd183a668f1714b563f79e5b17
2017-02-17 09:45:24 +00:00
TreeHugger Robot
6fd0e8d5d4 Merge "Import translations. DO NOT MERGE" 2017-02-17 09:39:51 +00:00
TreeHugger Robot
5cf832c5ae Merge "Import translations. DO NOT MERGE" 2017-02-17 09:38:47 +00:00
TreeHugger Robot
956edcafe4 Merge "Import translations. DO NOT MERGE" 2017-02-17 09:38:07 +00:00
TreeHugger Robot
0478678634 Merge "Import translations. DO NOT MERGE" 2017-02-17 09:32:53 +00:00
TreeHugger Robot
ec8a096d59 Merge "Import translations. DO NOT MERGE" 2017-02-17 09:30:16 +00:00