OSDN Git Service

android-x86/frameworks-base.git
9 years agoContinuous brightness slider
Adrian Roos [Tue, 2 Jun 2015 20:44:46 +0000 (13:44 -0700)]
Continuous brightness slider

Changes the brightness slider to have no visible steps
when in auto brightness mode. Also changes mirror
logic to dispatching touches instead of forwarding values.

Bug: 19516826
Change-Id: Ib0233c2dcc6807da96a71d1f5619a117ca2a73bd

9 years agoMerge "Lower the priority of the LazyTaskWriter thread." into mnc-dev
Riley Andrews [Wed, 3 Jun 2015 18:14:22 +0000 (18:14 +0000)]
Merge "Lower the priority of the LazyTaskWriter thread." into mnc-dev

9 years agoLower the priority of the LazyTaskWriter thread.
Riley Andrews [Wed, 3 Jun 2015 01:24:48 +0000 (18:24 -0700)]
Lower the priority of the LazyTaskWriter thread.

This worker thread shouldn't be prioritized at the same level as user
tasks, preemptions of ui threads may result. Additionally, if we lower
its priority level, it will be scheduled on more efficient cores
in big little systems.

Change-Id: I49a7df6fb43d6c067aeacf9ff0cbd5477cb42f7d

9 years agoMerge "SettingsLib/Wifi: Run pause/resumes on main thread" into mnc-dev
Jason Monk [Wed, 3 Jun 2015 18:13:12 +0000 (18:13 +0000)]
Merge "SettingsLib/Wifi: Run pause/resumes on main thread" into mnc-dev

9 years agoSettingsLib/Wifi: Run pause/resumes on main thread
Jason Monk [Wed, 3 Jun 2015 18:06:34 +0000 (14:06 -0400)]
SettingsLib/Wifi: Run pause/resumes on main thread

To avoid our objects from disappearing out from under us.

Bug: 21581533
Change-Id: Ia6fc9e56271f79c7d8b0f86f9c35351c39c35d29

9 years agoMerge "Apply contextStart consistently in getRunAdvance" into mnc-dev
Raph Levien [Wed, 3 Jun 2015 18:04:02 +0000 (18:04 +0000)]
Merge "Apply contextStart consistently in getRunAdvance" into mnc-dev

9 years agoApply contextStart consistently in getRunAdvance
Raph Levien [Wed, 3 Jun 2015 17:58:33 +0000 (10:58 -0700)]
Apply contextStart consistently in getRunAdvance

The contextStart needs to be applied to all offsets relative to the
actual start of context. The code was missing "offset", which caused
mischief especially in mixed LTR and RTL text.

Bug: 21573666
Change-Id: I47a1b6cde5862442b9c7236ee72b2ceb0df9b2e9

9 years agoMerge "Fix NPE when requesting outsets for detached view." into mnc-dev
Filip Gruszczynski [Wed, 3 Jun 2015 17:50:43 +0000 (17:50 +0000)]
Merge "Fix NPE when requesting outsets for detached view." into mnc-dev

9 years agoMerge "Fix FloatingToolbar positioning for RTL." into mnc-dev
Abodunrinwa Toki [Wed, 3 Jun 2015 17:47:45 +0000 (17:47 +0000)]
Merge "Fix FloatingToolbar positioning for RTL." into mnc-dev

9 years agoFix NPE when requesting outsets for detached view.
Filip Gruszczynski [Wed, 3 Jun 2015 17:32:26 +0000 (10:32 -0700)]
Fix NPE when requesting outsets for detached view.

Outsets are used during measure/layout pass, but this can be called on a
view that is not currently attached.

Bug: 21602590
Change-Id: I23e3acc45ca4bf7684d8913f839e29e8e9e94d78

9 years agoMerge "Convert subtypes whose locale is "tl" to "fil"." into mnc-dev
Yohei Yukawa [Wed, 3 Jun 2015 17:40:05 +0000 (17:40 +0000)]
Merge "Convert subtypes whose locale is "tl" to "fil"." into mnc-dev

