OSDN Git Service

android-x86/frameworks-base.git
8 years agoAdded Data Saver Mode description.
Felipe Leme [Wed, 13 Apr 2016 20:05:49 +0000 (13:05 -0700)]
Added Data Saver Mode description.

BUG: 28133736
Change-Id: I4d44e8f422fc141ebabcdb4595f5ade241a275f1

8 years agoMerge "Remove LOAD_OS_APP message from standard context hub messages" into nyc-dev
Ashutosh Joshi [Tue, 12 Apr 2016 18:30:18 +0000 (18:30 +0000)]
Merge "Remove LOAD_OS_APP message from standard context hub messages" into nyc-dev

8 years agoMake sure to report activity launch time when starting from recents
Jorim Jaggi [Sat, 9 Apr 2016 08:39:40 +0000 (01:39 -0700)]
Make sure to report activity launch time when starting from recents

Bug: 27295491
Change-Id: I27d660ccc960610f39c72ba9bbab5963746fcd45

8 years agoDon't remove background when resizing
Jorim Jaggi [Tue, 12 Apr 2016 01:37:20 +0000 (18:37 -0700)]
Don't remove background when resizing

This leads to flickers, as we should not draw in a translucent way
if we didn't specify that our window is translucent, because the
renderer has some about translucency.

Instead, we should clip the backdrop content by the inverse of the
content clip rect, which is not yet implemented.

Bug: 28009524
Change-Id: Ia3f54fb83997ace863e78ff1cbe45cfb64f92f26

8 years agoClip mWinShowWhenLocked if Keyguard is not showing
Jorim Jaggi [Tue, 12 Apr 2016 02:04:24 +0000 (19:04 -0700)]
Clip mWinShowWhenLocked if Keyguard is not showing

Bug: 28076605
Change-Id: I80ae6dbd09d419c258efd79639a62dce8c2fbe79

8 years agoRefine exit animation
Jorim Jaggi [Tue, 12 Apr 2016 04:51:11 +0000 (21:51 -0700)]
Refine exit animation

Don't move the other stack when exiting multi-window with undock
gesture.

Bug: 27154882
Change-Id: Ia2793d2e2b16def543289f8b2b13631db90edca8

8 years agoMerge "Fixing issue with scrolling tasks upwards" into nyc-dev
Winson Chung [Tue, 12 Apr 2016 18:11:15 +0000 (18:11 +0000)]
Merge "Fixing issue with scrolling tasks upwards" into nyc-dev

8 years agoFix a small issue with IME adjustment
Jorim Jaggi [Tue, 12 Apr 2016 04:14:12 +0000 (21:14 -0700)]
Fix a small issue with IME adjustment

For some keyboards, display frame is the same as the fullscreen, because
the way they layout their stuff is different. In such cases, the stack
bounds were moved too far.

Bug: 28126905
Change-Id: Id3c2c8d9d16e27634006a8ef70d35d8826302da0

8 years agoFixing issue with scrolling tasks upwards
Winson [Tue, 12 Apr 2016 01:41:32 +0000 (18:41 -0700)]
Fixing issue with scrolling tasks upwards

- When scrolling the stack away from the task overrides, we should
  actually lock the stack scroll and instead apply the changes in scroll
  to the override tasks.

Bug: 27376567
Change-Id: Idd1874ab0f6f5eb273bf6e9623b84277961f4291

8 years agoFix some serious pre draw listener leaks
Jorim Jaggi [Tue, 12 Apr 2016 08:39:49 +0000 (01:39 -0700)]
Fix some serious pre draw listener leaks

These were responsible for a huuge memory leak, and probably also
responsible for some significant amount of jank when using the
device for a while.

Bug: 26400906
Change-Id: Ie4140998ad288583c6a4137954fab4fe9a6f2cf7

8 years agoMerge "Minor improvements useful for debugging." into nyc-dev
Felipe Leme [Tue, 12 Apr 2016 17:56:00 +0000 (17:56 +0000)]
Merge "Minor improvements useful for debugging." into nyc-dev

8 years agoMerge "Remove config_wifi_hal_pno_enable and config_wifi_ssid_white_list_enable"...
Samuel Tan [Tue, 12 Apr 2016 17:13:26 +0000 (17:13 +0000)]
Merge "Remove config_wifi_hal_pno_enable and config_wifi_ssid_white_list_enable" into nyc-dev

8 years agoMerge "Fixes name of intent launch flag for Action Extender" into nyc-dev
Alexander Hills [Tue, 12 Apr 2016 17:10:17 +0000 (17:10 +0000)]
Merge "Fixes name of intent launch flag for Action Extender" into nyc-dev

8 years agoMerge "Fix empty state Chooser Activity UX" into nyc-dev
Clara Bayarri [Tue, 12 Apr 2016 17:02:26 +0000 (17:02 +0000)]
Merge "Fix empty state Chooser Activity UX" into nyc-dev

8 years agoMerge "Another protected broadcast." into nyc-dev
Jeff Sharkey [Tue, 12 Apr 2016 17:01:24 +0000 (17:01 +0000)]
Merge "Another protected broadcast." into nyc-dev

