OSDN Git Service
John Reck [Fri, 10 Jul 2015 00:30:58 +0000 (00:30 +0000)]
Merge "Delete dead code" into mnc-dev
Adrian Roos [Fri, 10 Jul 2015 00:01:19 +0000 (00:01 +0000)]
Merge "Fix black keyguard / missing status bar" into mnc-dev
Todd Kennedy [Thu, 9 Jul 2015 23:17:38 +0000 (23:17 +0000)]
Merge "Allow codepath changes for new OTA packages" into mnc-dev
Adrian Roos [Thu, 9 Jul 2015 21:54:08 +0000 (14:54 -0700)]
Fix black keyguard / missing status bar
The status bar window was stuck in the READY_TO_SHOW state
because it was not policy visible, whereas the policy
was waiting for the window to become HAS_DRAWN.
Now BarController also updates states if the window
is READY_TO_SHOW, which in turn allows the window to
become visible and HAS_DRAWN.
Bug:
22072099
Change-Id: I1836c276723ee2205d7d5759be079f02aaa23e2e
Dianne Hackborn [Thu, 9 Jul 2015 21:48:36 +0000 (21:48 +0000)]
Merge "Fix issue #
22328792: Fix scalability issues in AssistStructure" into mnc-dev
Fyodor Kupolov [Fri, 19 Jun 2015 22:35:11 +0000 (15:35 -0700)]
Do not return devices when caller has no location permission
During startLeScan, do not return devices if calling process has no location
permission/appop
Bug:
21852542
Change-Id: Idce8f4704558574e373e8144390f2a2fa1a7e84a
John Reck [Thu, 9 Jul 2015 21:19:01 +0000 (14:19 -0700)]
Delete dead code
Bug:
22378829
Every time setText is called a BoringLayout is created.
BoringLayout internally creates a new Paint called mWorkPaint.
However, creating a Paint turns out to be somewhat substantial
amount of work, and mWorkPaint is never actually used. Deleting
this shaves off roughly 50ms and 1,000 object creations during
a fling on a listview.
Change-Id: I5d03402b9027df6ce0f3e58160752c66c69a4d2d
Dianne Hackborn [Thu, 9 Jul 2015 00:36:37 +0000 (17:36 -0700)]
Fix issue #
22328792: Fix scalability issues in AssistStructure
We can now stream the AssistStructure across processes, avoiding
IPC size limitations for large structures. There is also a new
API that gets called on the VoiceInteractionSession if there is
a failure retrieving the assist data.
Also fix issue #
22351981: Runtime restart due to ANR in system server,
getting rid of a deadlock.
And also tweak object lifecycles to try to avoid keeping around
in an app the previous AssistStructure after we request a new one.
Change-Id: Ifb136a0d31a14e56a8db6b90768d9fc65557a17f
Christopher Tate [Thu, 9 Jul 2015 21:04:30 +0000 (21:04 +0000)]
Merge "Remote extraneous debugging log message" into mnc-dev
Jeff Brown [Thu, 9 Jul 2015 20:36:26 +0000 (13:36 -0700)]
Fix a bad merge.
Change-Id: Ib722459a25c189bb800eb85d48b80bdc91a2b7db
Jeff Brown [Thu, 9 Jul 2015 20:03:26 +0000 (20:03 +0000)]
Merge "Clean up USB Manager and fix ADB." into mnc-dev
Raph Levien [Thu, 9 Jul 2015 19:56:18 +0000 (19:56 +0000)]
Merge "Slightly more precise RTL check in BoringLayout.isBoring()" into mnc-dev
Jeff Brown [Wed, 1 Jul 2015 00:57:12 +0000 (17:57 -0700)]
Clean up USB Manager and fix ADB.
Moved functions which parse the USB functions list into one common
place on UsbManager.
Deleted the no longer supported USB_FUNCTION_MASS_STORAGE.
Ensured that the UserManager.DISALLOW_USB_FILE_TRANSFER rule is
consistently applied during user switch and when changing the
current USB functions and make sure it only affects MTP and PTP.
Collapsed the boot completed and user switched receivers to
ensure consistent ordering of side-effects.
Validate the list of functions passed to setCurrentFunction() so
that the separation of concerns is clearer. It was somewhat
ambiguous as to whether functions such as ADB could / should be
enabled through that interface. Improved the docs for clarity.
Fixed a bunch of broken stuff related to the USB config
persistent property (list of default functions) that could cause
ADB and other functions to not work at all. Added new failsafes
to ensure that we reliably get back into a happy state.
Bug:
22206076
Change-Id: I02915ddfce7193a8f67a14f0d76bab22fc575dfa
Raph Levien [Thu, 9 Jul 2015 19:36:31 +0000 (12:36 -0700)]
Slightly more precise RTL check in BoringLayout.isBoring()
This patch refines the crude check for potential RTL characters, based
on ranges containing RTL scripts and format characters that affect
bidi. This will make it much less likely that a StaticLayout will be
chosen instead of a BoringLayout.
Bug:
22328919
Change-Id: I9a0ed9b3f3373069052de21c836b3372f175430f
Christopher Tate [Thu, 9 Jul 2015 19:42:50 +0000 (12:42 -0700)]
Remote extraneous debugging log message
Bug
22069429
Change-Id: I4e3803aff58449b2544d9d7cca27d8d2115ccdd6
Jorim Jaggi [Thu, 9 Jul 2015 19:19:04 +0000 (19:19 +0000)]
Merge "Fix assist for hardware long-press" into mnc-dev
Julia Reynolds [Thu, 9 Jul 2015 18:58:12 +0000 (18:58 +0000)]
Merge "Show a default icon for permissions that lack a group." into mnc-dev
Julia Reynolds [Wed, 8 Jul 2015 15:12:28 +0000 (11:12 -0400)]
Show a default icon for permissions that lack a group.
Bug:
22229417
Change-Id: I82e12504adcca5d3fb6902109a3d7075a4739843
Jason Monk [Thu, 9 Jul 2015 18:55:00 +0000 (18:55 +0000)]
Merge "Remove data icon for WFC" into mnc-dev
Jason Monk [Thu, 9 Jul 2015 18:54:58 +0000 (18:54 +0000)]
Merge "Fix roaming icon when not default signal" into mnc-dev
Amith Yamasani [Thu, 9 Jul 2015 17:56:48 +0000 (17:56 +0000)]
Merge "Dispatch onUserSwitched callbacks on handler thread" into mnc-dev
Amith Yamasani [Wed, 8 Jul 2015 22:50:13 +0000 (15:50 -0700)]
Dispatch onUserSwitched callbacks on handler thread
This avoids multiple threads calling beginBroadcast on the observers
list.
Bug:
22339693
Change-Id: I78a154415ccd17c9460b25589d46dadcdb850941
Todd Kennedy [Thu, 9 Jul 2015 17:06:35 +0000 (10:06 -0700)]
Allow codepath changes for new OTA packages
When an OTA contains a new package, the system performs some gymnastics
to ensure that we use the most up-to-date version of the package in
either the system image or user directory. But, during boot, we enforce
a package's codepath will never change. This prevents a user-installed
package from ever overriding the system provide package [regardless of
version]. In this one, specific instance, we allow a package's codepath
to change.
Bug:
22179337
Change-Id: I2c29a87801fb5960ffbd2268231446895ad1868f
Christopher Tate [Thu, 9 Jul 2015 17:17:58 +0000 (17:17 +0000)]
Merge "Add a mechanism for products to specify default active app linkages" into mnc-dev
Alan Viverette [Thu, 9 Jul 2015 17:17:35 +0000 (17:17 +0000)]
Merge "Add missing break in AccessibilityEvent.eventTypeToString()" into mnc-dev
Fyodor Kupolov [Thu, 9 Jul 2015 17:14:14 +0000 (17:14 +0000)]
Merge "Check location permission/appop in getScanResults" into mnc-dev
Robert Greenwalt [Thu, 9 Jul 2015 17:09:15 +0000 (17:09 +0000)]
Merge "Revive NetworkInfo's SUSPENDED state." into mnc-dev
Jeff Sharkey [Thu, 9 Jul 2015 16:59:14 +0000 (16:59 +0000)]
Merge "Timeout when partitioning takes too long." into mnc-dev
Jeff Sharkey [Thu, 9 Jul 2015 16:58:45 +0000 (16:58 +0000)]
Merge "Add grant flag support to "install-create" verb." into mnc-dev
Mikhail Naganov [Thu, 9 Jul 2015 16:53:35 +0000 (16:53 +0000)]
Merge "Enhance documentation of WebSettings.WebSettings method" into mnc-dev
Alan Viverette [Thu, 9 Jul 2015 16:51:46 +0000 (09:51 -0700)]
Add missing break in AccessibilityEvent.eventTypeToString()
Bug:
22331852
Change-Id: I6f75dde0fb29715d05ef8e8b0e16c3a5a2b9d5e8
Jeff Sharkey [Thu, 9 Jul 2015 16:45:36 +0000 (09:45 -0700)]
Timeout when partitioning takes too long.
Otherwise we leave user hanging in wizard forever, instead of
telling them that something went wrong.
Bug:
20914299
Change-Id: Ib9ff3a8c316976c6a1dfdaffa10762abbea0c229
Jeff Sharkey [Thu, 9 Jul 2015 16:16:04 +0000 (09:16 -0700)]
Add grant flag support to "install-create" verb.
This matches the "install" behavior.
Bug:
22331569
Change-Id: I07bfe067bd4be01fc92126750b0ff25a5c5ba5c9
Jason Monk [Thu, 9 Jul 2015 14:14:12 +0000 (10:14 -0400)]
Remove data icon for WFC
Bug:
22095746
Change-Id: I0ca8420c2d88425cbb6da5fcc02c083355e933e9
Kenny Guy [Thu, 9 Jul 2015 10:06:22 +0000 (10:06 +0000)]
Merge "Mute correct user from device policy manager." into mnc-dev
Narayan Kamath [Wed, 8 Jul 2015 17:45:39 +0000 (18:45 +0100)]
Reduce overly aggressive use of narrowAm / narrowPm.
Increase threshold to 4 from 2. Given that this threshold is
applied independently, we now have a few more languages where we
use a mixture of narrow and regular AM/PM markers. Those languages
are : Bodo (brx), Cherokee (chr), Ewe (ee), German Swiss (gsw, not de-CH)
and Makonde (kde).
I've included a full table of diffs in the commit message.
bug:
22208502
1,5c1,5
< L= af AM= v , PM= n
< L= af-NA AM= v , PM= n
< L= af-ZA AM= v , PM= n
< L= agq AM= a , PM= p
< L= agq-CM AM= a , PM= p
---
> L= af AM= vm. , PM= nm.
> L= af-NA AM= vm. , PM= nm.
> L= af-ZA AM= vm. , PM= nm.
> L= agq AM= a.g , PM= a.k
> L= agq-CM AM= a.g , PM= a.k
9,10c9,10
< L= am AM= ጠ , PM= ከ
< L= am-ET AM= ጠ , PM= ከ
---
> L= am AM= ጥዋት , PM= ከሰዓት
> L= am-ET AM= ጥዋት , PM= ከሰዓት
68,71c68,71
< L= br AM= am , PM= gm
< L= br-FR AM= am , PM= gm
< L= brx AM= a , PM= p
< L= brx-IN AM= a , PM= p
---
> L= br AM= A.M. , PM= G.M.
> L= br-FR AM= A.M. , PM= G.M.
> L= brx AM= फुं , PM= p
> L= brx-IN AM= फुं , PM= p
84,85c84,85
< L= chr AM= a , PM= p
< L= chr-US AM= a , PM= p
---
> L= chr AM= ᏌᎾᎴ , PM= p
> L= chr-US AM= ᏌᎾᎴ , PM= p
114,
119c114,119
< L= ee AM= a , PM= p
< L= ee-GH AM= a , PM= p
< L= ee-TG AM= a , PM= p
< L= el AM= π , PM= μ
< L= el-CY AM= π , PM= μ
< L= el-GR AM= π , PM= μ
---
> L= ee AM= ŋdi , PM= p
> L= ee-GH AM= ŋdi , PM= p
> L= ee-TG AM= ŋdi , PM= p
> L= el AM= π.μ. , PM= μ.μ.
> L= el-CY AM= π.μ. , PM= μ.μ.
> L= el-GR AM= π.μ. , PM= μ.μ.
144c144
< L= en-GB AM= a , PM= p
---
> L= en-GB AM= a.m. , PM= p.m.
153c153
< L= en-IE AM= a , PM= p
---
> L= en-IE AM= a.m. , PM= p.m.
215c215
< L= eo AM= a , PM= p
---
> L= eo AM= atm , PM= ptm
314,
315c314,315
< L= ga AM= a , PM= p
< L= ga-IE AM= a , PM= p
---
> L= ga AM= a.m. , PM= p.m.
> L= ga-IE AM= a.m. , PM= p.m.
318,
323c318,323
< L= gl AM= a , PM= p
< L= gl-ES AM= a , PM= p
< L= gsw AM= a , PM= p
< L= gsw-CH AM= a , PM= p
< L= gsw-FR AM= a , PM= p
< L= gsw-LI AM= a , PM= p
---
> L= gl AM= a.m. , PM= p.m.
> L= gl-ES AM= a.m. , PM= p.m.
> L= gsw AM= a , PM= nam.
> L= gsw-CH AM= a , PM= nam.
> L= gsw-FR AM= a , PM= nam.
> L= gsw-LI AM= a , PM= nam.
328,
329c328,329
< L= gv AM= a , PM= p
< L= gv-IM AM= a , PM= p
---
> L= gv AM= a.m. , PM= p.m.
> L= gv-IM AM= a.m. , PM= p.m.
352,
353c352,353
< L= ig AM= a , PM= p
< L= ig-NG AM= a , PM= p
---
> L= ig AM= A.M. , PM= P.M.
> L= ig-NG AM= A.M. , PM= P.M.
356,
357c356,357
< L= is AM= f. , PM= e.
< L= is-IS AM= f. , PM= e.
---
> L= is AM= f.h. , PM= e.h.
> L= is-IS AM= f.h. , PM= e.h.
374,
375c374,375
< L= kde AM= a , PM= p
< L= kde-TZ AM= a , PM= p
---
> L= kde AM= Muhi , PM= p
> L= kde-TZ AM= Muhi , PM= p
409,
410c409,410
< L= kw AM= a , PM= p
< L= kw-GB AM= a , PM= p
---
> L= kw AM= a.m. , PM= p.m.
> L= kw-GB AM= a.m. , PM= p.m.
414,
415c414,415
< L= lag AM= a , PM= p
< L= lag-TZ AM= a , PM= p
---
> L= lag AM= TOO , PM= MUU
> L= lag-TZ AM= TOO , PM= MUU
435,
436c435,436
< L= luy AM= a , PM= p
< L= luy-KE AM= a , PM= p
---
> L= luy AM= a.m. , PM= p.m.
> L= luy-KE AM= a.m. , PM= p.m.
459,
465c459,465
< L= mr AM= स , PM= सं
< L= mr-IN AM= स , PM= सं
< L= ms AM= PG , PM= p
< L= ms-Latn AM= PG , PM= p
< L= ms-Latn-BN AM= PG , PM= p
< L= ms-Latn-MY AM= PG , PM= p
< L= ms-Latn-SG AM= PG , PM= p
---
> L= mr AM= स , PM= म.उ.
> L= mr-IN AM= स , PM= म.उ.
> L= ms AM= PG , PM= PTG
> L= ms-Latn AM= PG , PM= PTG
> L= ms-Latn-BN AM= PG , PM= PTG
> L= ms-Latn-MY AM= PG , PM= PTG
> L= ms-Latn-SG AM= PG , PM= PTG
474,
476c474,476
< L= nb AM= a , PM= p
< L= nb-NO AM= a , PM= p
< L= nb-SJ AM= a , PM= p
---
> L= nb AM= a.m. , PM= p.m.
> L= nb-NO AM= a.m. , PM= p.m.
> L= nb-SJ AM= a.m. , PM= p.m.
490,
491c490,491
< L= nmg AM= a , PM= p
< L= nmg-CM AM= a , PM= p
---
> L= nmg AM= maná , PM= kugú
> L= nmg-CM AM= maná , PM= kugú
515,
516c515,516
< L= ps AM= a , PM= p
< L= ps-AF AM= a , PM= p
---
> L= ps AM= غ.م. , PM= غ.و.
> L= ps-AF AM= غ.م. , PM= غ.و.
527,
530c527,530
< L= qu AM= a , PM= p
< L= qu-BO AM= a , PM= p
< L= qu-EC AM= a , PM= p
< L= qu-PE AM= a , PM= p
---
> L= qu AM= a.m. , PM= p.m.
> L= qu-BO AM= a.m. , PM= p.m.
> L= qu-EC AM= a.m. , PM= p.m.
> L= qu-PE AM= a.m. , PM= p.m.
572,
573c572,573
< L= si AM= පෙ , PM= ප
< L= si-LK AM= පෙ , PM= ප
---
> L= si AM= පෙ , PM= ප.ව.
> L= si-LK AM= පෙ , PM= ප.ව.
576,
577c576,577
< L= sl AM= d , PM= p
< L= sl-SI AM= d , PM= p
---
> L= sl AM= dop. , PM= pop.
> L= sl-SI AM= dop. , PM= pop.
582,
586c582,586
< L= so AM= a , PM= p
< L= so-DJ AM= a , PM= p
< L= so-ET AM= a , PM= p
< L= so-KE AM= a , PM= p
< L= so-SO AM= a , PM= p
---
> L= so AM= sn. , PM= gn.
> L= so-DJ AM= sn. , PM= gn.
> L= so-ET AM= sn. , PM= gn.
> L= so-KE AM= sn. , PM= gn.
> L= so-SO AM= sn. , PM= gn.
616,
617c616,617
< L= te AM= ఉ , PM= సా
< L= te-IN AM= ఉ , PM= సా
---
> L= te AM= [AM] , PM= [PM]
> L= te-IN AM= [AM] , PM= [PM]
Change-Id: Id87dd3a41b54f4d1e76535c80439e2436346a607
David Friedman [Thu, 9 Jul 2015 06:56:51 +0000 (06:56 +0000)]
am
6051cd3e: am
1809f534: Docs: Changes to the "Support" preview page.
* commit '
6051cd3e1b38b9c5b18392ce8c440aaf16412f66':
Docs: Changes to the "Support" preview page.
David Friedman [Thu, 9 Jul 2015 06:42:49 +0000 (06:42 +0000)]
am
1809f534: Docs: Changes to the "Support" preview page.
* commit '
1809f534766b2f1d015806f8f37bcefe8337d7b8':
Docs: Changes to the "Support" preview page.
David Friedman [Thu, 9 Jul 2015 05:11:23 +0000 (22:11 -0700)]
Docs: Changes to the "Support" preview page.
Removal of the (now-outdated) non-English versions; corresponding adjustments
to the related TOC file; edits to the English version.
Change-Id: Iec797963f355faf1034911d74d1d9580aaf0bc76
Dirk Dougherty [Thu, 9 Jul 2015 04:22:28 +0000 (04:22 +0000)]
am
95fc4f45: am
9d5df5ca: Merge "Doc change: add x86 to emulator spec." into mnc-preview-docs
* commit '
95fc4f45deb05318d14ce9a27ad8657a94eee4de':
Doc change: add x86 to emulator spec.
David Friedman [Thu, 9 Jul 2015 03:56:07 +0000 (03:56 +0000)]
am
064f8b68: am
dde5e263: Merge "Docs: Fixes to the quick-view wrapper on non-English "about lollipop" pages." into mnc-preview-docs
* commit '
064f8b68f9e2404426ba37ce697b52dba6418810':
Docs: Fixes to the quick-view wrapper on non-English "about lollipop" pages.
Dirk Dougherty [Thu, 9 Jul 2015 03:56:01 +0000 (03:56 +0000)]
am
119683d1: am
0ffd7158: Merge "Doc change: minor updates to KIs and AFW behavior changes." into mnc-preview-docs
* commit '
119683d12751ae657576d45448cd6f83478a0b55':
Doc change: minor updates to KIs and AFW behavior changes.
Dirk Dougherty [Thu, 9 Jul 2015 03:54:37 +0000 (03:54 +0000)]
am
9d5df5ca: Merge "Doc change: add x86 to emulator spec." into mnc-preview-docs
* commit '
9d5df5ca0491dcb2309c81ec497137f5d7c7a602':
Doc change: add x86 to emulator spec.
Robert Greenwalt [Wed, 24 Jun 2015 20:23:42 +0000 (13:23 -0700)]
Revive NetworkInfo's SUSPENDED state.
This got lost in the multinetwork work for L. It means
that if telephony stops having the ability to pass packets for a while
the rest of the platform doesn't know.
Telephony enters the suspended state if it enters a telephony call
while using certain radio access technologies, or if it switches to
one of those RATs while in a call. It also can enter this state if
it temporarily loses contact with the network - the modem will
not report the loss of the data call for an indeterminant time in
the hope that regaining the network will restore the connection
without harm to any ongoing ip layer interactions. For example
passing through a tunnel or taking an elevator trip may use this
mechanism.
bug:
19637156
Change-Id: If9fde68175e8561c19323c81fbfcb02a6e5a00fb
David Friedman [Thu, 9 Jul 2015 03:39:05 +0000 (03:39 +0000)]
am
dde5e263: Merge "Docs: Fixes to the quick-view wrapper on non-English "about lollipop" pages." into mnc-preview-docs
* commit '
dde5e2635588b1949fbda31ef096b0ee838ae761':
Docs: Fixes to the quick-view wrapper on non-English "about lollipop" pages.
Dirk Dougherty [Thu, 9 Jul 2015 03:39:01 +0000 (03:39 +0000)]
am
0ffd7158: Merge "Doc change: minor updates to KIs and AFW behavior changes." into mnc-preview-docs
* commit '
0ffd7158b2b6db8c3740c7bdaa55b39cede1c3fb':
Doc change: minor updates to KIs and AFW behavior changes.
Dirk Dougherty [Thu, 9 Jul 2015 03:25:39 +0000 (03:25 +0000)]
Merge "Doc change: add x86 to emulator spec." into mnc-preview-docs
Dirk Dougherty [Thu, 9 Jul 2015 03:23:04 +0000 (20:23 -0700)]
Doc change: add x86 to emulator spec.
Change-Id: I86209cf29f6fd2e0e73106cd0ba2aa81e54bcde1
David Friedman [Thu, 9 Jul 2015 03:21:46 +0000 (03:21 +0000)]
Merge "Docs: Fixes to the quick-view wrapper on non-English "about lollipop" pages." into mnc-preview-docs
Jim Miller [Thu, 9 Jul 2015 02:02:28 +0000 (19:02 -0700)]
Remove "final" qualifier from AuthenticationResult
This allows mock implementations to be created for testing
purposes.
Fixes bug
22362080
Change-Id: I5ff002c077d22b1338f2f4e394ad19827bb2ae9c
Robert Greenwalt [Thu, 9 Jul 2015 03:19:20 +0000 (03:19 +0000)]
Merge "Fix permissions on TelephonyManager" into mnc-dev
Dirk Dougherty [Thu, 9 Jul 2015 03:14:46 +0000 (03:14 +0000)]
Merge "Doc change: minor updates to KIs and AFW behavior changes." into mnc-preview-docs
Dirk Dougherty [Thu, 9 Jul 2015 03:10:49 +0000 (20:10 -0700)]
Doc change: minor updates to KIs and AFW behavior changes.
Change-Id: If1af0f85593db48b241d81dcb6df9d4a5c703105
Sanket Padawe [Thu, 9 Jul 2015 01:16:01 +0000 (01:16 +0000)]
Merge "Add Null checks while processing pairing cancel intent" into mnc-dev
Adam Lesinski [Thu, 9 Jul 2015 01:15:14 +0000 (01:15 +0000)]
Merge "BatteryStats: Fail gracefully on corrupt battery stats" into mnc-dev
Sanket Padawe [Tue, 7 Jul 2015 21:12:15 +0000 (14:12 -0700)]
Add Null checks while processing pairing cancel intent
Use case: Exception while handling pairing cancel
Intent received
1. Initiate pairing from DUT to remote
2. Power off DUT after getting pairing popup
Root Cause:Crash observed in settings application
Change-Id: Ia05fe196ecf6a1d4ec26f85b0cf984e23089c728
Fix: Fixed by adding Null check in PairingCancelHandler
Robert Greenwalt [Thu, 9 Jul 2015 00:36:31 +0000 (00:36 +0000)]
Merge "Fix Permission Typo." into mnc-dev
Adam Lesinski [Thu, 9 Jul 2015 00:09:34 +0000 (17:09 -0700)]
BatteryStats: Fail gracefully on corrupt battery stats
Bug:
22328963
Change-Id: Id0b4c6334706e58483d5fdfd2c1137bfb821c409
Christopher Tate [Wed, 8 Jul 2015 01:10:38 +0000 (18:10 -0700)]
Add a mechanism for products to specify default active app linkages
We now have a new tag type in the existing SystemConfig XML files:
<app-link package="..." />
Packages mentioned here are treated as though the user had instructed
the system to always open the app rather than a browser when touching
an HTTP/HTTPs URL that is handled by the app. This default state can
of course still be turned down by the user if they choose.
Bug
21595872
Change-Id: I2824064a891bba3867ee86f81d609d22e83aef7a
Mady Mellor [Thu, 9 Jul 2015 00:06:11 +0000 (00:06 +0000)]
Merge "Use hint text to position handle / floating tool bar popups" into mnc-dev
Svetoslav [Wed, 8 Jul 2015 23:58:00 +0000 (23:58 +0000)]
Merge "Fix reset permissions on clear data and package uninstall." into mnc-dev
Robert Greenwalt [Wed, 8 Jul 2015 23:34:33 +0000 (16:34 -0700)]
Fix Permission Typo.
There is no 'd' in privilege. And there is no spell checking in Manifests.
bug:
22358954
Change-Id: Ia122f51a81dc35760f277e23fe0f5a6d3d739457
Svetoslav [Wed, 8 Jul 2015 01:18:15 +0000 (18:18 -0700)]
Fix reset permissions on clear data and package uninstall.
If the user clears data for an app we reset the permission but
only the changes made by the user. We do not modify syste or
policy flags and also ensure the permission that were granted
by default are granted after the data wipe. This is the same
as starting with a clean slate.
If the package whose data is cleared is a part of a shared user
we resent to initial state only the permissions that the cleared
package contributed. Hence, if another package also declared the
permission as used we do not clear the permission state as it is
still in use.
When a package is deleted for a user but still present for another
user we reset its permissions to their inital state follwoing
above described strategy.
Lastly when a preinstalled package wtih an upgrade is diabled
(triggers upgrade uninstall) and this package is a part of a
shared user, we do not drop permission state (grants and flags)
for permissions used by the shadowed system package. This ensures
that we do not drop runtime permission state (such state is
default grants and user changes).i
bug:
22248525
Change-Id: I3a3007476d2cb9f4ff824e1e137a6e1a4d04408b
Svet Ganov [Wed, 8 Jul 2015 23:51:19 +0000 (23:51 +0000)]
Merge "Update storage group icon" into mnc-dev
Jack Yu [Wed, 8 Jul 2015 23:45:50 +0000 (23:45 +0000)]
Merge "Grant SMS permissions to Cell Broadcast receiver which emergency/non-emergency broadcast messages from the network." into mnc-dev
Amith Yamasani [Wed, 8 Jul 2015 23:44:53 +0000 (23:44 +0000)]
Merge "Qualify the uid with the userId when granting permissions" into mnc-dev
Wale Ogunwale [Wed, 8 Jul 2015 23:34:29 +0000 (23:34 +0000)]
Merge "Finish already paused activity if it should be finished after pausing" into mnc-dev
Jeff Sharkey [Wed, 8 Jul 2015 23:14:09 +0000 (23:14 +0000)]
Merge "Fix crash looping SystemUI." into mnc-dev
Jeff Sharkey [Wed, 8 Jul 2015 23:11:55 +0000 (16:11 -0700)]
Fix crash looping SystemUI.
Bug:
22358954
Change-Id: Ie8539d7f866ae722edd071f6b20e8f8881d82434
Selim Cinek [Wed, 8 Jul 2015 23:08:47 +0000 (23:08 +0000)]
Merge "Cleaned up the clipping logic for the dismiss motion." into mnc-dev
Ian Pedowitz [Wed, 8 Jul 2015 23:01:17 +0000 (23:01 +0000)]
Merge "com.android.mms is no more, so removing from default_sms_application" into mnc-dev
Ian Pedowitz [Wed, 8 Jul 2015 02:37:22 +0000 (19:37 -0700)]
com.android.mms is no more, so removing from default_sms_application
Fixing a minor comment typo
Bug:
22333078
Change-Id: Id2df5805567967fcf5544dca0264e130b46b4858
Sasha Levitskiy [Wed, 8 Jul 2015 22:59:49 +0000 (22:59 +0000)]
Merge "Fingerprint: Add post enroll interface." into mnc-dev
Jim Miller [Wed, 8 Jul 2015 22:58:21 +0000 (22:58 +0000)]
Merge "Don't use fingerId when creating names" into mnc-dev
Amith Yamasani [Wed, 8 Jul 2015 22:57:24 +0000 (15:57 -0700)]
Qualify the uid with the userId when granting permissions
Calls to remountUid() for secondary users was not using the
correct uid. This would prevent providing the required
storage permissions to default apps.
Discovered when investigating bug:
22356546
Change-Id: I98c8f6da724e46331c1c90b95969ca0871ef4fe9
Sasha Levitskiy [Wed, 8 Jul 2015 20:22:20 +0000 (13:22 -0700)]
Fingerprint: Add post enroll interface.
Bug:
22007124
Change-Id: I9b74edd8e34eaf9ab559b6dc20030a95fa3ce321
Signed-off-by: Sasha Levitskiy <sanek@google.com>
Vineeta Srivastava [Wed, 8 Jul 2015 20:37:09 +0000 (13:37 -0700)]
Use fingerid 0 when checking failed attempts.
It is valid to have finger id as Hex value which is not necessarily less than 0.
Always compare with finger id 0 to make sure we are not locking out user.
Bug:
22354158
Change-Id: I19ded12ae4ee335621fd278163c652fc154be6cf
Jorim Jaggi [Mon, 6 Jul 2015 23:18:11 +0000 (16:18 -0700)]
Fix assist for hardware long-press
Activating the assistant will now route through SysUI, so
we have the logic whether to start an activity or to start a voice
interaction session in one single place.
Bug:
22201770
Change-Id: I0f4699533aea2a1e595ee25a844434c82f548c01
Jack Yu [Tue, 7 Jul 2015 00:23:52 +0000 (17:23 -0700)]
Grant SMS permissions to Cell Broadcast receiver which emergency/non-emergency broadcast messages from the network.
bug:
22229152
Change-Id: Ide02f0c3faafd37b8205f92df8a33a0bc95dd3d7
Roshan Pius [Wed, 8 Jul 2015 22:03:22 +0000 (22:03 +0000)]
Merge "Change sequence of call removal from Phone's db." into mnc-dev
Jorim Jaggi [Mon, 6 Jul 2015 23:18:11 +0000 (16:18 -0700)]
Remove volume motion delay
Disable window animations, so we can start the show animation directly.
Bug:
21335976
Change-Id: I1d25d0ce46b9a068efed0a1561051072cda226a9
Jeff Sharkey [Wed, 8 Jul 2015 21:55:52 +0000 (21:55 +0000)]
Merge changes I9971c466,Ib42474fd into mnc-dev
* changes:
Kill MediaProvider during drastic changes.
Use best volume description for MTP.
Jeff Sharkey [Wed, 8 Jul 2015 21:55:10 +0000 (21:55 +0000)]
Merge "Generate stable MTP storage IDs." into mnc-dev
Roshan Pius [Wed, 8 Jul 2015 00:34:51 +0000 (17:34 -0700)]
Change sequence of call removal from Phone's db.
Since the Call API's callbacks are now fired from handlers, they end up
changing the order in which the callbacks from the Phone and Call API's
are fired. To preserve the below ordering, we move the call removal from
Phone's db to after all the onCallDestoryedcallbacks have executed.
1. Call->onStateChanged
2. Call->onDetailsChanged
3. Call->onCallDestroyed
4. Phone->onCallRemoved
BUG:
22127504
Change-Id: Ice17f727decb516baabbe69adae598ebdf370094
David Friedman [Wed, 8 Jul 2015 21:46:25 +0000 (21:46 +0000)]
am
9568a412: am
3d52c10e: Docs: Adds fugu system-image links and hashes for M-Preview.
* commit '
9568a412377eb5ef247f843c1845b433eb648645':
Docs: Adds fugu system-image links and hashes for M-Preview.
David Friedman [Wed, 8 Jul 2015 19:04:14 +0000 (12:04 -0700)]
Docs: Fixes to the quick-view wrapper on non-English "about lollipop" pages.
Change-Id: I866cb53f8cb4560555b02abad5c40f807e8e30fc
David Friedman [Wed, 8 Jul 2015 21:33:35 +0000 (21:33 +0000)]
am
3d52c10e: Docs: Adds fugu system-image links and hashes for M-Preview.
* commit '
3d52c10e217c4a622b5e7c0767a46ab5d14e58ea':
Docs: Adds fugu system-image links and hashes for M-Preview.
Robert Greenwalt [Wed, 8 Jul 2015 21:26:15 +0000 (21:26 +0000)]
Merge "Add/Fix Permission check on SubscriptionManager." into mnc-dev
Wale Ogunwale [Wed, 8 Jul 2015 21:19:44 +0000 (14:19 -0700)]
Finish already paused activity if it should be finished after pausing
If the app requests its activity to be finished allow it to be finished
immediately if the activity is already paused.
Bug:
22170595
Change-Id: I1ecc0d5f3b85fd80cbe8cdc1d4e32d5c6a50b20c
Jeff Sharkey [Wed, 8 Jul 2015 21:06:37 +0000 (14:06 -0700)]
Kill MediaProvider during drastic changes.
Sadly MediaProvider makes a ton of assumptions about storage paths
not changing. To ensure that it picks up radical storage changes,
kill it and let it restart to pick up new paths.
Also give ourselves a longer timeout when benchmarking.
Bug:
20275423
Change-Id: I9971c4667dabdc685cb23528443f085f152c461d
Adrian Roos [Wed, 8 Jul 2015 21:01:24 +0000 (21:01 +0000)]
Merge "Dump internal state of ImageWallpaper" into mnc-dev
Chien-Yu Chen [Wed, 8 Jul 2015 20:34:27 +0000 (20:34 +0000)]
Merge "Camera: Enforce ZERO_SHUTTER_LAG mode" into mnc-dev
Svet Ganov [Wed, 8 Jul 2015 20:16:49 +0000 (13:16 -0700)]
Update storage group icon
bug:
22316881
Change-Id: I64ea70d0d195721bbe12a5b673a010254b952e2f
David Friedman [Wed, 8 Jul 2015 19:11:08 +0000 (12:11 -0700)]
Docs: Adds fugu system-image links and hashes for M-Preview.
This is for English and non-English pages, alike.
Change-Id: I6ad68cee7d416279a5db0a39192fdca14f1f3709
Tingting Wang [Wed, 8 Jul 2015 20:07:40 +0000 (20:07 +0000)]
Merge "Don't display Custom for PHONE_TYPE=CUSTOM part 1." into mnc-dev
Selim Cinek [Wed, 8 Jul 2015 03:37:09 +0000 (20:37 -0700)]
Cleaned up the clipping logic for the dismiss motion.
Notifications are now not clipped anymore during the animation
and it is ensured that the State is always correctly reset after
the animation.
Bug:
22232352
Change-Id: Ic873a0b119d5f71c29f5fd9b76a7bee1ae74638b
Tingting Wang [Tue, 7 Jul 2015 23:58:13 +0000 (16:58 -0700)]
Don't display Custom for PHONE_TYPE=CUSTOM part 1.
Dialer sometimes creates custom PHONE_TYPE values without
specifying the custom string. In this case, we shouldn't
display "Custom". We should display nothing.
BUG
21900262
Change-Id: I11aff369c76126a3f60f95aa589ae2a8a3e98bb1
Alex Klyubin [Wed, 8 Jul 2015 19:32:02 +0000 (19:32 +0000)]
Merge "Reject AlgorithmParameters of wrong type." into mnc-dev
Mady Mellor [Wed, 8 Jul 2015 19:31:45 +0000 (12:31 -0700)]
Use hint text to position handle / floating tool bar popups
In situations where the hint text does not match the direction of
the TextView's primary selection, when you copy text, and long press
in that EditText to paste, the cursor would use the direction of the
hint text to be placed, whereas the handle and floating tool bar
used the TextView's direction to be placed so they wouldn't match.
This CL updates the handle view and floating tool bars to use the
hint text direction when appropriate.
Bug:
21480429
Change-Id: I8090a5b2738c035522c307535ffa165ca024e811
Etan Cohen [Wed, 8 Jul 2015 19:02:31 +0000 (19:02 +0000)]
Merge "Lock screen text: consider possible WFC service in APM" into mnc-dev