9 years agoMerge "Fix block mode numbering (CTR got added as 4 rather than 3)" into mnc-dev
Alex Klyubin [Wed, 3 Jun 2015 17:25:36 +0000 (17:25 +0000)]
Merge "Fix block mode numbering (CTR got added as 4 rather than 3)" into mnc-dev

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Wed, 3 Jun 2015 17:22:05 +0000 (17:22 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Wed, 3 Jun 2015 17:20:00 +0000 (17:20 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Wed, 3 Jun 2015 17:19:35 +0000 (17:19 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev

9 years agoMerge "Fix warning" into mnc-dev
John Reck [Wed, 3 Jun 2015 17:16:46 +0000 (17:16 +0000)]
Merge "Fix warning" into mnc-dev

9 years agoMerge "Use config.xml parameters instead of System properties." into mnc-dev
Arunesh Mishra [Wed, 3 Jun 2015 17:13:53 +0000 (17:13 +0000)]
Merge "Use config.xml parameters instead of System properties." into mnc-dev

9 years agoMerge "API Cleanup: Remove VideoState class." into mnc-dev
Tyler Gunn [Wed, 3 Jun 2015 17:12:41 +0000 (17:12 +0000)]
Merge "API Cleanup: Remove VideoState class." into mnc-dev

9 years agoAPI Cleanup: Remove VideoState class.
Tyler Gunn [Wed, 3 Jun 2015 17:09:59 +0000 (10:09 -0700)]
API Cleanup: Remove VideoState class.

- Remove VideoState class.
- Replace references to VideoState constants with VideoProfile equivalent.
- Push VideoState static methods into VideoProfile.

Bug: 21573551
Change-Id: I1bca02772b5b7d86643f612824b07faef7618725

9 years agoMerge "UsbDeviceManager: Don't unnecessarily touch properties" into mnc-dev
Nick Kralevich [Wed, 3 Jun 2015 16:59:40 +0000 (16:59 +0000)]
Merge "UsbDeviceManager: Don't unnecessarily touch properties" into mnc-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 3 Jun 2015 16:58:05 +0000 (11:58 -0500)]
Import translations. DO NOT MERGE

Change-Id: I885d3ce3321af31b87a4817037557914d9679a4e
Auto-generated-cl: translation import

9 years agoMerge "Fix calls to Rect.intersect(Rect)" into mnc-dev
Doris Liu [Wed, 3 Jun 2015 16:57:44 +0000 (16:57 +0000)]
Merge "Fix calls to Rect.intersect(Rect)" into mnc-dev

9 years agoMerge "More FloatingToolbar styles." into mnc-dev
Abodunrinwa Toki [Wed, 3 Jun 2015 16:54:36 +0000 (16:54 +0000)]
Merge "More FloatingToolbar styles." into mnc-dev

9 years agoFix warning
John Reck [Wed, 3 Jun 2015 16:52:01 +0000 (09:52 -0700)]
Fix warning

Bug: 21608208
Change-Id: I1d1cf1fbc8c0a4561bf76e307c56be580fb4baef

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 3 Jun 2015 16:51:22 +0000 (11:51 -0500)]
Import translations. DO NOT MERGE

Change-Id: I7855e24fc4715b1bf7cf978dd40b3bd66f242427
Auto-generated-cl: translation import

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 3 Jun 2015 16:47:54 +0000 (11:47 -0500)]
Import translations. DO NOT MERGE

Change-Id: I8cb4cb369c064d934e671d9ae8086f9d079d79f3
Auto-generated-cl: translation import

9 years agoFix block mode numbering (CTR got added as 4 rather than 3)
Alex Klyubin [Mon, 1 Jun 2015 20:01:54 +0000 (13:01 -0700)]
Fix block mode numbering (CTR got added as 4 rather than 3)

Change-Id: I8c886c67ba081255ef18eb0f99ca1e6003fabb33

9 years agoMerge "Remove KM_TAG_CHUNK_LENGTH and add KM_TAG_AEAD_TAG" into mnc-dev
Alex Klyubin [Wed, 3 Jun 2015 16:35:19 +0000 (16:35 +0000)]
Merge "Remove KM_TAG_CHUNK_LENGTH and add KM_TAG_AEAD_TAG" into mnc-dev

9 years agoMerge "usb debugging: show alert to secondary user" into mnc-dev
Xiaohui Chen [Wed, 3 Jun 2015 16:35:06 +0000 (16:35 +0000)]
Merge "usb debugging: show alert to secondary user" into mnc-dev

9 years agousb debugging: show alert to secondary user
Xiaohui Chen [Wed, 13 May 2015 20:18:36 +0000 (13:18 -0700)]
usb debugging: show alert to secondary user

Bug: 12785423
Change-Id: If7f60899cfdaca7bdad560bd59a78f5be74c24be