8 years agoFix empty state Chooser Activity UX
Clara Bayarri [Tue, 12 Apr 2016 14:57:01 +0000 (15:57 +0100)]
Fix empty state Chooser Activity UX

Bug: 26261965
Change-Id: I07680f70442a2f04dfd41d49ba4be327b9ccb38e

8 years agoMerge "Update WifiScanningService class name to new location" into nyc-dev
Mitchell Wills [Tue, 12 Apr 2016 16:45:32 +0000 (16:45 +0000)]
Merge "Update WifiScanningService class name to new location" into nyc-dev

8 years agoMerge "Add tests for profile keys in LockSettingsStorage" into nyc-dev
Ricky Wai [Tue, 12 Apr 2016 16:42:55 +0000 (16:42 +0000)]
Merge "Add tests for profile keys in LockSettingsStorage" into nyc-dev

8 years agoMerge "Tint current root icon." into nyc-dev
Steve McKay [Tue, 12 Apr 2016 16:41:49 +0000 (16:41 +0000)]
Merge "Tint current root icon." into nyc-dev

8 years agoMerge "Update system icon" into nyc-dev
Jason Monk [Tue, 12 Apr 2016 16:36:15 +0000 (16:36 +0000)]
Merge "Update system icon" into nyc-dev

8 years agoMerge "Settings dashboard performance work" into nyc-dev
Jason Monk [Tue, 12 Apr 2016 16:35:43 +0000 (16:35 +0000)]
Merge "Settings dashboard performance work" into nyc-dev

8 years agoMerge "Fix gear not showing on left hand side of notification" into nyc-dev
Mady Mellor [Tue, 12 Apr 2016 16:35:32 +0000 (16:35 +0000)]
Merge "Fix gear not showing on left hand side of notification" into nyc-dev

8 years agoMerge "Default font scale is 1 if not otherwise specified" into nyc-dev
Alan Viverette [Tue, 12 Apr 2016 16:29:27 +0000 (16:29 +0000)]
Merge "Default font scale is 1 if not otherwise specified" into nyc-dev

8 years agoAnother protected broadcast.
Jeff Sharkey [Tue, 12 Apr 2016 16:28:03 +0000 (10:28 -0600)]
Another protected broadcast.

Bug: 28133722
Change-Id: I5fe8158a3c66168e1c5482711a487eba55876b73

8 years agoMerge "Fix: ResolverActivity sometimes cannot update the last chosen activity" into...
Adam Powell [Tue, 12 Apr 2016 16:24:35 +0000 (16:24 +0000)]
Merge "Fix: ResolverActivity sometimes cannot update the last chosen activity" into nyc-dev

8 years agoMerge "Fix broken delegates for FontFamily and PathParser" into nyc-dev
Diego Perez [Tue, 12 Apr 2016 16:24:21 +0000 (16:24 +0000)]
Merge "Fix broken delegates for FontFamily and PathParser" into nyc-dev

8 years agoMerge "Make sure that Toast is always shown by Meta-Space." into nyc-dev
Yohei Yukawa [Tue, 12 Apr 2016 16:22:46 +0000 (16:22 +0000)]
Merge "Make sure that Toast is always shown by Meta-Space." into nyc-dev

8 years agoUpdate system icon
Jason Monk [Tue, 12 Apr 2016 16:21:40 +0000 (12:21 -0400)]
Update system icon

Change-Id: I5f6422e2a9cdc308ad8818fa554d8d421a188de6
Fixes: 24326872

8 years agoFix broken delegates for FontFamily and PathParser
Diego Perez [Tue, 12 Apr 2016 14:34:26 +0000 (15:34 +0100)]
Fix broken delegates for FontFamily and PathParser

The theme editor is throwing an exception with the last embedded
layoutlib because a missing method. Added also another missing method in
FontFamily.

Change-Id: I710ba7618df6444a3185b581cdc5dc8400f7c604

8 years agoFix: ResolverActivity sometimes cannot update the last chosen activity
Yuichi Biwa [Thu, 6 Aug 2015 10:45:27 +0000 (19:45 +0900)]
Fix: ResolverActivity sometimes cannot update the last chosen activity

Symptom:
Calling startActivity() with an implicit intent,
ResolverActivity displays preferred activity candidates.
At first user selects one of them as "JUST ONCE".
And next, the last one is shown again on the top with "JUST ONCE" and
"ALWAYS".

But even if user selects another ones except top with "JUST ONCE".
Next time, the last one is not shown on the top.
Instead of that, first one still remain on the top.

It means that user can't select activities as "ALWAYS"
except first one.

Root cause:
The implicit intent has a URI but not MIME type.
In this case, Intent#resolveTypeIfNeeded returns "null".
So MIME type is not passed to PackageManagerService.
That's why this issue happens.

Change-Id: I87b6da9c5d8b47e071bbedf9f7d5f3ecea730875

8 years agoTrack libcore change 2115cc0ca7d60965a361129d8826478ff2d847e4
Yi Kong [Tue, 12 Apr 2016 14:45:10 +0000 (15:45 +0100)]
Track libcore change 2115cc0ca7d60965a361129d8826478ff2d847e4

