239594 Commits

Author SHA1 Message Date
Samuel Tan
143a9333dc Merge "Remove config_wifi_hal_pno_enable and config_wifi_ssid_white_list_enable" into nyc-dev 2016-04-12 17:13:28 +00:00
Alexander Hills
e3f3cb1048 Merge "Fixes name of intent launch flag for Action Extender" into nyc-dev 2016-04-12 17:10:19 +00:00
Jason Monk
98d7c7a84d The return and fixing of demo mode
Change-Id: I2bcf3435b92c80b4ab3c46cba02902820c942c7c
Fixes: 27919212
2016-04-12 13:08:31 -04:00
Clara Bayarri
d922554f9d Merge "Fix empty state Chooser Activity UX" into nyc-dev 2016-04-12 17:02:27 +00:00
Jeff Sharkey
a6e38e4430 Merge "Another protected broadcast." into nyc-dev 2016-04-12 17:01:25 +00:00
Clara Bayarri
741c519c6e Fix empty state Chooser Activity UX
Bug: 26261965
Change-Id: I07680f70442a2f04dfd41d49ba4be327b9ccb38e
2016-04-12 17:52:09 +01:00
Mitchell Wills
eb8578cc89 Merge "Update WifiScanningService class name to new location" into nyc-dev 2016-04-12 16:45:34 +00:00
Ricky Wai
321cfa3791 Merge "Add tests for profile keys in LockSettingsStorage" into nyc-dev 2016-04-12 16:42:56 +00:00
Jason Monk
23d4ccf119 Rename home to settings home
Change-Id: Ie80e71353078431ce1e71e2f9f80b98eae4398b7
Fixes: 27834453
2016-04-12 12:42:30 -04:00
Steve McKay
151f4b9b30 Merge "Tint current root icon." into nyc-dev 2016-04-12 16:41:50 +00:00
Jason Monk
4e540f905d Merge "Update system icon" into nyc-dev 2016-04-12 16:36:17 +00:00
Jason Monk
f306f85cae Merge "Settings dashboard performance work" into nyc-dev 2016-04-12 16:35:45 +00:00
Mady Mellor
2d2ec882c8 Merge "Fix gear not showing on left hand side of notification" into nyc-dev 2016-04-12 16:35:33 +00:00
Alan Viverette
0f0ffb0450 Merge "Default font scale is 1 if not otherwise specified" into nyc-dev 2016-04-12 16:29:28 +00:00
Jeff Sharkey
e9c752aa37 Another protected broadcast.
Bug: 28133722
Change-Id: I5fe8158a3c66168e1c5482711a487eba55876b73
2016-04-12 10:28:19 -06:00
Adam Powell
f763ea3b05 Merge "Fix: ResolverActivity sometimes cannot update the last chosen activity" into nyc-dev 2016-04-12 16:24:36 +00:00
Diego Perez
37e16f8e3b Merge "Fix broken delegates for FontFamily and PathParser" into nyc-dev 2016-04-12 16:24:22 +00:00
Yohei Yukawa
cd1e1de4ce Merge "Make sure that Toast is always shown by Meta-Space." into nyc-dev 2016-04-12 16:22:48 +00:00
Jason Monk
39bfdaf208 Update system icon
Change-Id: I5f6422e2a9cdc308ad8818fa554d8d421a188de6
Fixes: 24326872
2016-04-12 12:21:40 -04:00
Diego Perez
a0a51b6fb6 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
2016-04-12 17:21:00 +01:00
Yuichi Biwa
66e495e647 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
2016-04-12 09:18:20 -07:00
Yi Kong
0755fc6c61 Track libcore change 2115cc0ca7d60965a361129d8826478ff2d847e4
Bug: 28108421
Change-Id: I774f264bf538b0fa2aac63c8e5225f82d7b03c2e
(cherry picked from commit 5182e272ad7b14604dc4d90114d97cf238140178)
(cherry picked from commit 05a77eee41804fc135cd43a7dfb8125c3365b0e2)
2016-04-12 17:12:26 +01:00
Yang Ni
44d1b3bfba Destroy Closures in ScriptGroup
Bug: 27973681

Implemented correct destruction in ScriptGroup.destroy() and
Clsoure.destroy(), which properly destroys child BaseObj's.

Change-Id: I946f62c2979d6a338b8883514cacad472a213c5c
(cherry picked from commit 44e2f45f0cab4a429e59f07c1e5bf0eef08c7819)
2016-04-12 09:01:44 -07:00
Alex Hills
4ec3ff4f8f Fixes name of intent launch flag for Action Extender
Changes the name from set/getHintContentIntentLaunchesActivity
to set/getLaunchesActivty

