237617 Commits

Author SHA1 Message Date
Bill Yi
32eb985d65 Import translations. DO NOT MERGE
Change-Id: I6e780e155d307e6357040492e2007698ea8264a2
Auto-generated-cl: translation import
2016-04-06 03:28:47 -07:00
Mady Mellor
b7da9ce4f0 Merge "Close inline controls / hide the gear when interaction outside occurs" into nyc-dev 2016-04-06 00:26:51 +00:00
Joe Onorato
9b87cc2b8b Merge "Add stack traces to logs about mismatched sequenece numbers in procstats." into nyc-dev 2016-04-06 00:21:56 +00:00
Deepanshu Gupta
bad02b0ec9 Merge "Add properties from textAppearance to property map" into nyc-dev 2016-04-05 23:59:02 +00:00
Deepanshu Gupta
91253ed046 Add properties from textAppearance to property map
The default property map is used to get the list of XML properties that
a view queried. For things like textAppearance, these are additional
attributes that the TextView queries, but wasn't added to  the property
map. Add them too.

Change-Id: I1e03fbeced224866de1dcc51b93d5aa5d5886ade
2016-04-05 16:58:00 -07:00
Sanket Agarwal
a951a593c0 Merge "PBAP connect to alternate device." into nyc-dev 2016-04-05 23:39:20 +00:00
Philip P. Moltmann
7a27611646 Merge "Allow to provide only a component name prefix to 'am instrument'" into nyc-dev 2016-04-05 23:28:05 +00:00
Abhijith Shastry
7f376b9e8e Merge "Remove deprecated API launchManageBlockedNumbersActivity" into nyc-dev 2016-04-05 23:24:42 +00:00
Eino-Ville Talvala
2a6f476836 Merge "Camera2: Unlink camera device death listener on disconnect" into nyc-dev 2016-04-05 23:07:43 +00:00
Rob Carr
5323c58fc0 Merge "Do not set docked divider as IME target." into nyc-dev 2016-04-05 22:44:58 +00:00
Craig Donner
1314d087d1 Merge "Downgrades error messages about not being able to detect whether we are in protected mode or not to informational messages. If there is no GL context, then we are by definition not in protected mode, and still return false as advertised, thus there's no need for an error message." into nyc-dev 2016-04-05 22:29:02 +00:00
Jeremy Joslin
b770ed1328 Merge "Have the NetworkScoreService bind to the scorer." into nyc-dev 2016-04-05 22:27:11 +00:00
Craig Donner
59ee472c95 Downgrades error messages about not being able to detect whether we are in protected mode or not to informational messages. If there is no GL context, then we are by definition not in protected mode, and still return false as advertised, thus there's no need for an error message.
Bug: 27926028

Change-Id: Ia791a989b92be17bc31f9221654168347d60eed9
2016-04-05 15:18:34 -07:00
Philip P. Moltmann
c05a7a04c2 Merge "We only have one mock service." into nyc-dev 2016-04-05 22:17:44 +00:00
Philip P. Moltmann
f4eadc5c53 We only have one mock service.
Fixes: 28024464
Change-Id: I1392704c4fdb9e7c3a4b1540131af8a14359c8f4
2016-04-05 15:16:54 -07:00
Svetoslav Ganov
6c773c5daa Merge "UID appop state should always override package appop" into nyc-dev 2016-04-05 22:15:45 +00:00
Alex Klyubin
f2cf5987a6 Merge "Permit package downgrades on debuggable platforms." into nyc-dev 2016-04-05 21:57:12 +00:00
Chris Tate
71f4e14402 Merge "API feedback: clarify onQuotaExceeded() documentation" into nyc-dev 2016-04-05 21:51:20 +00:00
Joseph Pirozzo
c76c857c26 PBAP connect to alternate device.
Fix connect to first disconnect from all connected devices before
attempting to connect to a new device for PBAP Client.

Bug: 28003503
Change-Id: I1299fc146c881f359832dae2da814a4aebbfec59
2016-04-05 14:50:20 -07:00
Kirill Grouchnikov
12454dcab1 Merge "Return correct unfocused month date color for pre-Material themes." into nyc-dev 2016-04-05 21:48:32 +00:00
Kirill Grouchnikov
7cf1586ce4 Return correct unfocused month date color for pre-Material themes.
Also deprecate setter / getter for showWeekNumber field.