Bug: 28108421
Change-Id: I774f264bf538b0fa2aac63c8e5225f82d7b03c2e
(cherry picked from commit 5182e272ad7b14604dc4d90114d97cf238140178)
(cherry picked from commit 05a77eee41804fc135cd43a7dfb8125c3365b0e2)

8 years agoFixes name of intent launch flag for Action Extender
Alex Hills [Tue, 12 Apr 2016 15:36:18 +0000 (11:36 -0400)]
Fixes name of intent launch flag for Action Extender

Changes the name from set/getHintContentIntentLaunchesActivity
to set/getLaunchesActivty

Change-Id: I8ef879ae82cc360163fcd689eb5fad0d2b9d7db0

8 years agoMerge "Guard against crashes from data saver listeners" into nyc-dev
Jason Monk [Tue, 12 Apr 2016 15:39:07 +0000 (15:39 +0000)]
Merge "Guard against crashes from data saver listeners" into nyc-dev

8 years agoMerge "Return everything but an autogroup summary." into nyc-dev
Julia Reynolds [Tue, 12 Apr 2016 15:33:19 +0000 (15:33 +0000)]
Merge "Return everything but an autogroup summary." into nyc-dev

8 years agoReturn everything but an autogroup summary.
Julia Reynolds [Tue, 12 Apr 2016 15:16:37 +0000 (11:16 -0400)]
Return everything but an autogroup summary.

Bug: 28132467
Change-Id: I9a6df6d3e876af00a9ef6fc8ed702ed8342c751a

8 years agoMerge "remove special case code for groups." into nyc-dev
Chris Wren [Tue, 12 Apr 2016 15:25:15 +0000 (15:25 +0000)]
Merge "remove special case code for groups." into nyc-dev

8 years agoMerge "Customizes input extract edit view for Wear" into nyc-dev
Mark Renouf [Tue, 12 Apr 2016 15:18:17 +0000 (15:18 +0000)]
Merge "Customizes input extract edit view for Wear" into nyc-dev

8 years agoMerge "Add initial unit tests for WebViewUpdateService." into nyc-dev
Gustav Sennton [Tue, 12 Apr 2016 15:17:04 +0000 (15:17 +0000)]
Merge "Add initial unit tests for WebViewUpdateService." into nyc-dev

8 years agoCustomizes input extract edit view for Wear
Mark Renouf [Mon, 11 Apr 2016 20:03:26 +0000 (16:03 -0400)]
Customizes input extract edit view for Wear

Provides an alternate presentation of the extract edit area
of an input method window, designed for sub 250dp width screens.

An icon is used on a round material style button in place of a text
action, providing more horizontal space for the editing area.

BUG: 28098677
(cherry picked from commit fd71a6a5d99bad5d3ab32edc328fb5b026b66215)

Change-Id: I0e559d17f78d1a48b37979a49e11ae1aad7503f4

8 years agoMerge changes from topic 'vr-fixes' into nyc-dev
Daniel Sandler [Tue, 12 Apr 2016 14:57:40 +0000 (14:57 +0000)]
Merge changes from topic 'vr-fixes' into nyc-dev

* changes:
  Suppress immersive mode confirmation in VR mode.
  Suppress heads-up notifications in VR mode.

8 years agoDefault font scale is 1 if not otherwise specified
Alan Viverette [Tue, 12 Apr 2016 14:54:04 +0000 (10:54 -0400)]
Default font scale is 1 if not otherwise specified

Prevents the previous user's font scale from being used as the default.

Bug: 27187556
Change-Id: I51a66ddf2d6272bd74d433158db1c8cc54b45b6d

8 years agoMerge "Framework-side of SurfaceView#getBitmap" into nyc-dev
John Reck [Tue, 12 Apr 2016 14:36:10 +0000 (14:36 +0000)]
Merge "Framework-side of SurfaceView#getBitmap" into nyc-dev

8 years agoSettings dashboard performance work
Jason Monk [Tue, 12 Apr 2016 14:30:43 +0000 (10:30 -0400)]
Settings dashboard performance work

 - Allow rebuilding apps not in the foreground
 - Allow rebuilding apps without a comparator
 - Initially apply current configuration so we don't immediately clear
   tile cache

Change-Id: I8d57f7e8f7fa119915bf6fdc8ece8bee976edbdc
Fixes: 26541310

8 years agoremove special case code for groups.
Chris Wren [Mon, 11 Apr 2016 20:48:24 +0000 (16:48 -0400)]
remove special case code for groups.

Once all the platforms as special, none of them will be.

Bug: 26919636
Change-Id: I70eb05126184feb2af310e71f0ffd82ab9dcebc6

8 years agoAdd initial unit tests for WebViewUpdateService.
Gustav Sennton [Thu, 7 Apr 2016 14:56:10 +0000 (15:56 +0100)]
Add initial unit tests for WebViewUpdateService.

The logic in the WebViewUpdateService is now more complex and there
are lots of edge cases that should be tested to make sure we don't
regress anything.

