231264 Commits

Author SHA1 Message Date
Christopher Tate
e5f51c212c Stage backup/restore data in a cache subdir rather than root
Also make sure not to do the restorecon() before the file is
created.

(Also fix binder identity bug in the 'bmgr fullbackup' flow.)

Bug 26834865

Change-Id: Ia8a59eeb55762264163c8b310caae5e303413571
2016-01-29 12:47:45 -08: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
Calin Juravle
d9c31db2e9 Revert "Fix optimizable package filter"
Bug: 26863668

This reverts commit 8aaaf138887355f218b5da3f0efe1c4610a6c31a.

Change-Id: I659e2de56afd729f36aa111772fec8c9c2ddf801
2016-01-29 16:38:11 +00:00
Neil Fuller
8b0dfef9fe Merge "Unhide @Repeatable" am: 31312ecfd2
am: 833c9fcdf1

* commit '833c9fcdf155ba28d0b8a017376a6796c5d03806':
  Unhide @Repeatable
2016-01-29 16:33:00 +00:00
Ben Kwa
d5b2af1544 Add metrics logging for file operations.
Log to two new histograms - one for operations originating from system
providers, the other for operations originating from external providers.

Events in these histograms are bucketed by
- type (copy, move, delete, etc)
- destination (system vs external provider, with a special bucket for
    intra-provider operations)
- result (success vs failure)

BUG=26737132

Change-Id: Ic24c7a22fa3c1227e23cfbd42ae80ca1f70a19ba
2016-01-29 08:31:42 -08:00
Rubin Xu
945fd0074a Watch out for null pointers when getting profile owner info
Bug: 22776761
Change-Id: If9b7fe603c52b953633a81642b506c0b2fa8dc3a
2016-01-29 16:29:53 +00:00
Neil Fuller
833c9fcdf1 Merge "Unhide @Repeatable"
am: 31312ecfd2

* commit '31312ecfd2b701c6b9fdc34156e8a12df3022c25':
  Unhide @Repeatable
2016-01-29 16:28:22 +00:00
Neil Fuller
8633b72a26 Merge "Unhide @FunctionalInterface" am: 45a1ea33a4
am: 79bd8e8815

* commit '79bd8e881510d62f0fd7198f21dba42a06bec7b8':
  Unhide @FunctionalInterface
2016-01-29 16:23:33 +00:00
Neil Fuller
31312ecfd2 Merge "Unhide @Repeatable" 2016-01-29 16:19:36 +00:00
Neil Fuller
79bd8e8815 Merge "Unhide @FunctionalInterface"
am: 45a1ea33a4

* commit '45a1ea33a4e0eb7f1204c03611caf4699ed91d47':
  Unhide @FunctionalInterface
2016-01-29 16:18:32 +00:00
Neil Fuller
6fa925a76c Unhide @Repeatable
Bug: 26623636
(cherry-picked from commit c98d6a4c19ab9d5620c05b0f5ccb3b91a9eaba15)

Change-Id: I6378d5780def3a26d340f213973a4094e97426f5
2016-01-29 16:17:31 +00:00
Neil Fuller
45a1ea33a4 Merge "Unhide @FunctionalInterface" 2016-01-29 16:10:13 +00:00
Neil Fuller
679e4037f2 Unhide @FunctionalInterface
Bug: 26623636
(cherry-picked from commit c5064327eae625b67013736048e35388decce52b)
Change-Id: I05fc731356891c4fdba79701b1b87384841d56ca
2016-01-29 16:07:43 +00:00
Neil Fuller
a262f24673 Merge "Unhide Method.isDefault" am: b05fa3e841
am: 796da66012

* commit '796da660120fc692a1d721f7d105aa2dc72cb62f':
  Unhide Method.isDefault
2016-01-29 15:44:40 +00:00