Change-Id: I8ef879ae82cc360163fcd689eb5fad0d2b9d7db0
2016-04-12 11:44:36 -04:00
Jason Monk
557c716a3a Merge "Guard against crashes from data saver listeners" into nyc-dev 2016-04-12 15:39:09 +00:00
Julia Reynolds
a20e8f314f Merge "Return everything but an autogroup summary." into nyc-dev 2016-04-12 15:33:21 +00:00
Julia Reynolds
4c4ad595dd Return everything but an autogroup summary.
Bug: 28132467
Change-Id: I9a6df6d3e876af00a9ef6fc8ed702ed8342c751a
2016-04-12 11:28:48 -04:00
Chris Wren
9bb991a3bb Merge "remove special case code for groups." into nyc-dev 2016-04-12 15:25:16 +00:00
Mark Renouf
bbc98232f3 Merge "Customizes input extract edit view for Wear" into nyc-dev 2016-04-12 15:18:18 +00:00
Gustav Sennton
ce2cb7630c Merge "Add initial unit tests for WebViewUpdateService." into nyc-dev 2016-04-12 15:17:05 +00:00
Mark Renouf
91eb2651a0 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
2016-04-12 15:05:13 +00:00
Daniel Sandler
064e612779 Merge changes from topic 'vr-fixes' into nyc-dev
* changes:
  Suppress immersive mode confirmation in VR mode.
  Suppress heads-up notifications in VR mode.
2016-04-12 14:57:41 +00:00
Alan Viverette
04fd67cb8e 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
2016-04-12 10:54:04 -04:00
John Reck
d2eec0efb2 Merge "Framework-side of SurfaceView#getBitmap" into nyc-dev 2016-04-12 14:36:11 +00:00
Jason Monk
b0ae8f8209 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
2016-04-12 10:30:43 -04:00
Chris Wren
8ab776cd90 remove special case code for groups.
Once all the platforms as special, none of them will be.

Bug: 26919636
Change-Id: I70eb05126184feb2af310e71f0ffd82ab9dcebc6
2016-04-12 09:31:17 -04:00
Gustav Sennton
53b78241ff 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
2016-04-12 14:25:38 +01:00
Shubham Ajmera
68b19f2778 Merge "Track libcore change 135ea6cd4f7ebe2f225351a1928d8a62bce5cb00" into nyc-dev 2016-04-12 12:23:01 +00:00
Gustav Sennton
67dd51831e Merge "Add more checks for invalid states when reading webview packages config." into nyc-dev 2016-04-12 11:43:20 +00:00
Oleksandr Peletskyi
26e3385508 Merge "Fixed cross profile usage of TextClock." into nyc-dev 2016-04-12 11:33:19 +00:00
Ricky Wai
a46b40fd5c Add tests for profile keys in LockSettingsStorage
Bug: 27940135
Change-Id: Iade153f6607db4c75385bed6f20d3120c10674b0
2016-04-12 11:26:27 +00:00
Gustav Sennton
631de99ef9 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
2016-04-12 11:31:14 +01:00
Andrei Stingaceanu
73c9391d9b Merge "Keyboard shortcuts: minor type change" into nyc-dev 2016-04-12 10:19:07 +00:00
Andrei Stingaceanu
9cfcafc353 Keyboard shortcuts: minor type change
Stop using Lists.newArrayList() in favor of new ArrayList().

Bug: 28014459
Change-Id: I7e00564b402f90019a89c52f70bc943f88ff75fb
2016-04-12 11:16:10 +01:00
Shreyas Basarge
9e6d588c93 Documentation for flex field
Add documentation for getFlexMillis in JobInfo.

Bug: 27530396
Change-Id: I98319cd8ceb0ecd56ab3000bdd31d8bca1bacc3f
2016-04-12 11:04:53 +01:00
Shubham Ajmera
a871ab1687 Track libcore change 135ea6cd4f7ebe2f225351a1928d8a62bce5cb00
Bug: 27426743
Change-Id: I4c77de05c99b811f60f2421d1f41e62c1404a4a4
2016-04-12 10:10:25 +01:00
Yohei Yukawa
b2f901ab22 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
2016-04-12 01:19:31 -07:00
Seigo Nonaka
b026b6a40f Merge "Fix incorrect boot time locale." into nyc-dev 2016-04-12 05:18:24 +00:00
Mihai Niță
e544d408c0 Merge "Use DisplayNameWithDialect only for some locales" into nyc-dev 2016-04-12 04:56:05 +00:00
Daichi Hirono
6b34b31059 Merge "Fix flakiness DocumentLoader#testCancelTask." into nyc-dev 2016-04-12 03:54:59 +00:00