9 years agoMerge "Allow default dialer changes and phone account enable/disable via ADB" into...
Yorke Lee [Wed, 3 Jun 2015 16:23:57 +0000 (16:23 +0000)]
Merge "Allow default dialer changes and phone account enable/disable via ADB" into mnc-dev

9 years agoMerge "Zen: Mute alarm (vibrations) in total silence." into mnc-dev
John Spurlock [Wed, 3 Jun 2015 16:23:31 +0000 (16:23 +0000)]
Merge "Zen: Mute alarm (vibrations) in total silence." into mnc-dev

9 years agoZen: Mute alarm (vibrations) in total silence.
John Spurlock [Wed, 3 Jun 2015 16:17:46 +0000 (12:17 -0400)]
Zen: Mute alarm (vibrations) in total silence.

Bug: 21376328
Change-Id: I00b46e64a0ec8d9b5066b5a9be10fc859dca0126

9 years agoMerge "Volume: Ripple tweaking on zen mode condition rows." into mnc-dev
John Spurlock [Wed, 3 Jun 2015 16:00:58 +0000 (16:00 +0000)]
Merge "Volume: Ripple tweaking on zen mode condition rows." into mnc-dev

9 years agoVolume: Ripple tweaking on zen mode condition rows.
John Spurlock [Wed, 3 Jun 2015 15:56:08 +0000 (11:56 -0400)]
Volume: Ripple tweaking on zen mode condition rows.

Bug: 21335622
Change-Id: Ifcd7e5a3c14625e0442dcdb23b9b27a01545953c

9 years agoFix FloatingToolbar positioning for RTL.
Abodunrinwa Toki [Wed, 3 Jun 2015 10:28:12 +0000 (11:28 +0100)]
Fix FloatingToolbar positioning for RTL.

-The position of the toolbar was forced to the left side in an attempt
to fix an RTL bug. This led to wrong positioning in LTR.
This is now fixed by using a dynamic "show" animation that takes into
consideration already set positions.

-The correct position of the toolbar wasn't recalculated on updates
for RTL. This is now fixed.

Bug:21455067
Change-Id: I0b31a8fd3c95549f5f10133a47a4d3ef27689010

9 years agoMerge "Audio policy: setting explicit non-zero volume unmutes the stream." into mnc-dev
John Spurlock [Wed, 3 Jun 2015 15:17:53 +0000 (15:17 +0000)]
Merge "Audio policy: setting explicit non-zero volume unmutes the stream." into mnc-dev

9 years agoMerge "Disallow going back to initial empty page in captive portal app" into mnc-dev
Paul Jensen [Wed, 3 Jun 2015 15:17:09 +0000 (15:17 +0000)]
Merge "Disallow going back to initial empty page in captive portal app" into mnc-dev

9 years agoDisallow going back to initial empty page in captive portal app
Paul Jensen [Tue, 19 May 2015 16:30:56 +0000 (12:30 -0400)]
Disallow going back to initial empty page in captive portal app

This is a little tricky because WebView history can only be cleared
after the next page load and we don't want to allow hitting back
during the first page load.

Bug:21147832
Change-Id: I639dfd27d4dc3af618282256ca02b9947e64a7b9

9 years agoAudio policy: setting explicit non-zero volume unmutes the stream.
John Spurlock [Tue, 2 Jun 2015 20:26:43 +0000 (16:26 -0400)]
Audio policy: setting explicit non-zero volume unmutes the stream.

And vice versa.

Bug: 21584884
Change-Id: I2cd6a84ab40edba4c6fc2b219693e0d4f0527d8d

9 years agoMerge "Volume footer uglification." into mnc-dev
John Spurlock [Wed, 3 Jun 2015 13:24:42 +0000 (13:24 +0000)]
Merge "Volume footer uglification." into mnc-dev

9 years agoMerge "Update captive portal sign-in app SSL error page UI." into mnc-dev
Paul Jensen [Wed, 3 Jun 2015 13:17:56 +0000 (13:17 +0000)]
Merge "Update captive portal sign-in app SSL error page UI." into mnc-dev

9 years agoUpdate captive portal sign-in app SSL error page UI.
Paul Jensen [Wed, 6 May 2015 18:40:59 +0000 (14:40 -0400)]
Update captive portal sign-in app SSL error page UI.

Add text and update image as per UX team recommendations.
Add "Use as is and open browser" link.

Bug:18791346
Bug:20038019
Bug:20486308
Change-Id: Ibf6d1493f5332e7905154cc7306645ac4c1a6283

