176161 Commits

Author SHA1 Message Date
Deepanshu Gupta
44b5a1c847 am e541f350: Merge "Update JRE for runConfigurations." into lmp-dev
* commit 'e541f35055709ec43407649b8517639ff00e42d6':
  Update JRE for runConfigurations.
2015-03-24 23:55:18 +00:00
Deepanshu Gupta
cbb4ec7867 am 6f5fac81: Merge "Fix project settings. [DO NOT MERGE]" into lmp-dev
* commit '6f5fac817abee63d9211e8e43646196950c43707':
  Fix project settings. [DO NOT MERGE]
2015-03-24 23:55:14 +00:00
Deepanshu Gupta
a16bb347e1 am 44fea603: Merge "Fix RoundRect radius." into lmp-dev
* commit '44fea60376e4e851b07eb365fd581c5b9404611f':
  Fix RoundRect radius.
2015-03-24 23:55:10 +00:00
Deepanshu Gupta
8f9ebc6593 am 3bd5cbb1: Merge "Use right colors for status bar and nav bar." into lmp-dev
* commit '3bd5cbb1f3d837d7799fb4b33b4dda99adbeeeb4':
  Use right colors for status bar and nav bar.
2015-03-24 23:55:06 +00:00
Deepanshu Gupta
0b76cf6ff5 am 34751c79: Merge "Better shadows." into lmp-dev
* commit '34751c79d6696054b19b5fd0e2946c1dbe5bd9bd':
  Better shadows.
2015-03-24 23:55:02 +00:00
Deepanshu Gupta
a62a18e341 am 311a0f54: Merge "Fix layoutlib tests." into lmp-dev
* commit '311a0f54ac95a1649474498748fff8327b0c917d':
  Fix layoutlib tests.
2015-03-24 23:54:58 +00:00
Deepanshu Gupta
e541f35055 Merge "Update JRE for runConfigurations." into lmp-dev 2015-03-24 23:52:29 +00:00
Deepanshu Gupta
6f5fac817a Merge "Fix project settings. [DO NOT MERGE]" into lmp-dev 2015-03-24 23:52:18 +00:00
Deepanshu Gupta
44fea60376 Merge "Fix RoundRect radius." into lmp-dev 2015-03-24 23:51:50 +00:00
Deepanshu Gupta
3bd5cbb1f3 Merge "Use right colors for status bar and nav bar." into lmp-dev 2015-03-24 23:51:30 +00:00
Deepanshu Gupta
34751c79d6 Merge "Better shadows." into lmp-dev 2015-03-24 23:51:11 +00:00
Deepanshu Gupta
311a0f54ac Merge "Fix layoutlib tests." into lmp-dev 2015-03-24 23:50:54 +00:00
Gus Prevas
3e7bebf35c Changes callback to a WeakReference in ActivityContainerCallback.
This change prevents the Runnable posted by ActivityContainerCallback
from retaining the ActivityView's callback if it is never cleared out
from ViewRootImpl.sRunQueues.

Bug: 19872883
Bug: 19654978
Change-Id: I6dce4381b96c8c77afcd38a55bfe474f13dfbfba
2015-03-24 17:30:34 -04:00
Deepanshu Gupta
00c2adf5db Better shadows.
Better shadows for rectangles and rounded rectangles (includes circles).

The shadow painting code is mostly from CardView library, but modified
heavily since CardView needs to draw the shadow inside view bounds.

Change-Id: I88c9f19b1c16839b8d6db6df2bebff126fa5a9a3
2015-03-24 14:06:49 -07:00
Jason Monk
ba48885b92 am 4b7b21ec: Merge "systemui: Handle case when network has been lost"
* commit '4b7b21ec834cd307e3d122f2d517778b13242dfb':
  systemui: Handle case when network has been lost
