238194 Commits

Author SHA1 Message Date
Sudheer Shanka
3ccca91e6e Update {set,get}{Long,Short}SupportMessage APIs to use CharSequence.
Bug: 27531295
Change-Id: Ib28c509a3112046c14d812265ce43bc5b5574f12
2016-04-11 21:46:24 -07:00
Jeff Sharkey
2b05239ac8 Merge "Abort PRE_BOOT dispatch when user is stopped." into nyc-dev 2016-04-11 22:06:14 +00:00
Jeff Sharkey
100bd9c24a Abort PRE_BOOT dispatch when user is stopped.
If a user was started and then stopped in quick succession, we need
to stop dispatching PRE_BOOT broadcasts for that user.

Bug: 28032940
Change-Id: Ie9aedc2cd66a7a2cb2076e5004831cf8fe1afc4a
2016-04-11 16:00:56 -06:00
Chris Tate
766dc50eeb Merge "Scale wallpaper crop to device-suitable size" into nyc-dev 2016-04-11 21:45:11 +00:00
Winson
d87e9a4857 Adding vibration after successful dock/undock gesture.
Bug: 27588627
Change-Id: I1dd149d4f7e7fccf8ec61b59bab7c14a90b77e45
2016-04-11 21:39:00 +00:00
Dianne Hackborn
f260d2ef84 Merge "Fix issue #28118215: Crash during system boot due to null carrier apps" into nyc-dev 2016-04-11 21:33:41 +00:00
Robert Greenwalt
6e1e880f00 Merge "Add settings for SUW data control." into nyc-dev 2016-04-11 21:28:01 +00:00
Greg Kaiser
7c0393abdf Merge "NanoApp: Make indentation consistent" into nyc-dev 2016-04-11 21:21:37 +00:00
Chris Craik
b38cb04952 Merge "Apply clip at reorder barriers to shadows" into nyc-dev 2016-04-11 21:17:39 +00:00
Chris Thornton
d043bbb22b Merge "Updates to sound trigger test app." into nyc-dev 2016-04-11 21:14:33 +00:00
John Reck
825fa4d5ae Merge "Revert "Make stopped state a first-class thing"" into nyc-dev 2016-04-11 20:54:36 +00:00
John Reck
eab3f2658a Revert "Make stopped state a first-class thing"
This reverts commit 945961f78a78eced823d5ba78505c781b079703d.

Change-Id: Iebc1d49fac33380233f8785fc39bec6c30a5e714
2016-04-11 20:49:28 +00:00
Jeff Sharkey
cf0cc881eb Merge "Rate-limit how often we collect wtf() logs." into nyc-dev 2016-04-11 20:48:16 +00:00
Steve McKay
eb76763b80 Merge "Don't enable new folder in downloads..." into nyc-dev 2016-04-11 20:41:30 +00:00
Jeff Sharkey
5cbcb52b96 Rate-limit how often we collect wtf() logs.
We've seen that aggressive Log.wtf() calls can DoS the system
process, since we fork and collect recent logcat output for each
call.  After this CL, we rate-limit to only perform this heavy
lifting 5 times during any given 10 second window of time.

We still log the wtf() message to the binary event log.

Bug: 28117774, 28052546, 27994717, 27381069
Change-Id: Ic91b23fe7ee26818083a8d40fd4850fcb9d93643
2016-04-11 14:40:34 -06:00
Raph Levien
f9104e33e4 Merge "Follow the constructor signature change in Minikin." into nyc-dev 2016-04-11 20:39:51 +00:00
Jeff Sharkey
0e2e7806b7 Merge "Clean up AudioRouting API internals." into nyc-dev 2016-04-11 20:33:50 +00:00
Alexey Polyudov
34994b74bb Merge "contexthub: nanohub HAL redefined hub_app_name_t; keep in sync" into nyc-dev 2016-04-11 20:28:57 +00:00
Hangyu Kuang
333c7d3600 Merge "media: update VP9 CodecProfileLevel" into nyc-dev 2016-04-11 20:22:18 +00:00
Dianne Hackborn
5fb47f3ed7 Fix issue #28118215: Crash during system boot due to null carrier apps
Change-Id: I607ccc4baf769c2fb78b0d745bf9fddc3d240855
2016-04-11 13:02:08 -07:00
Samuel Tan
49a1c083ad Merge "Rename enableAutoJoinWhenAssociated() to setEnableAutoJoinWhenAssociated()" into nyc-dev 2016-04-11 19:54:21 +00:00
Greg Kaiser
1f3560e75e NanoApp: Make indentation consistent
Four spaces is our style standard.

Change-Id: I94f4493268e29b7de5d4fc0f5ef98637997b3957
2016-04-11 12:49:21 -07:00
Shubang Lu
e346335d3c Merge "TIF: Add equals() and hashCode() for comparisons" into nyc-dev 2016-04-11 19:37:25 +00:00
Jason Monk
21aba3ff44 Merge "Remove QS tiles that get uninstalled" into nyc-dev 2016-04-11 19:37:13 +00:00
Chris Craik
d645640180 Apply clip at reorder barriers to shadows
Fixes: 28004930