9 years agoDelete unsed mDnsLock.
Erik Kline [Wed, 3 Jun 2015 07:10:08 +0000 (16:10 +0900)]
Delete unsed mDnsLock.

Bug: 21449922
Change-Id: I0c9f95c30eaa170d809e86f6505379f34a0a7603

9 years agoMerge "Add a permission annotation to IMM#setCurrentInputMethodSubtype." into mnc-dev
Yoshiki Iguchi [Wed, 3 Jun 2015 06:05:34 +0000 (06:05 +0000)]
Merge "Add a permission annotation to IMM#setCurrentInputMethodSubtype." into mnc-dev

9 years agoMerge changes I9b96cdcf,Ib4b29a7f into mnc-dev
Lorenzo Colitti [Wed, 3 Jun 2015 06:03:42 +0000 (06:03 +0000)]
Merge changes I9b96cdcf,Ib4b29a7f into mnc-dev

* changes:
  Remove the IPv4 address from the interface when DHCP fails.
  Make the dumpsys connectivity shorter and easier to read.

9 years agoMerge "Track changes to the keystore binder API" into mnc-dev
Shawn Willden [Wed, 3 Jun 2015 05:21:52 +0000 (05:21 +0000)]
Merge "Track changes to the keystore binder API" into mnc-dev

9 years agoCleaned out "isValid" from WifiConfig.
Jan Nordqvist [Mon, 1 Jun 2015 23:14:55 +0000 (16:14 -0700)]
Cleaned out "isValid" from WifiConfig.

Change-Id: I028615e55700aa92889670297f1130397eba650f
(cherry picked from commit c50315e014efded84b8f1981602951011816360b)

9 years agoAdd NO_BATCH flag to WifiScanner
Soonil Nagarkar [Wed, 27 May 2015 18:23:37 +0000 (11:23 -0700)]
Add NO_BATCH flag to WifiScanner

Change-Id: Idd521f724684986ff84306327d42b810f7b30245
(cherry picked from commit b9e6d98c6c0a05ebfc73a14d1ac2a47d58290241)

9 years agoMerge changes from topic 'mwd-merge-wifi-0602015' into mnc-dev
Vinit Deshpande [Wed, 3 Jun 2015 05:09:15 +0000 (05:09 +0000)]
Merge changes from topic 'mwd-merge-wifi-0602015' into mnc-dev

* changes:
  keep hal based pno disabled by default
  fix annoying typo
  enable SSID whitelist
  Rename HandlerThread name in RttManager     The sHandlerThread name in RttManager is called "WifiScanner".     It should be changed to RTTManager

9 years agoMerge "Use final in favor of initialization safety." into mnc-dev
Seigo Nonaka [Wed, 3 Jun 2015 04:58:38 +0000 (04:58 +0000)]
Merge "Use final in favor of initialization safety." into mnc-dev

9 years agoUse final in favor of initialization safety.
Seigo Nonaka [Tue, 2 Jun 2015 07:27:12 +0000 (16:27 +0900)]
Use final in favor of initialization safety.

Making a member field final would be beneficial not
only for the readability but also for the initialization
safety.
Leaving SpellCheckerSession#mSpellCheckerSessionListener
non-final does not make sense not only because we never
change that member field once SpellCheckerSession object
is created and but also because SpellCheckerSession
instance is designed to be accessed from multiple threads
at the same time, no matter if it has something to do
with Bug 18945456 or not.

Change-Id: I1a7ebb54a5d0beddee8799fc5b0800c6e1059099

9 years agoAdd support for MITM for BluetoothSockets (1/4)
Casper Bonde [Tue, 21 Apr 2015 11:12:05 +0000 (13:12 +0200)]
Add support for MITM for BluetoothSockets (1/4)

This change adds an option to enforce Man-in-the-middle protection
for the authentication process. This feature is needed for the Sim
Access Profile.

Change-Id: Ia3ef0caeb750f88608c9fa6bf6367d1c77de4cf3
Signed-off-by: Casper Bonde <c.bonde@samsung.com>
9 years agoRemove the IPv4 address from the interface when DHCP fails.
Lorenzo Colitti [Tue, 2 Jun 2015 07:50:36 +0000 (16:50 +0900)]
Remove the IPv4 address from the interface when DHCP fails.

Bug: 19704592
Change-Id: I9b96cdcfc7c9442b3f8d6797aca63559ed4bdb9b

9 years agoMake the dumpsys connectivity shorter and easier to read.
Lorenzo Colitti [Wed, 3 Jun 2015 02:18:24 +0000 (11:18 +0900)]
Make the dumpsys connectivity shorter and easier to read.