2015-03-24 20:10:22 +00:00
Jason Monk
4b7b21ec83 Merge "systemui: Handle case when network has been lost" 2015-03-24 19:57:49 +00:00
Anthony Hugh
b8f28ba07a am 457b8838: Update progress_dialog on watch to use small spinner
* commit '457b8838cb7b9383bbad832ed35e8a58c7b6051b':
  Update progress_dialog on watch to use small spinner
2015-03-24 19:09:13 +00:00
Deepanshu Gupta
7c834296ac Fix RoundRect radius.
Android APIs use radius for measuring the corner's curvature, but Java2D
APIs use diameter. Add the missing conversion.

Change-Id: I630fc8712e8301324c641885c0c4adf644d13b7e
2015-03-24 11:43:39 -07:00
Alex Klyubin
84750f3a69 Address pending comments for NetworkSecurityPolicy.
This is a follow-up to
https://android-review.googlesource.com/#/c/131920/, addressing some
outstanding comments.

This CL also switches the source file to the correct indentation.

Bug: 19215516
Change-Id: Ia48455ab351081e11619afcccadb8fa90340391d
2015-03-24 11:33:58 -07:00
Eric Gilmore
05591bdc29 Changing wording to reflect c2dm shutdown.
Change-Id: If8b6c05e10dfe39e1cada48fc5270931a7f94cd4
2015-03-24 11:26:31 -07:00
Olawale Ogunwale
bfd7a12334 am f5f70b66: Merge "[ActivityManager] Avoid killing unrelated processes."
* commit 'f5f70b66a3f22ca5e23a4d1e6061f2a36dfb4c92':
  [ActivityManager] Avoid killing unrelated processes.
2015-03-24 16:25:11 +00:00
Olawale Ogunwale
3e305491cc am 000293c9: Merge "Layout the window to be displayed if it would be resized"
* commit '000293c93b41f69857f228d085b6f44b9afa34b0':
  Layout the window to be displayed if it would be resized
2015-03-24 16:25:03 +00:00
Olawale Ogunwale
fecfadb508 am 07520c94: Merge "DimLayer : remove unnecessary surface transaction calls"
* commit '07520c944cfce3441621c6d08ca185d0efb3ea50':
  DimLayer : remove unnecessary surface transaction calls
2015-03-24 16:24:55 +00:00
Andreas Gampe
dde7286273 am 7db6ebe0: Merge "Frameworks/base: Don\'t allocate another identity matrix"
* commit '7db6ebe03719dfc6b9fb680b038fd9ef0302e4ca':
  Frameworks/base: Don't allocate another identity matrix
2015-03-24 16:14:33 +00:00
Olawale Ogunwale
f5f70b66a3 Merge "[ActivityManager] Avoid killing unrelated processes." 2015-03-24 16:12:23 +00:00
Olawale Ogunwale
000293c93b Merge "Layout the window to be displayed if it would be resized" 2015-03-24 16:11:40 +00:00
Olawale Ogunwale
07520c944c Merge "DimLayer : remove unnecessary surface transaction calls" 2015-03-24 16:10:49 +00:00
Andreas Gampe
7db6ebe037 Merge "Frameworks/base: Don't allocate another identity matrix" 2015-03-24 16:02:55 +00:00
Mathias Jeppsson
a8f45e63c7 Sort Bluetooth devices in quick settings by name
To avoid Bluetooth devices moving randomly in list, sorting by name.

Change-Id: I4f8e9f98fa29f9670678a3bb6051a6fcf7ae0b9d
2015-03-24 16:11:10 +01:00
John Reck
05bb06fd49 am 540e1f8c: Merge "Don\'t create unnecessary RenderThread\'s instance when executing \'dumpsys gfxinfo\'"
* commit '540e1f8cbcbc255ca57fba81befd4d6346178cec':
  Don't create unnecessary RenderThread's instance when executing 'dumpsys gfxinfo'
