231279 Commits

Author SHA1 Message Date
Wale Ogunwale
5122df094b API council recommended changes to bounds APIs in ActivityOptions
Bug: 26509660
Change-Id: Id90fbda0e15e83145ecc85c214b0ae5763fcc902
2016-01-29 22:33:38 -08:00
Selim Cinek
33f266201c Merge "Fixed a bug where the notification became clearable" 2016-01-29 21:22:00 +00:00
Wale Ogunwale
76d159fdcb Merge changes I96fdf9b4,Ia85d9d89,I1fd23114
* changes:
  Added isDockable field to RunningTaskInfo
  Display warning toast when we try to launch unresizeable app in split-screen
  Don't allow non-dockable activities/tasks in docked stack.
2016-01-29 21:14:17 +00:00
Adrian Roos
7134cce644 Follow up to improved ANR dialog
Original CL Ie1f0ca54216f123ae26df51d42f88b0fa2d65941

Bug: 22692162
Change-Id: I7fd849fee4d2e6252bfb839b2da052ccc0d6b2d6
2016-01-29 13:01:05 -08:00
Philip P. Moltmann
2090ec472b Merge "Size recyclerview correctly." 2016-01-29 20:57:43 +00:00
Adrian Roos
edfa96fb14 Fix broken animation with FLAG_DISMISS_KEYGUARD
Bug: 26863727
Change-Id: I054a63d1d156ae6b3617bd799789b4c4de91d6e5
2016-01-29 20:54:40 +00:00
Adrian Roos
a85a2c63f1 Improve ANR dialog
Bug: 22692162
Change-Id: Ie1f0ca54216f123ae26df51d42f88b0fa2d65941
2016-01-29 20:53:08 +00:00
Wale Ogunwale
21b6058fff Added isDockable field to RunningTaskInfo
Allows the caller to know if the task can go in the docked stack.

Bug: 26774816
Change-Id: I96fdf9b4df0ac87d84492e1504baac3ca0767d37
2016-01-29 12:52:14 -08:00
Wale Ogunwale
b9b16a74e5 Display warning toast when we try to launch unresizeable app in split-screen
Bug: 26774816
Change-Id: Ia85d9d89758041661391018f04feb6f8db4e56d9
2016-01-29 12:45:30 -08:00
Adam Lesinski
9fa3cd3d86 Merge "BatteryStats: Fix DivideByZero error" 2016-01-29 20:42:42 +00:00
Adam Lesinski
a426817a06 BatteryStats: Fix DivideByZero error
As we hand out proportional blame to apps for transmitting/receiving
packets, make sure to check that the total packets sent never
becomes zero.
Bug:26873610

Change-Id: I3e0fc3c9e8d4dafce2e88c75d8f44701d8fba0d4
2016-01-29 12:41:27 -08:00
Wale Ogunwale
513346d8f5 Don't allow non-dockable activities/tasks in docked stack.
Prevent activities and tasks that are not resizeable and don't
support crop windows resize mode from going into the docked stack.

Bug: 26774816
Change-Id: I1fd23114685be15908e80e8bc5a0216d8bfd049e
2016-01-29 12:37:47 -08:00
Andreas Gampe
1990221c93 Merge "PackageManagerService: Add more ABI adjustment logging" 2016-01-29 20:31:07 +00:00
Winson Chung
11f17cad62 Merge "Fixing some drag and drop issues." 2016-01-29 20:22:20 +00:00
Winson
d952961977 Fixing some drag and drop issues.
- When opening recents while there is a task docked, initialize the
  stack scroll to the front of the stack
- When undocking a task while recents is open, scroll to the front of
  the stack
- Fixing offset when adjusting the task stack size due to top inset 
  being double applied in some dock states
- Fixing issue with task view not scaling when picking up from the 
  freeform workspace

Change-Id: I15436ac21f05ff521492d8ae1c682a414503101a
2016-01-29 12:21:58 -08:00
Wale Ogunwale
2e4089478f Merge "Use resizeMode integer instead of resizeable boolean." 2016-01-29 20:12:14 +00:00
Ben Kwa
4b1b3e98e0 Merge "Add logging for MTP roots." 2016-01-29 20:12:08 +00:00
Ben Kwa
da518c9e61 Add logging for MTP roots.
BUG=26737132

Change-Id: I09d7f644edd775ce54a06dbed9f4b716eeb662d3
2016-01-29 12:11:01 -08:00
Jason Monk
bd8a4b03ce Check QS window token types
Change-Id: Id72193b680a9a1bf2a353ed8f902057ace3dde20
2016-01-29 20:10:02 +00:00
Ben Kwa
9445345ea1 Merge "Add metrics logging for file operations." 2016-01-29 19:57:12 +00:00
Adrian Roos
2307b730a7 Merge "Add lockscreen wallpaper support to SystemUI" 2016-01-29 19:24:40 +00:00
Adrian Roos
52738328bd Add lockscreen wallpaper support to SystemUI
Bug: 25454162
Change-Id: I38b71ac2efc2a9608ae4e41173b64eca817cd4ea
2016-01-29 19:24:08 +00:00
Steve McKay
957c742f1f Merge "Clear selection after copy and when back is pressed." 2016-01-29 19:21:24 +00:00
Tony Mantler
9a115b274c Merge "Make AppRestrictionsHelper leanback-aware" 2016-01-29 19:20:33 +00:00
Makoto Onuki
f3bc593a62 Merge "Throw for unknown user restrictions." 2016-01-29 19:19:40 +00:00
Winson Chung
fed279907d Merge "Referencing static interpolators. " 2016-01-29 19:19:31 +00:00
Makoto Onuki
3861bf7e73 Throw for unknown user restrictions.
Bug 23902097