- Print NetworkFactories on one line.
- Only print LegacyTypeTracker networks if they are connected,
  and record supported network types on a separate summary line.
- Print all tethering upstreams on one line.
- Summarize the state of the transition wakelock on one line.
- Don't print Inet condition reports if there are none.
  (Currently there can never be any.)

Bug: 21449922
Change-Id: Ib4b29a7fd882e6c105839a255fffecf4f346cf7e

9 years agoMerge "Send neighbors into NUD_PROBE rather than NUD_DELAY" into mnc-dev
Erik Kline [Wed, 3 Jun 2015 01:59:46 +0000 (01:59 +0000)]
Merge "Send neighbors into NUD_PROBE rather than NUD_DELAY" into mnc-dev

9 years agoPrevent panel and QS expansion before device is decrypted
Adrian Roos [Mon, 1 Jun 2015 20:59:59 +0000 (13:59 -0700)]
Prevent panel and QS expansion before device is decrypted

Bug: 21514179
Change-Id: Ia36409a2645a00fc2c2630eb39c05d3a0599fd8a

9 years agoMerge "Add annotations to a new API" into mnc-dev
Svetoslav [Wed, 3 Jun 2015 01:01:39 +0000 (01:01 +0000)]
Merge "Add annotations to a new API" into mnc-dev

9 years agoMerge "[LockSettings] migrate patterns to be indexed at '1'" into mnc-dev
Andres Morales [Wed, 3 Jun 2015 01:01:07 +0000 (01:01 +0000)]
Merge "[LockSettings] migrate patterns to be indexed at '1'" into mnc-dev

9 years agoAdd annotations to a new API
Svetoslav [Wed, 3 Jun 2015 00:59:31 +0000 (17:59 -0700)]
Add annotations to a new API

Change-Id: I41a87a0ba81b1123e06096db510a02a1d9e6531d

9 years agoMerge "Retire PFLAG_ONLY_DRAWS_BACKGROUND." into mnc-dev
Jun Mukai [Wed, 3 Jun 2015 00:59:13 +0000 (00:59 +0000)]
Merge "Retire PFLAG_ONLY_DRAWS_BACKGROUND." into mnc-dev

9 years agoMerge "Load hyphenation data for more languages." into mnc-dev
Roozbeh Pournader [Wed, 3 Jun 2015 00:56:22 +0000 (00:56 +0000)]
Merge "Load hyphenation data for more languages." into mnc-dev

9 years agoMerge "Handle shader matrix correctly when ignoring canvas transform" into mnc-dev
Chris Craik [Wed, 3 Jun 2015 00:26:59 +0000 (00:26 +0000)]
Merge "Handle shader matrix correctly when ignoring canvas transform" into mnc-dev

9 years agoConvert subtypes whose locale is "tl" to "fil".
Yohei Yukawa [Tue, 2 Jun 2015 23:50:14 +0000 (16:50 -0700)]
Convert subtypes whose locale is "tl" to "fil".

On Android, "tl" is a historic hack for what should really
be "fil". Now that we properly support 3-letter language codes,
we should be using "fil" throughout. Given this historical usage,
IMEs that really want to support Tagalog (and not Filipino)
should use the ISO-639-3 code for Tagalog, which is "tgl".

For backward compatibility reasons, this CL uses the similar
approach to I26e3aa0333aa3c76c80a3c1c9090cc2b368c8e10.
InputMethodSubtype.getLocale() continues to return the "locale"
string parameter passed to the constructor as is, but in the
Android framework we do normalizations/conversions whenever
we need a valid ISO-639-3 code.

In I26e3aa0333aa3c76c80a3c1c9090cc2b368c8e10, we rely on the
conversion in the Locale constructor.  In this CL, we do replace
"tl" with "fil" by ourselves.

This CL also adds InputMethodSubtype#getLocaleObject() a hidden
API so that we can start relying on the Locale object at least
in the framework.

This CL is based on the investigation by Narayan Kamath and his
patch.

Bug: 20696126
Change-Id: I94f203bddceb9c87710cb187cc3cc0ee6d9092a5

9 years agoUsbDeviceManager: Don't unnecessarily touch properties
Nick Kralevich [Tue, 2 Jun 2015 23:56:06 +0000 (16:56 -0700)]
UsbDeviceManager: Don't unnecessarily touch properties