2015-03-24 14:55:54 +00:00
John Reck
540e1f8cbc Merge "Don't create unnecessary RenderThread's instance when executing 'dumpsys gfxinfo'" 2015-03-24 14:44:06 +00:00
Dohyun Lee
6ce3a37f6b DimLayer : remove unnecessary surface transaction calls
There is the case that adjustSurface()  get called even if
the size of the surface of DimLayer is not changed actually.
Since changing the size of a surface is processed synchronously
in the SurfacFlinger, there is usually a few milliseconds delay
(up to 1 vsync interval) when we launch an application.
This patch avoids such cases.

Change-Id: Ib1f76d54f9f2364ac54b70120e4b781e8534e750
Signed-off-by: Dohyun Lee <dohyun.lee@lge.com>
2015-03-24 13:31:22 +09:00
Craig Mautner
26d577b08f am f8a2ba51: Merge "Prevent unexpected rotation while going back to keyguard"
* commit 'f8a2ba511ee2dc5360f323c71eff5e0f2465dd99':
  Prevent unexpected rotation while going back to keyguard
2015-03-23 22:03:14 +00:00
Craig Mautner
f8a2ba511e Merge "Prevent unexpected rotation while going back to keyguard" 2015-03-23 21:48:57 +00:00
Miao Wang
6f6f44b038 am b2b0c4c2: Merge "[RenderScript] Add create(Context, int) to be compatible with the thunker layer & minor tweaks."
* commit 'b2b0c4c2072459612c6ed078d84b189cba326de1':
  [RenderScript] Add create(Context, int) to be compatible with the thunker layer & minor tweaks.
2015-03-23 21:15:35 +00:00
Miao Wang
b2b0c4c207 Merge "[RenderScript] Add create(Context, int) to be compatible with the thunker layer & minor tweaks." 2015-03-23 21:01:59 +00:00
Anthony Hugh
09ebc52a85 am 7c08dd61: Merge "DO NOT MERGE: Set the appliance (tv/watch) in the configuration earlier" into lmp-mr1-modular-dev
* commit '7c08dd61c43d76241c8f47c5aae934486605a80e':
  DO NOT MERGE: Set the appliance (tv/watch) in the configuration earlier
2015-03-23 20:21:58 +00:00
Anthony Hugh
457b8838cb Update progress_dialog on watch to use small spinner
The new material design theme causes the spinner to give us even
less room on the progress dialog screen.  This is causing cut off
text.

This change adds an alternate layout for the progress_dialog on
watches so that we can use a small spinner to make our text fit
better.

BUG: 18388692
BUG: 16493311
Change-Id: I2537aa2c1ee6329838c9c0c16f511c944fa86050
2015-03-23 13:17:35 -07:00
Anthony Hugh
7c08dd61c4 Merge "DO NOT MERGE: Set the appliance (tv/watch) in the configuration earlier" into lmp-mr1-modular-dev 2015-03-23 20:15:50 +00:00
Filip Gruszczynski
d66ba06a87 Don't use windowOutsetBottom for insets, depend on display padding only.
I am not sure if this is the correct approach to the problem. Right now
we are reporting double chin (60 vs 30). The reason for this is that
we setDisplayPadding from Clockwork Home activity (bottom=30) and add
windowOutsetBottom.

We use display padding to set surface frame size (320x320) and both
outset bottom and display padding for inset. I think we should use only
one of these. I decided to go with display padding, because that's
what was suggested to me the last time I visited this. I removed
the dependency on windowOutsetBottom altogether.

However, I don't feel confident this is the correct way to do this.
We depend on Home activity to send the display padding now to get
the correct result, so wallpapers behind other activities will not
work correctly.

Maybe instead of setting display padding from the outside, the
windowOutsetBottom should be added to display padding bottom for the
purpose of calculating surface frame and generating insets.

Advice on what is the right approach here would be greatly appreciated.

Bug: 19881056
Change-Id: Ifb655528d8f85ef01d942bf1e64e8b08475689ca
2015-03-23 13:08:56 -07:00
Adam Lesinski
11cc1f166d DO NOT MERGE: Set the appliance (tv/watch) in the configuration earlier
Some UI is displayed (boot/optimizing) before the configuration
has been completely set. This noteably happens for watches and
TVs because UIModeManagerService hasn't started yet.