Also refrain from running fallback logic on boot if fallback logic not
enabled (bug found through a failing test, yeeah buddy!).

Catch uncaught MissingWebViewException (very timing-dependent!) and add
test for this.

Add tests for:
Some package setups (single package, non-default vs. default packages,
    valid vs. invalid packages).
Ensure correct error codes used
Switching provider through settings-method
Switching provider through adding more prioritized provider
Switching provider in the middle of already running webview preparation
Ensure fallback logic is run when enabled and not run when disabled (at
    boot, packageStateChanged, and when adding a new user).

Bug: 27635535

Change-Id: I275ecb0f6129f71258da0fa053e7f7b36a675886

8 years agoMerge "Track libcore change 135ea6cd4f7ebe2f225351a1928d8a62bce5cb00" into nyc-dev
Shubham Ajmera [Tue, 12 Apr 2016 12:23:00 +0000 (12:23 +0000)]
Merge "Track libcore change 135ea6cd4f7ebe2f225351a1928d8a62bce5cb00" into nyc-dev

8 years agoMerge "Add more checks for invalid states when reading webview packages config."...
Gustav Sennton [Tue, 12 Apr 2016 11:43:19 +0000 (11:43 +0000)]
Merge "Add more checks for invalid states when reading webview packages config." into nyc-dev

8 years agoMerge "Fixed cross profile usage of TextClock." into nyc-dev
Oleksandr Peletskyi [Tue, 12 Apr 2016 11:33:18 +0000 (11:33 +0000)]
Merge "Fixed cross profile usage of TextClock." into nyc-dev

8 years agoAdd tests for profile keys in LockSettingsStorage
Ricky Wai [Thu, 31 Mar 2016 15:48:29 +0000 (16:48 +0100)]
Add tests for profile keys in LockSettingsStorage

Bug: 27940135
Change-Id: Iade153f6607db4c75385bed6f20d3120c10674b0

8 years agoAdd more checks for invalid states when reading webview packages config.
Gustav Sennton [Thu, 7 Apr 2016 15:37:58 +0000 (16:37 +0100)]
Add more checks for invalid states when reading webview packages config.

There should be at least one available-by-default package (otherwise the
user would have to explicitly choose webview implementation before using
webview). Furthermore a fallback package should always be available by
default (otherwise it would have to be chosen by the user to be used
after being enabled).

Bug: 28014401
Change-Id: I90c300898a5be4219317d65f15878e1d421193d7

8 years agoMerge "Keyboard shortcuts: minor type change" into nyc-dev
Andrei Stingaceanu [Tue, 12 Apr 2016 10:19:05 +0000 (10:19 +0000)]
Merge "Keyboard shortcuts: minor type change" into nyc-dev

8 years agoKeyboard shortcuts: minor type change
Andrei Stingaceanu [Tue, 12 Apr 2016 10:07:39 +0000 (11:07 +0100)]
Keyboard shortcuts: minor type change

Stop using Lists.newArrayList() in favor of new ArrayList().

Bug: 28014459
Change-Id: I7e00564b402f90019a89c52f70bc943f88ff75fb

8 years agoTrack libcore change 135ea6cd4f7ebe2f225351a1928d8a62bce5cb00
Shubham Ajmera [Tue, 12 Apr 2016 09:10:25 +0000 (10:10 +0100)]
Track libcore change 135ea6cd4f7ebe2f225351a1928d8a62bce5cb00

Bug: 27426743
Change-Id: I4c77de05c99b811f60f2421d1f41e62c1404a4a4

8 years agoMake sure that Toast is always shown by Meta-Space.
Yohei Yukawa [Tue, 12 Apr 2016 08:19:31 +0000 (01:19 -0700)]
Make sure that Toast is always shown by Meta-Space.

It turns out that my previous CL [1] does not always show Toast when
Meta-Space is hit multiple times in a short period.  With this CL, we
attempt to make sure that the Toast is shown every time when Meta-Space
rotates the current IME subtype.

This CL also removes a rule that we do not show Toast when the IME
window has InputMethodService.IME_VISIBLE bit as it turns out to be
confusing.  In Android N, we just provide a consistent behavior
no matter the IME window is visible or not.

 [1]: If3fe17adbffe4c1125783fc77fed3cfe78fc7933
      ebda7d7ae14b09bf15cc5f601ea44f903c782a9a

Bug: 27547054
Bug: 28127795
Change-Id: I551c51cd672dba6e7693d23cb181007f51b0de9d

8 years agoMerge "Fix incorrect boot time locale." into nyc-dev
Seigo Nonaka [Tue, 12 Apr 2016 05:18:23 +0000 (05:18 +0000)]
Merge "Fix incorrect boot time locale." into nyc-dev

8 years agoMerge "Use DisplayNameWithDialect only for some locales" into nyc-dev
Mihai Niță [Tue, 12 Apr 2016 04:56:04 +0000 (04:56 +0000)]
Merge "Use DisplayNameWithDialect only for some locales" into nyc-dev

8 years agoMerge "Fix flakiness DocumentLoader#testCancelTask." into nyc-dev
Daichi Hirono [Tue, 12 Apr 2016 03:54:57 +0000 (03:54 +0000)]
Merge "Fix flakiness DocumentLoader#testCancelTask." into nyc-dev