Before setting the properties persist.sys.usb.config or sys.usb.config,
check the existing values. If the values are the same as what we'd set it
to, don't perform the set.

Any USB property set, even if setting the property to the value it already
has, triggers one of the "on property" triggers in system/core/rootdir/init.usb.rc .
The script then reconfigures the driver unnecessarily, which causes instability
and dropped connections when trying to use ADB.

Avoid this instability by not performing property sets which would have
no effect.

Bug: 21404762
Bug: 18905620
Change-Id: Id3c2543308df994a0114a0661e20ca799c2dc0e8

9 years agoSAP: Change to use new SDP Api (4/4)
Casper Bonde [Thu, 16 Apr 2015 13:28:21 +0000 (15:28 +0200)]
SAP: Change to use new SDP Api (4/4)

Added class to carry SAP SDP record data.

Change-Id: Ic0d07402eca52c88e2be101181f6dd12e5e738d0
Signed-off-by: Casper Bonde <c.bonde@samsung.com>
9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Wed, 3 Jun 2015 00:03:28 +0000 (00:03 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 3 Jun 2015 00:01:40 +0000 (17:01 -0700)]
Import translations. DO NOT MERGE

Change-Id: Iac607a9db94c1949d364ae78a584285bc0882194
Auto-generated-cl: translation import

9 years agoMerge "API review feedback for ThemedSpinnerAdapter, Spinner" into mnc-dev
Alan Viverette [Tue, 2 Jun 2015 23:51:06 +0000 (23:51 +0000)]
Merge "API review feedback for ThemedSpinnerAdapter, Spinner" into mnc-dev

9 years agoHandle shader matrix correctly when ignoring canvas transform
Chris Craik [Mon, 1 Jun 2015 17:35:35 +0000 (10:35 -0700)]
Handle shader matrix correctly when ignoring canvas transform

bug:20063841

Restores old SkShader matrix behavior from before the Glop refactor.

Many drawing operations draw without sending the canvas transform to
the GL shader. In such cases, we need to adapt the matrix sent to the
SkShader logic to invert the canvas transform that's built into
the mesh.

Change-Id: I42b6f59df36ce46436322b95bf9ad2140795ee58

9 years agoMerge "More colors, now with material colors" into mnc-dev
John Reck [Tue, 2 Jun 2015 23:16:22 +0000 (23:16 +0000)]
Merge "More colors, now with material colors" into mnc-dev

9 years agoMerge "FrameInfo header fixes" into mnc-dev
John Reck [Tue, 2 Jun 2015 23:16:29 +0000 (23:16 +0000)]
Merge "FrameInfo header fixes" into mnc-dev

9 years agoMerge "Migrating MmsConfig to CarrierConfigManager." into mnc-dev
Jonathan Basseri [Tue, 2 Jun 2015 23:14:40 +0000 (23:14 +0000)]
Merge "Migrating MmsConfig to CarrierConfigManager." into mnc-dev

9 years agoMore colors, now with material colors
John Reck [Tue, 2 Jun 2015 22:55:00 +0000 (15:55 -0700)]
More colors, now with material colors

Bug: 18052916
Change-Id: I66c2573d796338ee7b7d0ddf240b90cc78a71ce5

9 years agoUpdate hamburger share, and delete icons to use the 24x MD icons.
Steve McKay [Tue, 2 Jun 2015 21:55:11 +0000 (14:55 -0700)]
Update hamburger share, and delete icons to use the 24x MD icons.

BUG=18685222,17699796
Change-Id: I4b14b83eca7fe30e250e1252cb384bc94e05e0a4
(cherry picked from commit e07525536b7edf584ffc96ba69951794d6096b57)

9 years agoFrameInfo header fixes
John Reck [Tue, 2 Jun 2015 22:58:43 +0000 (15:58 -0700)]
FrameInfo header fixes

Bug: 21560187

Log column names as part of output in case of other such
issues

Change-Id: I16157ed968307e761d416ca54bd7af5453fe67bf

9 years agoMerge "Tuner: Let Status bar be tuned" into mnc-dev
Jason Monk [Tue, 2 Jun 2015 22:39:02 +0000 (22:39 +0000)]
Merge "Tuner: Let Status bar be tuned" into mnc-dev

9 years agoMerge "Fix ringback return value." into mnc-dev
Santos Cordon [Tue, 2 Jun 2015 22:28:44 +0000 (22:28 +0000)]
Merge "Fix ringback return value." into mnc-dev

