233967 Commits

Author SHA1 Message Date
Makoto Onuki
889c088066 Support safe mode properly.
In safe mode, IPM.queryXxx() doesn't work.  Use IPM.getReceiverInfo()
directly instead.

Bug 27108276

Change-Id: Ice8f882559b8f0596a19ddb3a16395a4dc538a25
2016-02-24 13:12:01 -08:00
Tony Mak
fe939916a6 Merge "Fix personal apps are not shown when tapping "personal" in activity chooser" into nyc-dev 2016-02-24 21:11:30 +00:00
Raph Levien
ccb4b5c078 Update data for emoji modifier bases to Unicode 9
This patch updates the set of emoji modifier bases to Unicode 9,
using data from:
http://www.unicode.org/Public/emoji/3.0/emoji-data.txt

Bug: 27039487
Change-Id: I94c09113753c0595e72f403ba01b3e7fa78c5627
2016-02-24 13:05:55 -08:00
Todd Kennedy
ca67844e0c Merge "Remove deprecated methods / classes" into nyc-dev 2016-02-24 21:02:58 +00:00
Dongwon Kang
3f6a81ba6a TIF: Add null-checking in Programs.Genres.encode/decode
Bug: 27292029
Change-Id: I041a5242f9e5fef9c5c7f89e3d5d597a6063ed4c
2016-02-24 13:01:44 -08:00
Steve McKay
8a5a25db42 Merge "Only ellipsize at end of strings." into nyc-dev 2016-02-24 21:01:09 +00:00
Steve McKay
da48a9aa07 Only ellipsize at end of strings.
Bug: 27339484, 27338617
Change-Id: I5e908c862cf9d6a2ba0c7552434914f18fbab716
2016-02-24 12:59:32 -08:00
Arunesh Mishra
f47f173b06 Fix AlwaysOnHotwordDetector recognition event bug.
Parcelables don't work well with inheritance. So changed the
IRecognitionStatusCallback to have onKeyphraseDetected() and
onGenericSoundTriggerDetected() for those respective events.

Made corresponding changes to AlwaysOnHotwordDetector and SoundTriggerDetector.

Bug: 27250528
Change-Id: Ic08a431e7cc4248c688b05c865348170246de576
2016-02-24 12:57:01 -08:00
Chris Tate
22d87695c6 Merge "Disable per-app scheduled job limits" into nyc-dev 2016-02-24 20:45:19 +00:00
Wale Ogunwale
08559dc5de Use correct task bounds when moved from fullscreen to freeform stack
When we are moving a task to the freeform stack, get the launch bounds
to use or layout in stack vs. using the existing bounds that can be
null.

Also, prevent moving a task to the freeform stack if freeform isn't supported.

Bug: 27157914
Change-Id: I0d86baa6141961b92a436107b5c5bb1316570558
2016-02-24 20:43:28 +00:00
Vadim Tryshev
12a30e8874 Add support for showing wallpaper for the user selected in UI.
This change will go nyc-dev.

There will be another change in the UI, which will go to our
branch.

Bug: 25185253
Change-Id: I6feac9fa4190b28a8599a18367bea8c6a5a83b9a
2016-02-24 20:37:43 +00:00
Alan Viverette
21d361806c Fix exit transition and dismiss callback for popup exit transition
We should run the transition only when the anchor root IS attached,
and we should only call the dismiss callback when the animation has
completed and the window has been removed.

Bug: 25323707
Bug: 26647820
Change-Id: I2bcdc901885d4c0a6c48c2b2c949797def1d7512
2016-02-24 15:34:11 -05:00
Christopher Tate
dabdf6f1bd Disable per-app scheduled job limits
Bug 27335118

Change-Id: I6ec92498c1e90e63a650db2a676cfd75dd91aced
2016-02-24 12:33:37 -08:00
Tony Mak
53ec2b6127 Fix personal apps are not shown when tapping "personal" in activity chooser
It is introduced in ag/842541.
function isMatch return flage when Flag that are neither
MATCH_ENCRYPTION_AWARE and MATCH_ENCRYPTION_UNAWARE.

We should call updateFlagsForResolve before resolving any intent in order
to make sure the flag is set properly.

Bug: 26614039
Change-Id: I4da34a34cb515557d0f5948a4c9ec4da9bfeb3f4
2016-02-24 20:26:24 +00:00
Jason Monk
f9935c511b Merge "QS Animation tweaks" into nyc-dev 2016-02-24 20:24:13 +00:00
Andre Eisenbach
84ec4fbf7b resolve merge conflicts of e6c7c8e8f2 to cw-e-dev am: dfd4b8b25c
am: 1cba33abf3

