Commit Graph

246497 Commits

Author SHA1 Message Date
Julia Reynolds
3898db9e15 Merge "Allow the ranker to autobundle notifications." into nyc-dev 2016-04-08 20:13:45 +00:00
Phil Weaver
e37cfab6c6 Reduce unnecessary accessibility cache clearing.
Tracking if accessibility focus is being cleared because it is being
set to another view in the same window. In this case, leave
accessibility focus on the window.

This change greatly reduces the amount of cache re-indexing.
Previously we flushed the cache every time accessibility focus moved.

Bug: 28077283
Change-Id: If80899d36e7f58b22635f844bdd4ea37a55b875e
2016-04-08 13:06:44 -07:00
Cheryl Potter
a6d7a32121 Merge "docs: Document test artifact preference setting b/24810371" into mnc-mr-docs 2016-04-08 20:05:37 +00:00
Samuel Tan
44a4668b45 Rename enableAutoJoinWhenAssociated() to setEnableAutoJoinWhenAssociated()
This renaming better reflects how this method is a setter, and
supports variable renaming taking place in WifiConfigManager and
WifiStateMachine.

BUG: 28088867
Change-Id: Ic2f7a1f53ffec4072e556d2831bfdcff9fef1ad7
TEST: 'runtest frameworks-wifi' passes.
2016-04-08 12:50:23 -07:00
Andrii Kulian
ef3b27224b Fix invalid stack position when docked on right
If task is dragged from fullscreen recents to right to perform
dock-to-right, it's stack is initially positioned incorrectly.
This CL shifts position in correct direction.

Bug: 27621228
Change-Id: I14df76a036aa0f6f7b500e4e8b5ce04fbc03de9a
2016-04-08 12:45:27 -07:00
Jason Monk
aa336f8926 Merge "Allow mode of TileService to be changed" into nyc-dev 2016-04-08 19:37:55 +00:00
Suprabh Shukla
bb5e4e2b81 Merge "Moving HelpUtils to SettingsLib" into nyc-dev 2016-04-08 19:31:38 +00:00
Cheryl Potter
ca1eda1b34 docs: Document test artifact preference setting
b/24810371

Change-Id: Ibbd19c46abd858fc1f2859a93fc1a037d6962ad5
2016-04-08 12:30:58 -07:00
Dianne Hackborn
80d48f108e Merge "Fix issue #26879170: Adjust doze maintenance windows..." into nyc-dev 2016-04-08 19:29:01 +00:00
Dianne Hackborn
6827db3e5f Merge "Fix issue #28075893: Don't hold strong refs on to JobService" into nyc-dev 2016-04-08 19:28:42 +00:00
smain@google.com
40ed41b2f5 add 64-bit requirement for linux bug: 26288626
am: 584d18b

* commit '584d18b8fba1715faad00bfd9572cf4e65a0739a':
  add 64-bit requirement for linux bug: 26288626

Change-Id: If030592c0426fac91e95f718a7b690613d139466
2016-04-08 19:23:49 +00:00
Chong Zhang
d44063cb3f Fix for activity manager crash due to null task
Use top.task instead of mStartActivity.task, since in case of reusing
top without starting, the latter will not be set.

bug: 28059153
Change-Id: I91ec59203ca9ae650ad1d14fb9a42985a539d597
2016-04-08 12:21:33 -07:00
Adam Powell
fe5e1a75c1 Merge "Chooser filtering and caller direct share targets" into nyc-dev 2016-04-08 19:20:25 +00:00
Andrii Kulian
21400cb552 Merge "Fix multiple configuration changes in multiwindow" into nyc-dev 2016-04-08 19:05:20 +00:00
smain@google.com
584d18b8fb add 64-bit requirement for linux
bug: 26288626

Change-Id: I6de4c5e6e6e076200bb32136383b7b98d4039f79
2016-04-08 12:00:01 -07:00
Andrii Kulian
701214b282 Fix multiple configuration changes in multiwindow
When in split-screen mode and activity handles configuration changes
it gets 2 onConfigurationChanged calls which originate from
ActivityManagerService#updateConfigurationLocked:
1. app.thread.scheduleConfigurationChanged calls to all process records
   send configuration of the whole screen for corresponding orientation,
   which leads to CONFIGURATION_CHANGED message in ActivityThread.
2. mStackSupervisor.resizeStackLocked call resizes both visible stacks and
   eventually ActivityThread receives ACTIVITY_CONFIGURATION_CHANGED
   message with correct configuration corresponding to space occupied in
   split-screen.