8 years agoFix flakiness DocumentLoader#testCancelTask.
Daichi Hirono [Tue, 12 Apr 2016 02:29:07 +0000 (11:29 +0900)]
Fix flakiness DocumentLoader#testCancelTask.

For testing, we use blockDocument and unblockDocument test mehtods to
control flow of DocumentLoader's background thread.
Previously testCancelTask may exit before the background thread goes
back from blocking, which causes InterruptedException.

Fixes: 28125289
Change-Id: Id03826733c5b6f1da66b9280838eb1d2897ed5fc

8 years agoFix gear not showing on left hand side of notification
Mady Mellor [Wed, 6 Apr 2016 04:05:44 +0000 (21:05 -0700)]
Fix gear not showing on left hand side of notification

This is a work around for b/28050538, casting these values to
floats should be unnecessary. Once this bug is fixed this can
be reverted.

Bug: 28029191
Change-Id: I5c3efe9e01dbac4e9f30753a88a4fe59cb13e7e7

8 years agoMerge "Add javadoc" into nyc-dev
Marco Nelissen [Tue, 12 Apr 2016 02:33:41 +0000 (02:33 +0000)]
Merge "Add javadoc" into nyc-dev

8 years agoMerge "Fix Patterns.UCS_CHAR character class" into nyc-dev
Siyamed Sinir [Tue, 12 Apr 2016 02:26:27 +0000 (02:26 +0000)]
Merge "Fix Patterns.UCS_CHAR character class" into nyc-dev

8 years agoMerge "Updating visuals for incompatible apps." into nyc-dev
Winson Chung [Tue, 12 Apr 2016 01:51:04 +0000 (01:51 +0000)]
Merge "Updating visuals for incompatible apps." into nyc-dev

8 years agoUpdating visuals for incompatible apps.
Winson [Fri, 8 Apr 2016 21:54:02 +0000 (14:54 -0700)]
Updating visuals for incompatible apps.

Bug: 26774190
Change-Id: I688d5dbab0305e794cad832ae92a8e5c9440737a

8 years agoFix Patterns.UCS_CHAR character class
Siyamed Sinir [Tue, 12 Apr 2016 01:38:28 +0000 (18:38 -0700)]
Fix Patterns.UCS_CHAR character class

Wrap Patterns.UCS_CHAR character class with brackets. Previously CL
Ie6df818dc4d33dfee6ee54432a2231cca51ec423 broke autoLink email and URL
patterns while excluding the empty spaces.

Bug: 28020781
Change-Id: Ieb7d09cb5e544c1e7cbc1a4d665b979c65e7e773

8 years agoNuke minimum time for camera double tap gesture
Jorim Jaggi [Tue, 12 Apr 2016 01:30:57 +0000 (18:30 -0700)]
Nuke minimum time for camera double tap gesture

When the device was sleeping, we get really really low values so
we can't use that as a filter for anti-falsing, or else the gesture
is extremely unreliable when the device was sleeping.

Bug: 26731262
Change-Id: I9b31a3d58ffc22fca31defb40c69a830cf4aa648

8 years agoMerge "PIP: Implement overlay text fade in/out" into nyc-dev
Jaewan Kim [Tue, 12 Apr 2016 01:30:24 +0000 (01:30 +0000)]
Merge "PIP: Implement overlay text fade in/out" into nyc-dev

8 years agoMerge "Fix selecting with touch in multi-window." into nyc-dev
Tomasz Mikolajewski [Tue, 12 Apr 2016 01:06:22 +0000 (01:06 +0000)]
Merge "Fix selecting with touch in multi-window." into nyc-dev

8 years agoMerge "Exclude unicode space characters from autoLink URL patterns" into nyc-dev
Siyamed Sinir [Tue, 12 Apr 2016 00:35:27 +0000 (00:35 +0000)]
Merge "Exclude unicode space characters from autoLink URL patterns" into nyc-dev

8 years agoMerge "If a Disk goes away, remove the notifications that asks the user to format...
Philip P. Moltmann [Tue, 12 Apr 2016 00:06:18 +0000 (00:06 +0000)]
Merge "If a Disk goes away, remove the notifications that asks the user to format it." into nyc-dev

8 years agoMerge "Fix notifications that are sent for USER_ALL." into nyc-dev
Jeff Sharkey [Mon, 11 Apr 2016 23:19:06 +0000 (23:19 +0000)]
Merge "Fix notifications that are sent for USER_ALL." into nyc-dev

8 years agoFix notifications that are sent for USER_ALL.
Jeff Sharkey [Mon, 11 Apr 2016 22:30:27 +0000 (16:30 -0600)]
Fix notifications that are sent for USER_ALL.

Also avoid creating a heavy LoadedApk object which will be cached
around in the long-lived system process.

Bug: 28116427
Change-Id: I1a5fc43e6d559a09088636b2fe4b5c76f08d3413