UIModeManagerService is started earlier, and its dependency
TwilightService is loaded during the "all system services ready"
boot phase.

b/18388692

Change-Id: Iabdf8ac3eb04ebcb44779d752e19042769cc65c6
2015-03-23 12:02:52 -07:00
Miao Wang
a4e5adf955 [RenderScript] Add create(Context, int) to be compatible with
the thunker layer & minor tweaks.

bug:19888167
bug:19888339
Change-Id: Ib264c4ca48c990b3476456838047f73d95f6752f
2015-03-23 11:50:18 -07:00
Michael Wright
b42baaa829 am 978cfc39: Merge "SystemUI needs the SET_WALLPAPER permission"
* commit '978cfc39a10e1b95f9d6dfb5c8e9eb58a10ce0ec':
  SystemUI needs the SET_WALLPAPER permission
2015-03-23 15:55:53 +00:00
Michael Wright
978cfc39a1 Merge "SystemUI needs the SET_WALLPAPER permission" 2015-03-23 15:43:23 +00:00
Samuel Asteberg
8d516a80a0 SystemUI needs the SET_WALLPAPER permission
If changing wallpaper when low on memory, retrieving the default
wallpaper may return null, which triggers error handling in
ImageWallpaper. This error handling tries to perform
WallpaperManager.clear(), but for that it needs SET_WALLPAPER
permission, which it does not have.

For users with apps that auto change wallpaper, this issue can
be frequent in low-memory conditions.

The solution is to add the permisson.

Change-Id: I81503c1667e3952c2dd15599969f7dcc51623e5b
2015-03-23 13:50:09 +01:00
Geoff Mendal
2f12b803e9 am eded9424: (-s ours) Import translations. DO NOT MERGE
* commit 'eded9424305cb6538cc0516670930a9f8fccbfd1':
  Import translations. DO NOT MERGE
2015-03-23 12:49:39 +00:00
Geoff Mendal
eded942430 Import translations. DO NOT MERGE
Change-Id: I911df3cb6476017bb6723403dbabb2dfbfc4bce2
Auto-generated-cl: translation import
2015-03-23 05:38:24 -07:00
longyu.huang
261ec767f3 third part apps can disable the secret lockscreen
[Preconditions]
set password or patten lockscreen

[operating steps]
1.install the app (eg QQBrowser) and connected wifi
2.wait a while,the weather notification will shown on statusbar
3.turn off screen,the weather notification will shown on lockscreen too.
4.click the search bar in weather notification,it will disable lockscreen.
5.press HOME button or kill QQBrowser in Recent apps,you can operate the phone
2015-03-23 03:07:02 -07:00
tiger_huang
1263b2f1f2 Prevent unexpected rotation while going back to keyguard
The original logic would let the app hidden by keyguard be able to
decide the orientation. While going back from a show-when-locked app
to keyguard, there would be a short time that keyguard is unable to
decide the orientation, which causes WMS uses the wrong orientation
from the wrong app.

https://code.google.com/p/android/issues/detail?id=155640

Change-Id: Ibc17bfe4603f68b241dc7380459ec9de42a3e259
2015-03-23 05:58:46 +00:00
sj.cha
08bbca040f Add getLegacyVpnInfoPrivileged method
Follows the Google's permission check policy.
Add a getLegacyVpnInfoPrivileged method which skips the permission check
and change getLegacyVpnInfo to check the permission and then call getLegacyVpnInfoPrivileged.
It is already checked in this commit : https://android-review.googlesource.com/#/c/141771/

Signed-off-by: SangJin Cha <sj.cha@lge.com>
Change-Id: I83cfaedbd85745574f3ddf118b11b6e0415483c6
2015-03-23 11:40:35 +09:00