237600 Commits

Author SHA1 Message Date
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
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
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
Oleksiy Vyalov
81c9ea4034 Merge "Send nativeDebuggable byte value as part of HELLO response." into nyc-dev 2016-04-05 17:27:24 +00:00
Ying Wang
d5b46b19c6 Fix dependency for fontchain_lint
fontchain_lint scans directories in $(TARGET_OUT). There is no better
target working as dependency than the system.img.

Change-Id: I560b89f697e5ebd4f1e44a150f5af37996cf427e
2016-04-05 10:26:14 -07:00
Tony Mak
73ebf33d76 Merge "getProfiles should only returns non-partial user info" into nyc-dev 2016-04-05 17:24:30 +00:00
Yohei Yukawa
e470fcfeb0 Merge "Fix a remaining View leak in InputMethodManager." into nyc-dev 2016-04-05 17:22:47 +00:00
Sudheer Shanka
f4b30e2147 Merge "Remove the admin from the removing list when refreshing that admin." into nyc-dev 2016-04-05 17:21:36 +00:00
Chris Craik
cfa6dade73 Fix software layer alpha
Fixes: 27429404

Software layers must combine layerpaint alpha, if present, with view
alpha.

Change-Id: If9c7dcb53ab8754b4e123cf9cc332a566fd792c4
2016-04-05 10:15:11 -07:00
Junda Liu
a27cf024e5 Merge "Add public API for sim authentication." into nyc-dev 2016-04-05 17:03:31 +00:00
Tony Mak
80189cdece getProfiles should only returns non-partial user info
Bug: 26928524
Change-Id: I537bb0a9632cad603717a367b81d5e072452a6d7
2016-04-05 16:59:39 +00:00
Dianne Hackborn
4345904050 Merge "(Docs only) Make battery stats process state docs more clear." into nyc-dev 2016-04-05 16:54:55 +00:00
Dianne Hackborn
a7d301c5d4 Merge "Fix issue #28001806: Background check is incorrectly restricting binding of services" into nyc-dev 2016-04-05 16:54:36 +00:00
Dianne Hackborn
a0200e3702 (Docs only) Make battery stats process state docs more clear.
Change-Id: I7e86705ec5fa7be8d6a74e708bbf166bec17494f
2016-04-05 09:54:02 -07:00
Dianne Hackborn
4fb9c4af59 Fix issue #28001806: Background check is incorrectly restricting binding of services
Change-Id: Ie79937d2696e28651c8ef2bdcc5c9c84f9f801c6
2016-04-05 09:53:09 -07:00
Winson
24251b68f1 Fixing tiny issue with empty state graphic not being centered correctly.
- The centering is based on the size not including insets, so it should
  be offset by the top/left insets.

Bug: 28005632
Change-Id: I114bcaadddb0d4777d4c013097c0d1a20e4fab0b
2016-04-05 16:52:19 +00:00