8 years agoRemove config_wifi_hal_pno_enable and config_wifi_ssid_white_list_enable
Samuel Tan [Mon, 11 Apr 2016 20:24:32 +0000 (13:24 -0700)]
Remove config_wifi_hal_pno_enable and config_wifi_ssid_white_list_enable

Remove these two config variables, since they are no
longer used by WifiConfigManager.

BUG: 28088382
Change-Id: I93d99ba7e6cd7f92494d1fde62ccfe620857feff
TEST: 'runtest frameworks-wifi' passes.

8 years agoUse DisplayNameWithDialect only for some locales
Mihai Nita [Fri, 8 Apr 2016 14:50:44 +0000 (07:50 -0700)]
Use DisplayNameWithDialect only for some locales

Although DisplayNameWithDialect seems to return friendlier, more
"casual" names (e.g. "American English"), the result was inconsistent,
and (at times) debatable. And since this setting affects not only
the language of the translation, but a locale, names like "Flemish"
kind of lost the whole "locale / location" idea.

So we revert to use DisplayName for all but a few selected locales
(that we verified are better with the "dialect" form).

Bug: 27704583
Change-Id: I587081da1293cccac3cdabcd188a9b8160c233ea

8 years agoMerge "ShortcutManager: First cut of CTS" into nyc-dev
Makoto Onuki [Mon, 11 Apr 2016 23:11:40 +0000 (23:11 +0000)]
Merge "ShortcutManager: First cut of CTS" into nyc-dev

8 years agoFramework-side of SurfaceView#getBitmap
John Reck [Thu, 31 Mar 2016 23:36:16 +0000 (16:36 -0700)]
Framework-side of SurfaceView#getBitmap

Bug: 27708453

Change-Id: Ie6fd7eca522d3e6549d8af587c975fd7e6053649

8 years agoMerge "Stop comparing Descriptions with memcmp" into nyc-dev
Sergei Vasilinetc [Mon, 11 Apr 2016 22:58:56 +0000 (22:58 +0000)]
Merge "Stop comparing Descriptions with memcmp" into nyc-dev

8 years agoMerge "Prevent duplicate loader onLoadFinished calls on config change" into nyc-dev
Adam Powell [Mon, 11 Apr 2016 22:57:45 +0000 (22:57 +0000)]
Merge "Prevent duplicate loader onLoadFinished calls on config change" into nyc-dev

8 years agoDO NOT MERGE Fix intent filter priorities am: 60351d3 am: 3dfc6d9 am: ca13384 -s...
Todd Kennedy [Mon, 11 Apr 2016 22:54:43 +0000 (22:54 +0000)]
DO NOT MERGE Fix intent filter priorities am: 60351d3 am: 3dfc6d9 am: ca13384  -s ours am: c2cc804  -s ours am: 620a4ed am: be58fe0 am: e265f35  -s ours am: 3bdb89b am: b757575 am: d359c8a
am: 70b32c1  -s ours

* commit '70b32c1609fc5dcdb7642c58c1f77ab9dc8c2524':
  DO NOT MERGE Fix intent filter priorities

Change-Id: I0a39d5d3898fb52fcc3ac90716e73a94a8c088d9

8 years agoDO NOT MERGE Fix intent filter priorities am: 60351d3 am: 3dfc6d9 am: ca13384 -s...
Todd Kennedy [Mon, 11 Apr 2016 22:49:30 +0000 (22:49 +0000)]
DO NOT MERGE Fix intent filter priorities am: 60351d3 am: 3dfc6d9 am: ca13384  -s ours am: c2cc804  -s ours am: 620a4ed am: be58fe0 am: e265f35  -s ours am: 3bdb89b am: b757575
am: d359c8a

* commit 'd359c8a26d389938d972e1febdd275c6e19f6ab7':
  DO NOT MERGE Fix intent filter priorities

Change-Id: Ibcaf0d28db2f332885b4ec9f8ee782e579f1b2b3

8 years agoRemove LOAD_OS_APP message from standard context hub messages
Ashutosh Joshi [Mon, 11 Apr 2016 21:41:37 +0000 (14:41 -0700)]
Remove LOAD_OS_APP message from standard context hub messages

Removing LOAD_OS_APP from the list of standard Android messages.

Change-Id: I1db1933e2c090716a1921f14e04e1f5d133ea9cd

8 years agoDO NOT MERGE Fix intent filter priorities am: 60351d3 am: 3dfc6d9 am: ca13384 -s...
Todd Kennedy [Mon, 11 Apr 2016 22:44:03 +0000 (22:44 +0000)]
DO NOT MERGE Fix intent filter priorities am: 60351d3 am: 3dfc6d9 am: ca13384  -s ours am: c2cc804  -s ours am: 620a4ed am: be58fe0 am: e265f35  -s ours am: 3bdb89b
am: b757575

* commit 'b7575756c45c28ebc116165e4e51d7ccaea40f47':
  DO NOT MERGE Fix intent filter priorities

Change-Id: Iee51ca7b69c8b7f45083b4dc1f657b8773f65595

8 years agoMerge "Make AccountManagerServiceTest work again" into nyc-dev
Fyodor Kupolov [Mon, 11 Apr 2016 22:38:50 +0000 (22:38 +0000)]
Merge "Make AccountManagerServiceTest work again" into nyc-dev