In this CL if component callback is an instance of Activity and it had
override config set - onConfigurationChanged will not be triggered unless
override config has changed.

Bug: 27948331
Change-Id: Ia73b045570b44eb5b351811bf6c4f63d78c3f909
2016-04-08 11:58:43 -07:00
Jason Monk
006572a63f Visual updates to battery screen
Change-Id: Ie9e2c45201a986493bb629b02cb7421805f38d85
Fixes: 27479696
Fixes: 27678421
2016-04-08 14:43:08 -04:00
Rob Carr
b918f1bfb8 Merge "Do not crop children to task bounds while resizing." into nyc-dev 2016-04-08 18:37:31 +00:00
Robert Carr
679c807210 Synchronize future unsync transactions to last sync.
This ensures we don't push through an unsynchronized
update while a synchronized one is pending. If the
synchronized one is no longer pending, then our
transaction is applied anyway and things continue as normal.

Bug: 27098060
Change-Id: I08fe8f848848d25d01b1696e0340fcce61ac554f
2016-04-08 11:30:56 -07:00
Adrian Roos
77537b9dbf Fix HUN Scrim
Fixes: 26365345
Change-Id: I2dd0250cdeb83dec5f7bbdde6719a71a802bff84
2016-04-08 11:23:31 -07:00
Phil Weaver
ab4d5ffd12 Merge "Eliminate side effects of a11y window title." into nyc-dev 2016-04-08 18:22:02 +00:00
Adrian Roos
3021f44d9e Fix early session termination in FalsingManager
Now we properly wait until the status has changed
from Keyguard to Shade.

Bug: 27754935
Change-Id: I1b09130965a196ec20f6982d1ac3e4d1d2b2e2a3
2016-04-08 11:12:22 -07:00
Mary Yanchar
cabbf5c329 Merge "Removed mention of JRE8 in sdk setup" into mnc-mr-docs
am: 2f24634

* commit '2f24634dfcc65491a06545412f1534176890f887':
  Removed mention of JRE8 in sdk setup

Change-Id: I1034e1bd2805de2bf8113f0f79ac05b40b795274
2016-04-08 18:07:48 +00:00
Doris Liu
0e89f98044 Merge "Improve error logging for parsing failures" into nyc-dev 2016-04-08 18:02:51 +00:00
Doris Liu
0a1a5167be Improve error logging for parsing failures
Bug: 27043594
Change-Id: I901b65f734c49444a78e0714e007e15e2340ab9d
2016-04-08 18:01:54 +00:00
Selim Gurun
cea732185f Merge "Corrections to processing abioverride flag" into nyc-dev 2016-04-08 17:57:58 +00:00
Julia Reynolds
e46bb37acf Allow the ranker to autobundle notifications.
Bug: 26709317
Change-Id: I5017a471604e513a7b582cdc2f3472441e108fae
2016-04-08 13:55:03 -04:00
Bryce Lee
7219adadb0 Add granular control over disabled effects.
Currently, we can only wholesale disable effects outside of zen mode.
There are some devices that require long running suppression of features.
Effects disabling was added previously to support this. However, calling
suppression was broken recently on a device where we needed notification
suppression, but not calling suppression.

This CL remedies this problem by adding more granular disabled effects
hints. The NotificationManagerService has been updated to handle these
request types and present ZenModeHelper with a unified map of what should
be suppressed.

Bug: 27992763
Change-Id: I38b4706446dfd6e1c3eb97266dbc3332b250adda
2016-04-08 10:54:23 -07:00
Mary Yanchar
2f24634dfc Merge "Removed mention of JRE8 in sdk setup" into mnc-mr-docs 2016-04-08 17:49:13 +00:00
Paul Lawrence
c0a8fa8918 Merge "Add setting and detection of ro.sys.safemode property." into nyc-dev 2016-04-08 17:40:42 +00:00
Chong Zhang
a1544dd614 Merge "Take screenshot of finishing apps as requested" into nyc-dev 2016-04-08 17:36:31 +00:00
Samuel Tan
7c17b2c0d9 Remove unused WifiConfigManager symbols and values
Remove symbols and values used to assign now-deleted fields
of WifiConfigManager.

BUG: 28084272
Change-Id: Ifc0b4b8de8a58ee934e2d70d3038d9338f4ee270
TEST: 'runtest frameworks-wifi' succeeds.
2016-04-08 10:32:34 -07:00
dcashman
f44f5a460e Add setting and detection of ro.sys.safemode property.
Bug: 28008032
Change-Id: I6b19b32df615becd88a56a337c999b57011c6200
2016-04-08 10:20:01 -07:00
Gustav Sennton
6824c7c1ec Clear calling identity when enabling WebView fallback logic.
Using the shell to enable/disable the WebView fallback logic would,
before this CL, fail because the package from where we update the actual
setting wouldn't match that of the calling UID.