Bug: 28022795
Change-Id: Ie0c33353f76c2a3d9666959a07f6809b7b85183f
2016-04-05 17:42:34 -04:00
Phil Burk
21e8e96f04 Merge "UsbMidiDevice: fix MIDI flush()" into nyc-dev 2016-04-05 21:41:18 +00:00
Mady Mellor
7a9b2a67b7 Close inline controls / hide the gear when interaction outside occurs
This CL adds the behavior so that if the gear or inline controls are
visible, they will close if the user interacts with another area of
the screen (e.g. scrolls, pulls down QS, etc) this is on the lock screen
as well as the shade.

This CL makes an additional change to remove the GearDisplayedListener
and use the StackScroller to maintain state of the gear / reset as
appropriate.

Bug: 27598072
Bug: 27335311

Change-Id: Iebff9aa542c9d91389054a4ff292d0dda11fe950
2016-04-05 14:27:26 -07:00
Robert Carr
9da141fe5c Do not set docked divider as IME target.
If we do this, we will fail to adjust the proper IME target
to make it visible. Accomplish relative ordering of IME and
Docked Divider in WindowLayersController instead.

We need to take care that adjustSpecialWindows won't push windows
down if they are already positioned above the highest application
layer. We also take care to not adjust the IME if the docked divider
isn't really visible.

Bug: 26387930
Change-Id: I26ca36c4f7ecf9d97f44e15c67df82b8154a169c
2016-04-05 14:24:22 -07:00
Jeff Sharkey
e1412415d1 Merge "Invalidate caches when locale changes." into nyc-dev 2016-04-05 21:21:19 +00:00
Yohei Yukawa
1bc62ce846 Merge "Don't give IME focus to temporarily detached View." into nyc-dev 2016-04-05 21:21:09 +00:00
Chris Craik
74af6e282f Fix OffscreenBuffer leak
Fixes: 27941148

Make OffscreenBuffer lifecycle an explicit (and tested) contract between
FrameBuilder and BakedOpRenderer, entirely separate from dispatch. This
makes it safe to reject any rendering work via overdraw content
rejection (before it gets to a BakedOpDispatcher).

Adds a couple tests around OffscreenBuffer leaks, and switches
OffscreenBuffer tests to RENDERTHREAD_TEST macro, as appropriate.

Change-Id: Id114b835d042708ae921028fb4b17e5fa485fe64
2016-04-05 20:42:37 +00:00
Chong Zhang
505a8d9ddf Merge "Fix meminfo accounting for visible apps" into nyc-dev 2016-04-05 20:42:14 +00:00
Svetoslav Ganov
1984bba8c8 UID appop state should always override package appop
bug:27831867

Change-Id: I32829137f84a2f1d70363b6d1481ccbb87c15d1c
2016-04-05 13:40:02 -07:00
Chong Zhang
854dcfd192 Fix meminfo accounting for visible apps
Visible apps could have sub levels within the visible category.
Scores between 101 and 199 should be attributed to visible
category instead of perceptible.

bug: 27987575
Change-Id: I2dbe8af65e6829bafc86ffb5222a5f1aeac2d8b4
2016-04-05 13:27:44 -07:00
Ajay Panicker
b6e1dafe78 Allow factory reset when bluetooth is off (1/2)
Bug: 27348444
Change-Id: I6c2709371b86581709649d7faf09391230449b9b
2016-04-05 20:23:21 +00:00
Winson Chung
d1427fbe0d Merge "Fixing tiny issue with empty state graphic not being centered correctly." into nyc-dev 2016-04-05 20:10:31 +00:00
Chong Zhang
c0b8c119d3 Merge "Add the app back to mOpeningApps if transition is unset but ready." into nyc-dev 2016-04-05 19:40:37 +00:00
Chong Zhang
81a1c176ba Add the app back to mOpeningApps if transition is unset but ready.
This means a rotation is started while we have a transition pending,
and startFreezingDisplayLocked() called mAppTransition.freeze() to
cancel the transition by setting it to TRANSIT_UNSET but ready
immediately. Screen unfreeze will wait for mOpeningApps to empty.
handleAppTransitionReadyLocked() will remove the app from
mOpeningApps once it's drawn, and allow screen to unfreeze.