8 years agoDO NOT MERGE Fix intent filter priorities am: d6174e7 -s ours am: ebb136c am: 6e0aff...
Todd Kennedy [Mon, 11 Apr 2016 22:37:53 +0000 (22:37 +0000)]
DO NOT MERGE Fix intent filter priorities am: d6174e7  -s ours am: ebb136c am: 6e0aff3 am: a73fa08  -s ours am: d73c865 am: e0481f0 am: e5116c2
am: f4753cd  -s ours

* commit 'f4753cd263beac75501727f87cbde760866bdba5':
  DO NOT MERGE Fix intent filter priorities

Change-Id: I03f00278d9ecd8d66a4f4a25cea6a4c4aa67cb67

8 years agoDO NOT MERGE Fix intent filter priorities am: 60351d3 am: 3dfc6d9 am: ca13384 -s...
Todd Kennedy [Mon, 11 Apr 2016 22:37:51 +0000 (22:37 +0000)]
DO NOT MERGE Fix intent filter priorities am: 60351d3 am: 3dfc6d9 am: ca13384  -s ours am: c2cc804  -s ours am: 620a4ed am: be58fe0 am: e265f35  -s ours
am: 3bdb89b

* commit '3bdb89bd1c6fa2656061efd095cb794619d0ab06':
  DO NOT MERGE Fix intent filter priorities

Change-Id: Id1a5e903e838b9118cc4bbd37879b5e840f8b3b6

8 years agoTint current root icon.
Steve McKay [Mon, 11 Apr 2016 22:36:39 +0000 (15:36 -0700)]
Tint current root icon.

Bug: 27564967
Change-Id: I7ccd5940cf58d214c96ca869ce78b736c5b4d83d

8 years agoMake AccountManagerServiceTest work again
Fyodor Kupolov [Fri, 8 Apr 2016 19:14:04 +0000 (12:14 -0700)]
Make AccountManagerServiceTest work again

It was broken for quite a while. Introduced the following changes:
- Use mockito to mock AppOpsManager and UserManager
- Use MockContext directly and override what is necessary.
  RenamingDelegatingContext doesn't work with absolute file names for
  database paths, which is the case for system server DBs.

Bug: 26279712
Change-Id: I9f2a3892f9bd7a882d78f0bb7beb8669f7dc8c6f

8 years agoMerge "Use callerPackage instead of callerApp." into nyc-dev
Jeff Sharkey [Mon, 11 Apr 2016 22:33:42 +0000 (22:33 +0000)]
Merge "Use callerPackage instead of callerApp." into nyc-dev

8 years agoMerge "Shift+Meta+Space should reverse-rotate subtypes part 2." into nyc-dev
Yohei Yukawa [Mon, 11 Apr 2016 22:33:24 +0000 (22:33 +0000)]
Merge "Shift+Meta+Space should reverse-rotate subtypes part 2." into nyc-dev

8 years agoDO NOT MERGE Fix intent filter priorities am: 60351d3 am: 3dfc6d9 am: ca13384 -s...
Todd Kennedy [Mon, 11 Apr 2016 22:32:47 +0000 (22:32 +0000)]
DO NOT MERGE Fix intent filter priorities am: 60351d3 am: 3dfc6d9 am: ca13384  -s ours am: c2cc804  -s ours am: 620a4ed am: be58fe0
am: e265f35  -s ours

* commit 'e265f35caa276035535f7546f01a91b4e072de0c':
  DO NOT MERGE Fix intent filter priorities

Change-Id: Ide1b16d642573c37bced4d293d91bf043bb0a78d

8 years agoDO NOT MERGE Fix intent filter priorities am: d6174e7 -s ours am: ebb136c am: 6e0aff...
Todd Kennedy [Mon, 11 Apr 2016 22:32:43 +0000 (22:32 +0000)]
DO NOT MERGE Fix intent filter priorities am: d6174e7  -s ours am: ebb136c am: 6e0aff3 am: a73fa08  -s ours am: d73c865 am: e0481f0
am: e5116c2

* commit 'e5116c291039dbdfc028a212b02518d0c49b417b':
  DO NOT MERGE Fix intent filter priorities

Change-Id: I7a48dd50d17e12343a6c79ba33739f727f29aae2

8 years agoIf a Disk goes away, remove the notifications that asks the user to format it.
Philip P. Moltmann [Mon, 11 Apr 2016 22:27:58 +0000 (15:27 -0700)]
If a Disk goes away, remove the notifications that asks the user to format it.

Fixes: 22091912
Change-Id: I78448427c5d2f02d61251e4d697931d0d4e5c517

8 years agoDO NOT MERGE Fix intent filter priorities am: 60351d3 am: 3dfc6d9 am: ca13384 -s...
Todd Kennedy [Mon, 11 Apr 2016 22:27:50 +0000 (22:27 +0000)]
DO NOT MERGE Fix intent filter priorities am: 60351d3 am: 3dfc6d9 am: ca13384  -s ours am: c2cc804  -s ours am: 620a4ed
am: be58fe0