* commit '1cba33abf35159928e065ca933dfbe67189215a7':
  DO NOT MERGE Read Bluetooth interop database entries from settings (1/2)
2016-02-24 20:22:09 +00:00
Adrian Roos
c949673876 Merge "Fix broken remote inputs" into nyc-dev 2016-02-24 20:20:14 +00:00
Adrian Roos
764d915991 Merge "Set input type on RemoteInputView" into nyc-dev 2016-02-24 20:11:44 +00:00
Adrian Roos
5dd685f24c Fix broken remote inputs
Bug: 22452379
Change-Id: Ibcf0cf23e9f163b37270d42629de01083e12643c
2016-02-24 12:05:51 -08:00
Nathan Harold
f1070ad633 Merge "Adding Error Codes for IWLAN/EPDG Connection" into mm-wireless-dev
am: 17469433e3

* commit '17469433e35e5a137ff37cb3a5fdead76574c146':
  Adding Error Codes for IWLAN/EPDG Connection
2016-02-24 20:02:09 +00:00
Andre Eisenbach
1cba33abf3 resolve merge conflicts of e6c7c8e8f2 to cw-e-dev
am: dfd4b8b25c

* commit 'dfd4b8b25c6454dec6d1bdc7cae4976b537fff2f':
  DO NOT MERGE Read Bluetooth interop database entries from settings (1/2)
2016-02-24 19:57:07 +00:00
Nathan Harold
17469433e3 Merge "Adding Error Codes for IWLAN/EPDG Connection" into mm-wireless-dev 2016-02-24 19:55:52 +00:00
Chris Wren
1ac52a91dc remove some logspam and fix an NPE
notificaiton manager is logspamming, and also dump can fail
while collecting a bugreport if an actionIntent is null.

Bug: 27338511
Bug: 27338098
Change-Id: I8648541469887d62ee64b28d96e0cb7e4fab0f7b
2016-02-24 14:54:52 -05:00
Jason Monk
e80654bf7f QS Animation tweaks
Try to do less work and animate less things, while keeping the same
animation overall.

Bug: 27278616
Change-Id: I26b6658fd64c74a70e9eae9e00de5f7b0927abb2
2016-02-24 14:53:57 -05:00
Amith Yamasani
66f0c6f3b8 Merge "Optimize calls to TelephonyManager to check for privileged apps" into nyc-dev 2016-02-24 19:42:12 +00:00
Sergey Poromov
54aaeb72e9 Merge "Fix NPE when null BackupObserver is passed into BackupManager#requestBackup()" into nyc-dev 2016-02-24 19:40:53 +00:00
Andre Eisenbach
dfd4b8b25c resolve merge conflicts of e6c7c8e8f2 to cw-e-dev
Change-Id: I94683e571a73df721206d7e5fc14cb817ec9620f
2016-02-24 11:36:27 -08:00
Amith Yamasani
4ec6368f13 Optimize calls to TelephonyManager to check for privileged apps
Calling into TelephonyManager each of hundreds of apps to check
if the app is carrier privileged was very expensive, especially
when there aren't even any carrier access rules specified. This
change fetches all the carrier privileged apps in one call,
reducing the number of IPC calls to the radio process and checks
the package names locally.

If the carrier rules change or packages are modified, the list
will be computed and fetched again.

Other optimizations in Telephony help speed up the individual calls
to check if a package is privileged, as well.

Bug: 27271861
Change-Id: I5a77b6da4f2cdc603d2a73bd8569c5c38f06b42d
2016-02-24 11:30:00 -08:00
Jason Monk
6b288c27b9 Merge "Hide some tuner stuff that isn't ready." into nyc-dev 2016-02-24 19:22:51 +00:00
Adam Powell
475aa109dc Merge "Un-hide string set persistence methods in Preference" into nyc-dev 2016-02-24 19:13:55 +00:00
Gustav Sennton
074d630f9e Merge "Add fallback packages to be enabled iff no webview packages are valid" into nyc-dev 2016-02-24 19:00:36 +00:00
Jorim Jaggi
c87e2b46fb Fix build
Change-Id: Id21200a8239908c18379d67639c090ccfd3772f2
2016-02-24 18:48:42 +00:00
Pavlin Radoslavov
6e8fafff77 Suppress output for Protobuf data if Bluetooth is disabled
If Bluetooth is disabled or there is some other error,
don't print anything when extracting the Metrics-related data
in Protobuf format.