Change-Id: I78a4b09db880134577d690be0c50ee9a64e6a309
2016-01-29 11:17:57 -08:00
Winson
c0d7058b14 Referencing static interpolators.
Change-Id: I5d2292016e869ed533f5873e373a1eccce651fc5
2016-01-29 11:15:43 -08:00
Jeff Davidson
3c2feda8a5 Merge "Revert Network Stats API stub for tracking of metered networks." 2016-01-29 19:08:52 +00:00
Dongwon Kang
f14a39398f Merge "TIF: Make RecordingCallback static" 2016-01-29 18:53:24 +00:00
Dongwon Kang
397b1447ab TIF: Make RecordingCallback static
Change-Id: I5138713fe21f49d43e9c70af8c2ba66318aa8342
2016-01-29 10:47:21 -08:00
Andreas Gampe
7169e51ca0 Merge "Frameworks/base: Stop profiling on uncaught exception" 2016-01-29 18:45:48 +00:00
Andreas Gampe
4c79fea9ef Frameworks/base: Stop profiling on uncaught exception
When "handling" an uncaught exception, make an attempt to stop
profiling. In case profiling was active, this will avoid losing
the profiling buffer.

Bug: 26291225
Change-Id: Ie5f5517b46ed89d0456a4aac9d4ff3b713d1d8aa
2016-01-29 10:45:14 -08:00
Jeff Davidson
921d15b58a Revert Network Stats API stub for tracking of metered networks.
Bug: 25813958
Change-Id: I9d2835b7bacfffef05b1588f1301afc70f5f582f
2016-01-29 10:36:52 -08:00
Calin Juravle
1c8e12bc4d Merge "Revert "Revert "Fix optimizable package filter""" 2016-01-29 18:35:05 +00:00
Adrian Roos
a481b48dcf Fix NPE when logging a WTF in unknown process
Bug: 26873463
Change-Id: I548c10b43f5784152b9227926aa37170fd9fd78f
2016-01-29 18:26:56 +00:00
Jorim Jaggi
883043b251 Merge "Incremental local builds for services" 2016-01-29 18:25:47 +00:00
Calin Juravle
6dfd83dbe8 Revert "Revert "Fix optimizable package filter""
The issue was traced to go/aog/854901. This revert was only temporary.

Bug: 26863668
This reverts commit d9c31db2e9e4da08ed43c88135fa7e220bc26ebf.

Change-Id: I6724059db18263936cc392651c621d27836f1c33
2016-01-29 18:23:57 +00:00
Jeff Davidson
c4f7e07b1f Merge "Notify NetworkStatsService of roaming status changes." 2016-01-29 18:16:09 +00:00
Jeff Sharkey
7fc4866ff2 Merge "Remove "updatecmds" feature." 2016-01-29 18:15:34 +00:00
Jeff Davidson
0b93c5dd98 Notify NetworkStatsService of roaming status changes.
When the roaming status of the cell network changes, it is handled as
follows:

-DcActiveState gets an event (either EVENT_DATA_CONNECTION_ROAM_ON or
 EVENT_DATA_CONNECTION_ROAM_OFF) and calls
 NetworkAgent#sendNetworkInfo with updated NetworkInfo.
-ConnectivityService then gets an EVENT_NETWORK_INFO_CHANGED and calls
 updateNetworkInfo with the new info.

With the previous code, the NetworkAgent's NetworkInfo object would be
updated internally, but because the state of the connection had not
changed from CONNECTED, the change would be considered a duplicate and
otherwise ignored.

With the new code, we call notifyIfacesChanged() when the state is the
same but the roaming status has changed. That should be all that is
necessary, as roaming is not exposed as a link property or network
capability today.

Bug: 26545456
Change-Id: I33d32d1fa84ce41dbe01542e5b498eda4b744b74
2016-01-29 10:13:18 -08:00
Jae Seo
c7cbd7b21f Merge "TIF: Unhide TvInputCallback.onInputUpdated()" 2016-01-29 18:06:09 +00:00
Jae Seo
61e97e0e42 Merge "TIF: Add Hardware prefix to method/member names for better readability" 2016-01-29 18:05:47 +00:00
Jeff Sharkey
a9aa24974e Remove "updatecmds" feature.
This feature is very old and hasn't been used in many releases.  In
addition, it was never taught about multi-user layouts, and it would
be incredibly hard to maintain in the new FBE world where CE keys
may not appear until several reboots after an OTA.

Bug: 26854442
Change-Id: I3e88d38fde671e41ea9bdd790173d8b93c8a5c12
2016-01-29 11:02:06 -07:00
Steve Pfetsch
9ad66d365b Merge "Fixed NullPointerException in SystemUI" 2016-01-29 17:59:47 +00:00
Rubin Xu
a0a5836562 Merge "Enable work mode quick settings tile" 2016-01-29 17:50:04 +00:00
Jeff Sharkey
538c11cf21 Hack to get devices booting again.
If we try scheduling a pass before the system is ready, record a
pending event and dispatch once we're actually ready.

Bug: 26863668
Change-Id: I028285383c8bbe8b653aeaa7544eefe3d41277bc
2016-01-29 10:46:09 -07:00
Anna Galusza
f3e5d1d483 Merge "Add API for IME control by Accessibility Services." 2016-01-29 16:58:07 +00:00
Calin Juravle
1fffffcf39 Merge "Revert "Fix optimizable package filter"" 2016-01-29 16:38:55 +00:00
Rubin Xu
a3b0c04f34 Merge "Watch out for null pointers when getting profile owner info" 2016-01-29 16:38:30 +00:00