* commit 'be58fe035e8a852c903c3c1c397eaa980670d8f9':
  DO NOT MERGE Fix intent filter priorities

Change-Id: I7cd88d627c03199ee8252862c73f88d0b6507dd9

8 years agoDO NOT MERGE Fix intent filter priorities am: d6174e7 -s ours am: ebb136c am: 6e0aff...
Todd Kennedy [Mon, 11 Apr 2016 22:27:46 +0000 (22:27 +0000)]
DO NOT MERGE Fix intent filter priorities am: d6174e7  -s ours am: ebb136c am: 6e0aff3 am: a73fa08  -s ours am: d73c865
am: e0481f0

* commit 'e0481f0ee6321bd049ead42964dc7b4ecaf98754':
  DO NOT MERGE Fix intent filter priorities

Change-Id: I8e1c54619278c261d952d6ed297a6a0f74b2724c

8 years agoDO NOT MERGE Fix intent filter priorities am: 60351d3 am: 3dfc6d9 am: ca13384 -s...
Todd Kennedy [Mon, 11 Apr 2016 22:22:35 +0000 (22:22 +0000)]
DO NOT MERGE Fix intent filter priorities am: 60351d3 am: 3dfc6d9 am: ca13384  -s ours am: c2cc804  -s ours
am: 620a4ed

* commit '620a4ed031d807c6945d531d1a98374eba369449':
  DO NOT MERGE Fix intent filter priorities

Change-Id: I33b683fabecb18a08e10bfd68b9c3ec6abe35f0f

8 years agoDO NOT MERGE Fix intent filter priorities am: d6174e7 -s ours am: ebb136c am: 6e0aff...
Todd Kennedy [Mon, 11 Apr 2016 22:22:30 +0000 (22:22 +0000)]
DO NOT MERGE Fix intent filter priorities am: d6174e7  -s ours am: ebb136c am: 6e0aff3 am: a73fa08  -s ours
am: d73c865

* commit 'd73c865385e2177055962d1015530c48556fd9f8':
  DO NOT MERGE Fix intent filter priorities

Change-Id: Ied6935ae9e523f7f824b45ab3057cab1717296d6

8 years agoUse callerPackage instead of callerApp.
Jeff Sharkey [Mon, 11 Apr 2016 22:20:25 +0000 (16:20 -0600)]
Use callerPackage instead of callerApp.

When AlarmManager sends a broadcast, it only knows the packageName
that requested the broadcast, and the callerApp may not even be
running anymore.  Since we only need the package name for enforcement,
use that instead of the possibly null callerApp.

Bug: 27397019
Change-Id: I8a52d73b4a83eebf85aa1adbfe06bd8886814d4b

8 years agoDO NOT MERGE Fix intent filter priorities am: 60351d3 am: 3dfc6d9 am: ca13384 -s...
Todd Kennedy [Mon, 11 Apr 2016 22:17:20 +0000 (22:17 +0000)]
DO NOT MERGE Fix intent filter priorities am: 60351d3 am: 3dfc6d9 am: ca13384  -s ours
am: c2cc804  -s ours

* commit 'c2cc804407212d3431419cded89de1fd6269eaa2':
  DO NOT MERGE Fix intent filter priorities

Change-Id: I60eb783f06f0eb0c09c21ea6ec0fc10340ff63c6

8 years agoDO NOT MERGE Fix intent filter priorities am: eeb970a am: cd24c4e am: bd770bc
Todd Kennedy [Mon, 11 Apr 2016 22:17:19 +0000 (22:17 +0000)]
DO NOT MERGE Fix intent filter priorities am: eeb970a am: cd24c4e am: bd770bc
am: 7b068fa  -s ours

* commit '7b068fa903e7f10e4f693f67b432e3a88ba9b9b1':
  DO NOT MERGE Fix intent filter priorities

Change-Id: Ied039fa8044e28df0a5c63e9935a3bafe4fd2a62

8 years agoDO NOT MERGE Fix intent filter priorities am: d6174e7 -s ours am: ebb136c am: 6e0aff3
Todd Kennedy [Mon, 11 Apr 2016 22:17:19 +0000 (22:17 +0000)]
DO NOT MERGE Fix intent filter priorities am: d6174e7  -s ours am: ebb136c am: 6e0aff3
am: a73fa08  -s ours

* commit 'a73fa08457827b17a3db15ccaf52cb65a693d5db':
  DO NOT MERGE Fix intent filter priorities

Change-Id: Ie5c2a26cf1c6cc8f363845fb1be187fffc1a88fe

8 years agoDO NOT MERGE Fix intent filter priorities am: 60351d3 am: 3dfc6d9
Todd Kennedy [Mon, 11 Apr 2016 22:12:19 +0000 (22:12 +0000)]
DO NOT MERGE Fix intent filter priorities am: 60351d3 am: 3dfc6d9
am: ca13384  -s ours

* commit 'ca133845ef815d7cc1f036b1355130a8a867a98c':
  DO NOT MERGE Fix intent filter priorities

Change-Id: I88811d2bce66e53998360909612003873e9407af