[Cherry-pick from AOSP]

Bug: 27315491
Change-Id: Ic1ec5334fbf0b524909400f080e2eac3ec34edf4
2016-02-24 18:41:53 +00:00
Chad Brubaker
32d2a1024f Dont trust the user added CA store by default for apps targeting N
Android's security model is such that the applications data is secure by
default unless the application specifically grants access to it.
Application data in transit should have similar security properties.

Bug: 27301579
Change-Id: I72f106aefecccd6edfcc1d3ae10131ad2f69a559
2016-02-24 10:36:27 -08:00
Sergey Poromov
899edf6f4f Fix NPE when null BackupObserver is passed into BackupManager#requestBackup()
BackupManagerService has the null check, but it doesn't work
because passed BackupObserver object is wrapped into
this BackupObserverWrapper.
This was found during GTS testing.

Bug: 27334738
Change-Id: I16dc0230824b326d3fae1f8489f58b0c0d4e1c7c
2016-02-24 19:36:26 +01:00
Andre Eisenbach
e6c7c8e8f2 Merge "DO NOT MERGE Read Bluetooth interop database entries from settings (1/2)" into mnc-dr-dev 2016-02-24 18:35:39 +00:00
Paul Miller
8a6aea047d Merge "Fix WebView Metrics opt out Javadoc formatting" into nyc-dev 2016-02-24 18:25:18 +00:00
Jason Monk
823322bb6f Merge "Move clock down 4dp in QS header" into nyc-dev 2016-02-24 18:23:46 +00:00
Jason Monk
433498c421 Move clock down 4dp in QS header
Bug: 27319941
Change-Id: Ib4d8ea7814738f2e6b8ab3095a7e456d7c1f7366
2016-02-24 13:19:52 -05:00
Jorim Jaggi
0ffd49cbe0 Always consume bottom insets when navigation bar is force shown
When an app requests SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION but we
force show the navigation bar, we need to treat for the app like
there is no virtual navigation bar on the device. Because if you
combine it with FLAG_HIDE_NAVIGATION, you'd expect the navigation
bar gets hidden but it doesn't, so there could be content that
overlaps with the navigation bar.

Bug: 27157904
Change-Id: I088e02eae2e723c35e9cb4873de6b1325458533b
2016-02-24 18:15:17 +00:00
Robin Lee
155a280e18 Merge "DPM: installKeyPair variant: caller can self-grant" into nyc-dev 2016-02-24 18:14:36 +00:00
Ben Kwa
9b3524d839 Fix a crash when browsing empty roots.
BUG=27292682

Change-Id: I383fd359a959e86fca3f6716575027aa3b4723cf
2016-02-24 10:11:10 -08:00
Jason Monk
72195a0111 Hide some tuner stuff that isn't ready.
Change-Id: I075098068f4c9f91705e1196b40ab2d36d658bab
2016-02-24 13:01:53 -05:00
Jason Monk
39a009aea2 Merge "Fix bootloops in TwilightService" into nyc-dev 2016-02-24 18:00:46 +00:00
Dianne Hackborn
4afad11ac8 Merge "Fix issue #27289462: Alarm clock not working on NRC49C" into nyc-dev 2016-02-24 18:00:39 +00:00
Dianne Hackborn
11007fa30c Merge "Work towards issue #26390161: Throttle syncs/jobs when system is low on RAM" into nyc-dev 2016-02-24 18:00:28 +00:00
Jason Monk
63c6f506b4 Fix bootloops in TwilightService
Bug: 27336023
Change-Id: I983f05bd69fd27bb3e3ae121d19fc9d006c95ffb
2016-02-24 12:56:16 -05:00
Jae Seo
ae262a8928 Merge "Enable to set canRecord and tunerCount statically" into nyc-dev 2016-02-24 17:53:48 +00:00
Shishir Agrawal
2f17c36268 Merge "DO NOT MERGE: Multi-SIM - Fixing inconsistent naming in CarrierConfigManager." into mm-wireless-dev
am: d94fbf85d6  -s ours

* commit 'd94fbf85d6b9affc29fb312abd3548f3727c80c4':
  DO NOT MERGE: Multi-SIM - Fixing inconsistent naming in CarrierConfigManager.
2016-02-24 17:42:33 +00:00
Shishir Agrawal
7aa999143f Merge "Add subscription specific TelephonyManager calls." into nyc-dev 2016-02-24 17:35:47 +00:00