We don't add the app to mOpeningApps if the transition is neither
set nor ready. We don't have any transtition and the app won't be
removed from mOpeningApps.

bug: 27784481
bug: 27391256
Change-Id: Id2c0759732593121769c402ae0c6edde3ebc7dc6
2016-04-05 19:36:04 +00:00
Selim Cinek
fdb3073a28 Merge "Fixed a bug where the minHeight of groups was inaccurate" into nyc-dev 2016-04-05 19:19:28 +00:00
Philip P. Moltmann
34efee8eec Merge "Fix package name of canon and xerox." into nyc-dev 2016-04-05 19:05:46 +00:00
Philip P. Moltmann
a99d077d62 Fix package name of canon and xerox.
Change-Id: I9c08cf166f96327c145d17f283a0f231e5946d5a
2016-04-05 12:04:42 -07:00
Sunny Goyal
60c74e836f Merge "Changing startListening to only fetch views which are bound" into nyc-dev 2016-04-05 18:53:18 +00:00
Yohei Yukawa
0c9d1b06c3 Merge "Revert "Do not set docked divider as IME target."" into nyc-dev 2016-04-05 18:53:03 +00:00
Chris Craik
cd6ea77d07 Merge "Fix software layer alpha" into nyc-dev 2016-04-05 18:50:26 +00:00
Yohei Yukawa
f98b1d4dba Revert "Do not set docked divider as IME target."
This reverts commit ebe9c0dbebbd8c2a23a76ff827b90e66ce3813bf [1],
because it caused a regression that IME window becomes transparent on
the lock screen (Bug 28013209).

 [1]: I7d406cc88aae40a8b22c1fc1d856ccb7b6bb4558

Bug: 26387930
Bug: 28013209
Change-Id: I11243703030e34b917136b69a35245e9ef73c87c
2016-04-05 11:35:35 -07:00
Phil Burk
de2922468b UsbMidiDevice: fix MIDI flush()
The proxy MidiReceiver in the USB device was not forwarding the flush
command to the event scheduler.

Bug: 25511696
Change-Id: I6a4759b71bc8f9ae3e20aed1238f62a2ed405e24
Signed-off-by: Phil Burk <philburk@google.com>
2016-04-05 11:30:00 -07:00
Philip P. Moltmann
07a0e79aa4 Merge "Fix name of Samsung in PrintServiceRecommendationService." into nyc-dev 2016-04-05 18:23:52 +00:00
Andrii Kulian
5cec2d8aa9 Merge "Fix override insets when dragging divider in split-screen" into nyc-dev 2016-04-05 18:19:18 +00:00
Philip P. Moltmann
b87510483f Fix name of Samsung in PrintServiceRecommendationService.
Change-Id: I31af933ffec074e9ee646c5d879f42938229dcf7
2016-04-05 11:18:19 -07:00
Selim Cinek
567e845d99 Fixed a bug where the minHeight of groups was inaccurate
Also cleaned up the methods names a bit and fixed some small
bugs in border cases where the algorithm was using the wrong
sizes.

Bug: 24866646
Change-Id: I6622814f8cec3fe143234e349030a19e3dc11353
2016-04-05 11:17:15 -07:00
Jorim Jaggi
18e89da19b Merge "Fix wrong inset bounds" into nyc-dev 2016-04-05 18:07:52 +00:00
Ying Wang
70dc7e2f06 Merge "Fix dependency for fontchain_lint" into nyc-dev 2016-04-05 17:47:00 +00:00
Ricky Wai
b00ff01f7b Merge "Fix SystemUI crash for work challenge" into nyc-dev 2016-04-05 17:39:46 +00:00
George Mount
dc63f7c624 Merge "Restore fragment transaction animation state information." into nyc-dev 2016-04-05 17:27:34 +00:00