9 years agoMerge "Fix API review: Camera prewarm" into mnc-dev
Jorim Jaggi [Tue, 2 Jun 2015 22:25:28 +0000 (22:25 +0000)]
Merge "Fix API review: Camera prewarm" into mnc-dev

9 years agoMerge "Make sure starting windows only draw once" into mnc-dev
Jorim Jaggi [Tue, 2 Jun 2015 22:24:47 +0000 (22:24 +0000)]
Merge "Make sure starting windows only draw once" into mnc-dev

9 years agoUse config.xml parameters instead of System properties.
Arunesh Mishra [Tue, 2 Jun 2015 20:23:41 +0000 (13:23 -0700)]
Use config.xml parameters instead of System properties.

For 'near-ultrasound' support (mic/speaker). Refer b/21072209
for details.

Bug: 21072209
Change-Id: Id7131cd38288d74af8102487b2c6b03048b4ae3b

9 years agoMerge "Make ACTION_PROVISION_MANAGED_DEVICE public." into mnc-dev
Nicolas Prevot [Tue, 2 Jun 2015 22:11:10 +0000 (22:11 +0000)]
Merge "Make ACTION_PROVISION_MANAGED_DEVICE public." into mnc-dev

9 years agoFix ringback return value.
Santos Cordon [Tue, 2 Jun 2015 22:08:26 +0000 (15:08 -0700)]
Fix ringback return value.

Bug: 21474410
Change-Id: I6e08e89636c3b42c97fc194a314a325245755d09

9 years agoMerge "Fix java doc" into mnc-dev
Svetoslav [Tue, 2 Jun 2015 22:09:17 +0000 (22:09 +0000)]
Merge "Fix java doc" into mnc-dev

9 years agoFix java doc
Svetoslav [Tue, 2 Jun 2015 22:08:48 +0000 (15:08 -0700)]
Fix java doc

Change-Id: I927a1766e1e4cac99d0d7999fef568b82af769af

9 years agoMerge "Rename PhoneNumberUtils APIs" into mnc-dev
Brian Attwell [Tue, 2 Jun 2015 22:02:23 +0000 (22:02 +0000)]
Merge "Rename PhoneNumberUtils APIs" into mnc-dev

9 years agoFix calls to Rect.intersect(Rect)
Doris Liu [Mon, 1 Jun 2015 20:42:04 +0000 (13:42 -0700)]
Fix calls to Rect.intersect(Rect)

This CL checks for the return value for Rect.intersect(Rect) for whether
there is actually an intersection before taking the calling rect as the
intersection. In the case of no intersection (Rect.intersect(Rect) returns
false), the calling rect would not have been changed, so here in this CL
it will be manually set empty.

Bug: 7368679
Change-Id: I7494c1a1649eca09e34412f0a59b795e8b3a82aa

9 years agoVolume footer uglification.
John Spurlock [Tue, 2 Jun 2015 21:52:46 +0000 (17:52 -0400)]
Volume footer uglification.

 - Move "End now" button to its own line, below the condition lines.
 - Add the feature name "Do Not Disturb" to the condition summary
   for the indef condition.
 - Fix found RTL issues with the footer.

Bug: 21171893
Change-Id: Ia12fe57d46a5547beec82cf76e175982bfa3fd6c

9 years agoAPI review feedback for ThemedSpinnerAdapter, Spinner
Alan Viverette [Tue, 2 Jun 2015 21:54:40 +0000 (14:54 -0700)]
API review feedback for ThemedSpinnerAdapter, Spinner

Moves themed interface out of Spinner and extends SpinnerAdapter, updates
Spinner constructor to take a Theme rather than a Context.

Does NOT change BaseAdapter to implement ThemedSpinnerAdapter, because
the BaseAdapter class does not have any notion of layout inflation and
that would break the contract implied by ThemedSpinnerAdapter.

Bug: 21571899
Change-Id: Id7e8d630458857ce6c93a6a8b8f920e169ee1152

9 years agoMerge "Add API to hint whether to show on-board UI before a permission request."...
Svetoslav [Tue, 2 Jun 2015 21:53:19 +0000 (21:53 +0000)]
Merge "Add API to hint whether to show on-board UI before a permission request." into mnc-dev

9 years agoAdd API to hint whether to show on-board UI before a permission request.
Svetoslav [Fri, 29 May 2015 22:43:04 +0000 (15:43 -0700)]
Add API to hint whether to show on-board UI before a permission request.

bug:21511988