Bug: 27957671
Change-Id: Iedf3be71aeef572ebf92c1db163eb8f461b8287a
2016-04-08 18:11:59 +01:00
Anna Galusza
21cafcd662 Merge "Fix issue where (accessibility) keyboard mode callbacks were not always called. Bug: 28007101" into nyc-dev 2016-04-08 17:06:10 +00:00
Jason Monk
06112bb2df Merge "Add constant for premium sms screen" into nyc-dev 2016-04-08 17:04:45 +00:00
Bennie Ouyang
fc90ffe392 Merge "Added Notification Stress Tests" into nyc-dev 2016-04-08 16:58:21 +00:00
Amith Yamasani
d8d967e425 Improved javadoc for onLocalVoiceInteractionStopped
Improved docs per API review: b/27365473

Change-Id: I8e2fd5291ecf3c41b4c1fa4df62b0dc69597c122
2016-04-08 09:57:01 -07:00
Raph Levien
c147dbbca4 Merge "Avoid copying of font table data, provide raw font bytes" into nyc-dev 2016-04-08 16:32:14 +00:00
Svetoslav Ganov
0e868a193e Merge "Fix a NPE in PackageInstallerService" into nyc-dev 2016-04-08 16:25:01 +00:00
Svet Ganov
3baa87653e Fix a NPE in PackageInstallerService
bug:28051747

Change-Id: Ic38786e1ab4b4f6d0f9b1782d3bb46af04c61aa7
2016-04-08 09:22:57 -07:00
smain@google.com
6a9dcc71b8 Merge "update system reqs for accelerated emulator bug: 27817059" into mnc-mr-docs
am: 69c05a7

* commit '69c05a7fb862ed23e8b7d92b86874e4a42bb2ac2':
  update system reqs for accelerated emulator bug: 27817059

Change-Id: I18b89b072f40717da607293a865732763e2a0075
2016-04-08 16:09:55 +00:00
Scott Main
69c05a7fb8 Merge "update system reqs for accelerated emulator bug: 27817059" into mnc-mr-docs 2016-04-08 15:58:36 +00:00
Andrei Stingaceanu
56e44e4583 Keyboard shortcuts: sort application items
Sorts entries for application shortcuts by label,
case insensitive with nulls and/or empty labels last.

Bug: 28014459
Change-Id: I405a72bc312e4a81a3013b816385dc8c23f9feec
2016-04-08 16:56:10 +01:00
Daniel U
534537d313 Merge "Copy lockscreen notification settings upon upgrade" into nyc-dev 2016-04-08 15:44:45 +00:00
Jason Monk
97d2272be0 Allow mode of TileService to be changed
Since the mode of a tile service was set in onTileAdded, it couldn't
be controlled by developers if they updated their tile.  To handle
the mode has been moved to a boolean meta-data flag to indicate
a tile should be an active tile.

Bug: 28043969
Change-Id: I6403d34f8cb70809edc07769389d5a1f835c1ab3
2016-04-08 11:42:57 -04:00
Daniel U
02ba61203e Copy lockscreen notification settings upon upgrade
Copy the primary values of LOCK_SCREEN_SHOW_NOTIFICATIONS and
LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS into managed profile upon upgrade.

Bug:27673591
Change-Id: I3207b7e5bf844f0df534324220082edbdabe8444
2016-04-08 16:41:15 +01:00
Adam Powell
52c39215db Chooser filtering and caller direct share targets
Let apps invoking the system chooser specify components to filter out
such as themselves; this will prevent duplicate nonsensical UX where
it doesn't make sense for an app to share to itself.

Similarly, let apps provide their own Direct Share targets for when
they do want to let users share via their own internal services in the
same UI. These options can be used together.

Also fix a bug where a lingering binder reference from a remote
ChooserTargetService that hasn't been GC'd in the remote process could
keep an active reference to a ChooserActivity instance.

Bug 28073484

Change-Id: Ib613b1153b49dfedf79574b1af7c45379eceec24
2016-04-08 08:40:38 -07:00
Evan Rosky
289d8a0850 Merge "Centralized user icon drawing with badges" into nyc-dev 2016-04-08 15:38:38 +00:00
Jason Monk
397df6875d Add constant for premium sms screen
Bug: 27657256
Change-Id: Ia5b209deceb1726b62529c4144a85f5fc2d26833
2016-04-08 11:37:34 -04:00