Change-Id: I208b78430c770a3135afd68c53cf8ff3fba50c52
2016-04-11 12:32:41 -07:00
Jason Monk
07f55a2a04 Remove QS tiles that get uninstalled
Change-Id: Ib4c7250a38c0630b0d828f1f55ce5c0dc4d3bb44
Fixes: 27893200
2016-04-11 15:30:38 -04:00
Fyodor Kupolov
f3d241486b Merge "Allow deleting accounts when user is locked" into nyc-dev 2016-04-11 19:16:18 +00:00
Julia Reynolds
f64a0fea6c Merge "Don't get application info for the system" into nyc-dev 2016-04-11 19:09:56 +00:00
Jorim Jaggi
20a6d360d3 Merge "Fix some jank in quick settings" into nyc-dev 2016-04-11 19:08:07 +00:00
Hangyu Kuang
f0ef572fd0 media: update VP9 CodecProfileLevel
Bug:27969307
Change-Id: I44f230bb691bd193c2119b399eca17da87bfbc97
2016-04-11 12:08:03 -07:00
Samuel Tan
ba5ee6752a Merge "Remove unused WifiConfigManager symbols and values" into nyc-dev 2016-04-11 19:02:54 +00:00
Jorim Jaggi
c3081179d8 Fix some jank in quick settings
- Don't use layers for tiles - that leads to jank and it's not used.
- Force the ripple for the expand button in software, so we don't
get scheduling issues with RenderThread.

Bug: 28095199
Change-Id: Ie46a0d54850d7eec1bd5412be8d4a8f0ff4b91d6
2016-04-11 19:02:36 +00:00
Jeff Sharkey
ed2edc7a8e Clean up AudioRouting API internals.
Reuse existing OnRoutingChangedListener APIs and internal logic by
extending the new AudioRouting.OnRoutingChangedListener.  We use
new default methods to delegate incoming calls on the legacy
interfaces.

Fix a handful of locking bugs.

Bug: 27950070, 27952052, 27949198
Change-Id: Ie584108bcbeeab064d8e27d4984e541f31d36728
2016-04-11 13:01:55 -06:00
Jorim Jaggi
ab9b01ccb0 Fix talk back announcement
Bug: 27950180
Change-Id: I8f201c6303e40d0249944d73b2b71eb0ceadfad8
2016-04-11 18:58:50 +00:00
Julia Reynolds
b401fa75f9 Don't get application info for the system
Bug: 28107178
Change-Id: Ic1a75a7d6d6e80e0df8f3017fb8737cf18f4dd3a
2016-04-11 14:53:42 -04:00
Jorim Jaggi
dd05f0365a Death to synchronous transactions (2/2)
Bug: 28068298
Change-Id: I7d2d7aba8c16aa5e0b9c288bc747ed62f9292381
2016-04-11 18:35:01 +00:00
Jeff Sharkey
bdae9296be Merge "Send USER_UNLOCKED broadcasts before PRE_BOOT." into nyc-dev 2016-04-11 18:20:22 +00:00
Jeff Sharkey
a66bffb0e7 Merge "Skip unlock requests for users who aren't running." into nyc-dev 2016-04-11 18:20:01 +00:00
Jeff Sharkey
155e5d6de7 Send USER_UNLOCKED broadcasts before PRE_BOOT.
Apps handling the PRE_BOOT_COMPLETED broadcast expect the user to be
fully unlocked and working.  Most system internals are using the
SystemServer interface, and we dispatch the unlocked event through
them before starting the PRE_BOOT process.

However, there are still some system internals that haven't been
converted to SystemServer, so we need to also send USER_UNLOCKED
for them to pick up before starting PRE_BOOT work.

Bug: 28086245
Change-Id: Ie847b463ea55a6dddcc49d243ef8fb308e5179a7
2016-04-11 12:13:08 -06:00
Jeff Davidson
b53874e714 Merge changes from topic 'carrier-app-race' into nyc-dev
* changes:
  Disable preinstalled carrier apps earlier in boot.
  Move CarrierAppUtils into frameworks/base/telephony.
2016-04-11 17:58:18 +00:00
Alan Viverette
76961ccc52 Merge "Revert "Add scroll indicators to resolver list layouts"" into nyc-dev 2016-04-11 17:57:59 +00:00
shubang
c2215d0856 TIF: Add equals() and hashCode() for comparisons
Bug: 21307285
Change-Id: I6afcde913b3238044fd66d5f74afe3f97a85b25e
2016-04-11 10:53:36 -07:00
Felipe Leme
9d362ae5c7 Merge ""Temporarily" removed progress check." into nyc-dev 2016-04-11 17:32:59 +00:00
Felipe Leme
9ca5e56390 "Temporarily" removed progress check.
The code that asserts the right progress is displayed was based on the
percentage text displayed in the system notification, but such text is
gone.

Since UIObject doesn't easily expose the underlying ProgressBar, such
checks were temporarily disabled.

BUG: 28114251
Change-Id: Idb64fe97cf84f5f73e08e293b8fd0384bc8b70d6
2016-04-11 10:31:55 -07:00
Gustav Sennton
95cd5d58a8 Merge "Clear calling identity when enabling WebView fallback logic." into nyc-dev 2016-04-11 17:29:20 +00:00
Greg Kaiser
f4d380537a Merge "ContextHubManager: Avoid bad NanoApp objects" into nyc-dev 2016-04-11 17:23:48 +00:00
Todd Kennedy
f86ce783c6 Merge "Add systrace for resolveIntent()" into nyc-dev 2016-04-11 17:18:26 +00:00
Todd Kennedy
42cf25f735 Merge "Don't allow userID changes on upgrade" into nyc-dev 2016-04-11 17:17:54 +00:00
Jeff Sharkey
27b5d2e2f9 Skip unlock requests for users who aren't running.
Bug: 28111989
Change-Id: I80b6dd1e5a2d919b0a198667e18b7979effe6999
2016-04-11 11:14:04 -06:00
Makoto Onuki
390a81302f Merge "Add UserHandle to ShortcutInfo, and simplify LauncherApps APIs." into nyc-dev 2016-04-11 16:45:10 +00:00