Change-Id: I9d1d7adf34b68074e65510f53b6e642cf784cf6b

9 years agoRemove KM_TAG_CHUNK_LENGTH and add KM_TAG_AEAD_TAG
Alex Klyubin [Mon, 1 Jun 2015 20:06:45 +0000 (13:06 -0700)]
Remove KM_TAG_CHUNK_LENGTH and add KM_TAG_AEAD_TAG

Change-Id: I384f3d2fee2f68279c6518d9ac0a79e29bed0e52

9 years agoRename PhoneNumberUtils APIs
Brian Attwell [Tue, 2 Jun 2015 20:27:47 +0000 (13:27 -0700)]
Rename PhoneNumberUtils APIs

In response to more API review.

Bug: 21571895
Change-Id: Ia1fa69da07a3427997919ba61c77fcbad7e79f2a

9 years agoMigrating MmsConfig to CarrierConfigManager.
Jonathan Basseri [Wed, 27 May 2015 08:18:46 +0000 (01:18 -0700)]
Migrating MmsConfig to CarrierConfigManager.

Define variables in CarrierConfigManager that mirror those in
SmsManager. These will replace MmsConfig. The literal values had to be
moved into this class because classes in frameworks/base/telephony
cannot reference classes in frameworks/opt/telephony.

There is no change to the SmsManager API, but the data available from
SmsManager#getCarrierConfigValues is moving from mms_config.xml files
into the new carrier config API.

This was originally Change-Id: I8a88f46c770ddcb3ac6988c29d86f0ca1f211f4a

Bug: 21085630
Change-Id: I5a55873465c36ea8a7e3915b8b98a65b47c60dfa

9 years agoRetire PFLAG_ONLY_DRAWS_BACKGROUND.
Jun Mukai [Tue, 2 Jun 2015 01:38:17 +0000 (18:38 -0700)]
Retire PFLAG_ONLY_DRAWS_BACKGROUND.

Per discussion on another CL, this CL retires
PFLAG_ONLY_DRAWS_BACKGROUND because this is over-optimizing and
misleading.  Also setFlags() needs to care both the background
and the foreground.

Bug: 20734520
Change-Id: I57d63e776b5fbad9effd10ad87e683bbb2a6dacd

9 years agoAllow default dialer changes and phone account enable/disable via ADB
Yorke Lee [Tue, 2 Jun 2015 20:55:25 +0000 (13:55 -0700)]
Allow default dialer changes and phone account enable/disable via ADB

Add commands accessible via adb shell that can be used for CTS tests
without the need for adb root
*set-phone-account-enabled
*set-phone-account-disabled
*set-default-dialer
*get-default-dialer

Modify enablePhoneAccount/setDefaultDialer to indicate success.

Remove now unused functionality in ProtectedEnableAccountPreferenceActivity
and ProtectedChangeDefaultDialerActivity.

Bug: 21583012
Change-Id: I542d145cc969334c004b8344fbbb01f278256f9d

9 years agoMerge "Revert "Migrating MmsConfig to CarrierConfigManager."" into mnc-dev
Jonathan Basseri [Tue, 2 Jun 2015 21:14:59 +0000 (21:14 +0000)]
Merge "Revert "Migrating MmsConfig to CarrierConfigManager."" into mnc-dev

9 years agoRevert "Migrating MmsConfig to CarrierConfigManager."
Jonathan Basseri [Tue, 2 Jun 2015 21:13:48 +0000 (21:13 +0000)]
Revert "Migrating MmsConfig to CarrierConfigManager."

Forgot to update-API

This reverts commit 9444f4be82d2bbc6b8668e73e91cfa70aee2d4dc.

Change-Id: I8e1bb7ff5b86d478ae7a79497d28ee9310209de6

9 years agoMerge "Patches for IKeyguardStateCallback" into mnc-dev
Adrian Roos [Tue, 2 Jun 2015 21:05:21 +0000 (21:05 +0000)]
Merge "Patches for IKeyguardStateCallback" into mnc-dev

9 years agoMake ACTION_PROVISION_MANAGED_DEVICE public.
Nicolas Prevot [Wed, 29 Apr 2015 13:43:49 +0000 (14:43 +0100)]
Make ACTION_PROVISION_MANAGED_DEVICE public.

Also remove the doc saying that factory reset is impossible if there
is a device owner: the device owner may not set the user restriciton
DISALLOW_FACTORY_RESET.

BUG:19889110

Change-Id: Iadc084a38e541061c0b0c95bfc95da73d48842d7