OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Fix invalid API use of XmlPullParser.getAttributeValue."
Seigo Nonaka [Fri, 11 Dec 2015 03:14:43 +0000 (03:14 +0000)]
Merge "Fix invalid API use of XmlPullParser.getAttributeValue."

8 years agoMerge "Switch WordIterator's BreakIterator to ICU4J"
Roozbeh Pournader [Fri, 11 Dec 2015 02:57:56 +0000 (02:57 +0000)]
Merge "Switch WordIterator's BreakIterator to ICU4J"

8 years agoMerge "Even more Inline Reply goodness"
Adrian Roos [Fri, 11 Dec 2015 02:38:07 +0000 (02:38 +0000)]
Merge "Even more Inline Reply goodness"

8 years agoFix invalid API use of XmlPullParser.getAttributeValue.
Seigo Nonaka [Fri, 11 Dec 2015 02:23:37 +0000 (18:23 -0800)]
Fix invalid API use of XmlPullParser.getAttributeValue.

The 1st argument of the getAttributeValue is a namespace of the xml.

Bug: 10861108
Change-Id: I73fd15eca7101b745870ca7b6509b1dbfcc9b0d7

8 years agoSwitch WordIterator's BreakIterator to ICU4J
Roozbeh Pournader [Fri, 11 Dec 2015 02:14:55 +0000 (18:14 -0800)]
Switch WordIterator's BreakIterator to ICU4J

The java.text results are different from the ICU4J's results when
non-BMP characters are present, and the ICU4J's results appear to be
more correct. See also bug 26144875.

Bug: 25993844
Change-Id: Iec2e48008b2ce2147260ed3874e90a51ecf94a35

8 years agoMerge "Introduce ttcIndex attribute into system font configuration."
Seigo Nonaka [Fri, 11 Dec 2015 01:44:21 +0000 (01:44 +0000)]
Merge "Introduce ttcIndex attribute into system font configuration."

8 years agoMerge "AAPT2: Fix overlay support"
Adam Lesinski [Fri, 11 Dec 2015 01:22:58 +0000 (01:22 +0000)]
Merge "AAPT2: Fix overlay support"

8 years agoEven more Inline Reply goodness
Adrian Roos [Mon, 7 Dec 2015 22:53:53 +0000 (14:53 -0800)]
Even more Inline Reply goodness

- Removed action icon processing
- Correct color for action label
- Change default notification color to Gray 600
- Handle different states in RemoteInputView
- Handle updates to Notifications with active remote input

Bug: 22452379
Change-Id: I30a0cd917dbf814f156ab5a106e018a245d99b67

8 years agoMerge "Refactored what happens when a BUGREPORT_FINISHED is received."
Felipe Leme [Fri, 11 Dec 2015 01:02:04 +0000 (01:02 +0000)]
Merge "Refactored what happens when a BUGREPORT_FINISHED is received."

8 years agoIntroduce ttcIndex attribute into system font configuration.
Seigo Nonaka [Thu, 10 Dec 2015 22:30:37 +0000 (14:30 -0800)]
Introduce ttcIndex attribute into system font configuration.

ttcIndex is used for specifying index of the TrueType Collection.
No user visible change is expected with this CL.

BUG: 10861108
Change-Id: I76a1c890164bb55a7ece7b9c7db2ce2bac3f8b89

8 years agoMerge "Fix activity not launching from recents after it was dismissed."
Filip Gruszczynski [Fri, 11 Dec 2015 00:31:16 +0000 (00:31 +0000)]
Merge "Fix activity not launching from recents after it was dismissed."

8 years agoAAPT2: Fix overlay support
Adam Lesinski [Wed, 9 Dec 2015 23:20:52 +0000 (15:20 -0800)]
AAPT2: Fix overlay support

Supports the <add-resource> tag and mimics old AAPT behavior of
not allowing new resources defined unless <add-resource> was used
or --auto-add-overlay was specified.

Change-Id: I9b461137357617ade37fd7045b418b8e6450b9c4

8 years agoMerge "Remove hide annotation from AXIS_SCROLL"
Prashant Malani [Fri, 11 Dec 2015 00:21:16 +0000 (00:21 +0000)]
Merge "Remove hide annotation from AXIS_SCROLL"

8 years agoUse direct alarm callbacks instead of broadcasts in the job scheduler
Christopher Tate [Thu, 10 Dec 2015 00:00:37 +0000 (16:00 -0800)]
Use direct alarm callbacks instead of broadcasts in the job scheduler

No more broadcasts needed for deadline/delay tracking!

Bug 26114467

Change-Id: Ie5b1cc8eecfe9caf7d82ec6b84ac56057e4586c6

8 years agoPrevent DivideByZero error in BatteryStatsImpl am: ba88e68fe4 am: 4e4ff058c1
Adam Lesinski [Thu, 10 Dec 2015 23:44:14 +0000 (15:44 -0800)]
Prevent DivideByZero error in BatteryStatsImpl am: ba88e68fe4 am: 4e4ff058c1
am: 0b754d122c

* commit '0b754d122c3b9db395a86d9a098f6a29bf042b53':
  Prevent DivideByZero error in BatteryStatsImpl

8 years agoMerge "Fixed a bug where the group overflow was invisible"
Selim Cinek [Thu, 10 Dec 2015 23:19:36 +0000 (23:19 +0000)]
Merge "Fixed a bug where the group overflow was invisible"

8 years agoRemove hide annotation from AXIS_SCROLL
Prashant Malani [Thu, 10 Dec 2015 20:40:57 +0000 (12:40 -0800)]
Remove hide annotation from AXIS_SCROLL

Bug: 22836852
Bug: 18707397
Change-Id: I77ec72cf577cb68782b9954f4d40845d723a7685

8 years agoPrevent DivideByZero error in BatteryStatsImpl am: ba88e68fe4
Adam Lesinski [Thu, 10 Dec 2015 22:54:38 +0000 (14:54 -0800)]
Prevent DivideByZero error in BatteryStatsImpl am: ba88e68fe4
am: 4e4ff058c1

* commit '4e4ff058c1a0b4b77f468a206a790bb6f084f616':
  Prevent DivideByZero error in BatteryStatsImpl

8 years agoPrevent DivideByZero error in BatteryStatsImpl
Adam Lesinski [Thu, 10 Dec 2015 22:47:09 +0000 (14:47 -0800)]
Prevent DivideByZero error in BatteryStatsImpl
am: ba88e68fe4

* commit 'ba88e68fe47b66f1fc5d10c15f04f20fe662399e':
  Prevent DivideByZero error in BatteryStatsImpl

8 years agoMerge "AAPT: Dump uses-permission-sdk-23"
Adam Lesinski [Thu, 10 Dec 2015 22:36:29 +0000 (22:36 +0000)]
Merge "AAPT: Dump uses-permission-sdk-23"

8 years agoFix leak of file descriptors in test code
Tom Hudson [Thu, 10 Dec 2015 21:46:57 +0000 (16:46 -0500)]
Fix leak of file descriptors in test code

skia_dm rendering through HWUI was hanging after roughly 300 tests.
logcat reports some process was unable to get any file descriptors.

When we migrated TestWindowContext into HWUI and started using PIMPL
I didn't clean up the implementation struct in the destructor. Doing
so solved the hang for me.

My guess was that BufferQueue was being leaked, and that gralloc is
backed by file descriptors, but some research suggests that Android
ought to be able to handle far more than 1k fds (ulimit -Hn returns
4096 on this device).

R=djsollen@google.com

Change-Id: I2cd9f8945cee9b22f838002e1ad687d5fe29cb97

8 years agoAAPT: Dump uses-permission-sdk-23
Adam Lesinski [Wed, 2 Dec 2015 23:40:19 +0000 (15:40 -0800)]
AAPT: Dump uses-permission-sdk-23

Include <uses-permission-sdk-23> permissions in dump badging and dump permissions.

This will also add implied features for that permission, marked as -sdk-23 features.

Ex:

uses-permission: name='android.permission.ACCESS_FINE_LOCATION'
uses-permission-sdk-23: name='android.permission.CAMERA'

feature-group: label=''
  uses-feature: name='android.hardware.location'
  uses-implied-feature: name='android.hardware.location' reason='...'
  uses-feature-sdk-23: name='android.hardware.camera'
  uses-implied-feature-sdk-23: name='android.hardware.camera' reason='...'

Bug:24939655
Change-Id: Ifb374696ed4760b0ba2f1cc3516f3bf08e6cb6a3

8 years agoFixed a bug where the group overflow was invisible
Selim Cinek [Thu, 10 Dec 2015 20:56:13 +0000 (12:56 -0800)]
Fixed a bug where the group overflow was invisible

Change-Id: I6e43decc9d68dbf869245ee99b80f4d5c9ae4456

8 years agoMerge "Merge commit '1db19fc70e24bc5e3c6d77f2b9a5374c372e46cd' into manual_merge_1db1...
Matthew Williams [Thu, 10 Dec 2015 21:28:02 +0000 (21:28 +0000)]
Merge "Merge commit '1db19fc70e24bc5e3c6d77f2b9a5374c372e46cd' into manual_merge_1db19fc70e"

8 years agoMerge "Added test annotation."
Felipe Leme [Thu, 10 Dec 2015 20:49:53 +0000 (20:49 +0000)]
Merge "Added test annotation."

8 years agoMerge "Revert "Fixed a bug where the panel could be too small in certain cases""
Selim Cinek [Thu, 10 Dec 2015 20:45:52 +0000 (20:45 +0000)]
Merge "Revert "Fixed a bug where the panel could be too small in certain cases""

8 years agoMerge "Add property animations to new reorderer/renderer"
Chris Craik [Thu, 10 Dec 2015 20:43:56 +0000 (20:43 +0000)]
Merge "Add property animations to new reorderer/renderer"

8 years agoAdded test annotation.
Felipe Leme [Thu, 10 Dec 2015 20:43:31 +0000 (12:43 -0800)]
Added test annotation.

BUG: 25752530
Change-Id: Ia84233371481be89b1c9c852dfbb990020f0e6c0

8 years agoRevert "Fixed a bug where the panel could be too small in certain cases"
Selim Cinek [Thu, 10 Dec 2015 20:39:16 +0000 (20:39 +0000)]
Revert "Fixed a bug where the panel could be too small in certain cases"

This reverts commit c349c3d43bd59ff22a638bded955594bd765fc26.

Change-Id: I76a41db987027128294b4e398af9564a8e2aaa05

8 years agoMerge commit '1db19fc70e24bc5e3c6d77f2b9a5374c372e46cd' into manual_merge_1db19fc70e
Matthew Williams [Thu, 10 Dec 2015 20:29:02 +0000 (20:29 +0000)]
Merge commit '1db19fc70e24bc5e3c6d77f2b9a5374c372e46cd' into manual_merge_1db19fc70e

Change-Id: I8f997804d17ac7635b0dd4aa9cad79334c19eb61

8 years agoMerge "Return long long from get_zram_mem_used()"
Greg Hackmann [Thu, 10 Dec 2015 20:23:22 +0000 (20:23 +0000)]
Merge "Return long long from get_zram_mem_used()"

8 years agoMerge "Add new target SDK filtering feature to BroadcastOptions."
Dianne Hackborn [Thu, 10 Dec 2015 20:13:29 +0000 (20:13 +0000)]
Merge "Add new target SDK filtering feature to BroadcastOptions."

8 years agoAdd new target SDK filtering feature to BroadcastOptions.
Dianne Hackborn [Thu, 10 Dec 2015 01:22:26 +0000 (17:22 -0800)]
Add new target SDK filtering feature to BroadcastOptions.

You can now control the range of target SDKs that receivers
will be need to have in order to receive your broadcast.

Use this for CONNECTIVITY_ACTION to not allow N+ applications
to receive these broadcasts through their manifest.

Also tweak the broadcast debug output code to now include the
disposition of each receiver in the list.  This is becoming
important as skipping receivers is becoming a more common
thing to have happen.

Change-Id: I251daf68575c07cbb447536286ab4e68b7015148

8 years agoMerge "Add quick settings permission to system ui"
Mindy DelliCarpini [Thu, 10 Dec 2015 19:26:33 +0000 (19:26 +0000)]
Merge "Add quick settings permission to system ui"

8 years agoAdd quick settings permission to system ui
Mindy Pereira [Thu, 10 Dec 2015 18:59:06 +0000 (10:59 -0800)]
Add quick settings permission to system ui

Makes it possible to use the new quick settings api from:
I82b6bebb0b21a5c9eb926cb1a761cac340a293df

Change-Id: I053bb2b28284c4f49d67339b617ef72ede1f2843

8 years agoAdd property animations to new reorderer/renderer
Chris Craik [Thu, 10 Dec 2015 02:05:12 +0000 (18:05 -0800)]
Add property animations to new reorderer/renderer

bug:22480459

Change-Id: Id8091038004245a56deb48bf3625edfd08ab8681

8 years agoMerge "Use Android.mk to specify private symbol package name"
Adam Lesinski [Thu, 10 Dec 2015 19:01:22 +0000 (19:01 +0000)]
Merge "Use Android.mk to specify private symbol package name"

8 years agoFix activity not launching from recents after it was dismissed.
Filip Gruszczynski [Thu, 10 Dec 2015 18:41:39 +0000 (10:41 -0800)]
Fix activity not launching from recents after it was dismissed.

When activity was launched from recents and started at the same time, we
would first try resuming activities and then focus on the started
activity. That is wrong odering, as the previously focused activity will
be resumed (in this case recents). We need to first focus on the start
activity and then request resuming.

The CL also flag protects some logging that is being very frequently
printed from activity manager.

Bug: 25823213
Change-Id: I5311fb2bf316ce3d298b30fa90fb257978bacdca

8 years agoMerge changes I2363e66a,If17effb9
Ritesh Reddy [Thu, 10 Dec 2015 18:38:42 +0000 (18:38 +0000)]
Merge changes I2363e66a,If17effb9

* changes:
  Enabled NetworkPolicy backup and restore.
  Enabled SoftAP Configuration Backup

8 years agoMerge "ConcurrentModificationException in SyncManager"
Matthew Williams [Thu, 10 Dec 2015 18:16:19 +0000 (10:16 -0800)]
Merge "ConcurrentModificationException in SyncManager"
am: 7e4d92fbc7

* commit '7e4d92fbc7761d561c1bc61dc5cf55b69d3a54f3':
  ConcurrentModificationException in SyncManager

8 years agoMerge "ConcurrentModificationException in SyncManager"
Matthew Williams [Thu, 10 Dec 2015 18:04:44 +0000 (18:04 +0000)]
Merge "ConcurrentModificationException in SyncManager"

8 years agoMerge "Remove more extras during notification lightening."
Daniel Sandler [Thu, 10 Dec 2015 17:59:43 +0000 (17:59 +0000)]
Merge "Remove more extras during notification lightening."

8 years agoMerge "Use BCP-47 LanguageTag in IME/Spell-Checker."
Yohei Yukawa [Thu, 10 Dec 2015 17:45:18 +0000 (17:45 +0000)]
Merge "Use BCP-47 LanguageTag in IME/Spell-Checker."

8 years agoMerge "Fix selection highlights."
Ben Kwa [Thu, 10 Dec 2015 17:21:55 +0000 (17:21 +0000)]
Merge "Fix selection highlights."

8 years agoRemove more extras during notification lightening.
Dan Sandler [Tue, 8 Dec 2015 20:42:41 +0000 (15:42 -0500)]
Remove more extras during notification lightening.

Basically anything Parcelable needs to go since it might be
quite large. Note that this includes additional extras such as
those contributed by WearableExtender.

Bug: 26038546
Change-Id: I85a20173158717c866a36dacd6a04391c2a33376

8 years agoMerge "Protect android.intent.action.BUGREPORT_STARTED."
Felipe Leme [Thu, 10 Dec 2015 16:23:03 +0000 (16:23 +0000)]
Merge "Protect android.intent.action.BUGREPORT_STARTED."

8 years agoEnabled NetworkPolicy backup and restore.
Ritesh Reddy [Wed, 9 Dec 2015 14:01:18 +0000 (14:01 +0000)]
Enabled NetworkPolicy backup and restore.

Backing up NetworkPolicy through NetworkPolicyManager API

Bug: 17857156
Change-Id: I2363e66a1b27f50b2454b4550a241a3d84bf4b7c

8 years agoFix default QS tiles
Jason Monk [Thu, 10 Dec 2015 16:10:23 +0000 (11:10 -0500)]
Fix default QS tiles

Also add emergency only to header.

Bug: 26124044
Change-Id: If39fa2cca052b711516bd5a92a91f541ad00e62a

8 years agoFix canceling renew alarms.
Lorenzo Colitti [Wed, 9 Dec 2015 13:14:28 +0000 (22:14 +0900)]
Fix canceling renew alarms.

1. Entering DhcpBoundState cancels the renew alarm, but at that
   point the renew alarm is guaranteed not to have been scheduled.
   This is harmless, but results in an "unknown listener" message
   in the AlarmManager logs.
2. We don't cancel the renew alarm when exiting DhcpBoundState.
   This is also harmless, because that alarm does nothing except
   in DhcpBoundState, and we cancel it whenever we enter
   DhcpBoundState. But canceling it on exit is more correct.

Change-Id: I60dfcf00f243253b81b8906540e0a6218a7a489c

8 years agoMerge "TextView test: floating toolbar + drag handle interaction."
Keisuke Kuroyanagi [Thu, 10 Dec 2015 07:20:20 +0000 (07:20 +0000)]
Merge "TextView test: floating toolbar + drag handle interaction."

8 years agoMerge "TextView test: insertion handle movement tests."
Keisuke Kuroyanagi [Thu, 10 Dec 2015 07:18:55 +0000 (07:18 +0000)]
Merge "TextView test: insertion handle movement tests."

8 years agoMerge "Fix selection expansion detection logic."
Keisuke Kuroyanagi [Thu, 10 Dec 2015 07:18:21 +0000 (07:18 +0000)]
Merge "Fix selection expansion detection logic."

8 years agoMove double tap/triple click detection to Editor.
Keisuke Kuroyanagi [Thu, 5 Nov 2015 10:10:07 +0000 (19:10 +0900)]
Move double tap/triple click detection to Editor.

The logic was in TextView, but it's only for Editor.
Move it to Editor and have constants for the state.

Bug: 19544351
Change-Id: I391f66753aa5cbb26fbefcba5b4e7e3d917454e2

8 years agoMerge "TextView tests: Add mouse triple click tests."
Keisuke Kuroyanagi [Thu, 10 Dec 2015 06:01:33 +0000 (06:01 +0000)]
Merge "TextView tests: Add mouse triple click tests."

8 years agoTriple click to start paragraph based selection.
Keisuke Kuroyanagi [Thu, 5 Nov 2015 09:51:00 +0000 (18:51 +0900)]
Triple click to start paragraph based selection.

- Detect triple click in TextView#onTouchEvent.
- Select paragraph on triple click.
- Extend drag accelerator to support paragraph based
selection.

Bug: 19544351
Change-Id: I0a6752a0642a2c569b69a1fc2c0f49169a72844a

8 years agoRemove unneeded method HandleView#showAtLocation.
Keisuke Kuroyanagi [Thu, 5 Nov 2015 08:55:13 +0000 (17:55 +0900)]
Remove unneeded method HandleView#showAtLocation.

Now, the handles will be shown at the proper positions in
Editor#startSelectionActionMode. No need to call
HandleView#showAtLocation.

Change-Id: I5a7fb7bc4419a49234584bd06db5acc3d23168b8

8 years agoMerge "TextView tests: tests for improved mouse text selection."
Keisuke Kuroyanagi [Thu, 10 Dec 2015 05:14:11 +0000 (05:14 +0000)]
Merge "TextView tests: tests for improved mouse text selection."

8 years agoMerge "Move mouse selection handling logic to Editor."
Keisuke Kuroyanagi [Thu, 10 Dec 2015 05:14:11 +0000 (05:14 +0000)]
Merge "Move mouse selection handling logic to Editor."

8 years agoMove mouse selection handling logic to Editor.
Keisuke Kuroyanagi [Sat, 5 Dec 2015 00:56:38 +0000 (16:56 -0800)]
Move mouse selection handling logic to Editor.

- Remove mouse selection related logic from
ArrowKeyMovementMethod and Touch.
- Extend drag accelerator to support character based
selection by dragging and use it for mouse drag selection.
- Enable word based drag accelerator even if the clicked
position is not on a word.
- Disable y-coordinate adjustment for word based drag
accelerator when the user is using a mouse.

Bug: 19544351

Change-Id: I1b29a65be3d321ac472f8c5b70ab6fee4e895964

8 years agoMerge "MediaRouter: Add getDeviceType() to RouteInfo"
Insun Kang [Thu, 10 Dec 2015 02:57:29 +0000 (02:57 +0000)]
Merge "MediaRouter: Add getDeviceType() to RouteInfo"

8 years agoMerge "Avoid caller NPE if callback null in AppOpsService"
Svetoslav Ganov [Thu, 10 Dec 2015 02:26:33 +0000 (02:26 +0000)]
Merge "Avoid caller NPE if callback null in AppOpsService"

8 years agoAvoid caller NPE if callback null in AppOpsService
Svetoslav Ganov [Thu, 10 Dec 2015 02:25:13 +0000 (18:25 -0800)]
Avoid caller NPE if callback null in AppOpsService

bug:25863432

Change-Id: Ib0386ed4c1637ff8b084f32592ba316b65498005

8 years agoMerge "Improved test case by checking for dangling service."
Felipe Leme [Thu, 10 Dec 2015 02:03:06 +0000 (02:03 +0000)]
Merge "Improved test case by checking for dangling service."

8 years agoRefactored what happens when a BUGREPORT_FINISHED is received.
Felipe Leme [Wed, 9 Dec 2015 21:03:09 +0000 (13:03 -0800)]
Refactored what happens when a BUGREPORT_FINISHED is received.

Previously on 24: when a BUGREPORT_FINISHED was received,
BugreportProgressService would remove the watched BugreportInfo from its
map and if there was no info left, it would stop self and send the
SEND_MULTIPLE_ACTION intent.

Soon we're going to allow the user to enter more details (like a title
and description) for the bugreport, but if the service is stopped while
the user is still entering data, that window will be killed.

Hence, although this refactoring doesn't change the current logic, it
paves the way for such new feature.

BUG: 25794470

Change-Id: Ic5283ddc3e07d88ba2a9a925f9534426857e7606

8 years agoMerge "Remaining APIs for freeform window caption."
Filip Gruszczynski [Thu, 10 Dec 2015 01:57:10 +0000 (01:57 +0000)]
Merge "Remaining APIs for freeform window caption."

8 years agoMerge "Allow direct-callback alarms for non-wakeup alarms"
Chris Tate [Thu, 10 Dec 2015 01:18:14 +0000 (01:18 +0000)]
Merge "Allow direct-callback alarms for non-wakeup alarms"

8 years agoAllow direct-callback alarms for non-wakeup alarms
Christopher Tate [Thu, 10 Dec 2015 01:12:37 +0000 (17:12 -0800)]
Allow direct-callback alarms for non-wakeup alarms

Turns out there are known use cases for it, in particular to avoid
interfering with doze/idle type optimizations.  In addition, it is
not reliably possible to aim for a specific *wall-clock* trigger time
when posting work to a Handler, since the time base used there is
uptime rather than elapsed.

Bug 26114467

Change-Id: I7cede733fc7e09704b63dfe3e98b00365bbdff35

8 years agoMerge changes from topic 'more_groups'
Selim Cinek [Thu, 10 Dec 2015 00:58:21 +0000 (00:58 +0000)]
Merge changes from topic 'more_groups'

* changes:
  Fixed a bug where the heads up had the wrong size
  Adapted the appear animation for notification children
  Added darkmode for notification groups
  And suddenly notification children appeared

8 years agoPrevent DivideByZero error in BatteryStatsImpl
Adam Lesinski [Tue, 8 Dec 2015 20:06:55 +0000 (12:06 -0800)]
Prevent DivideByZero error in BatteryStatsImpl

It was assumed that when a UID had either rx or tx bytes/packets that it would
have the other as well.

Bug:25706750
Change-Id: Iefac59a6bd02876aed9a0bac218d187b81807a95

8 years agoReturn long long from get_zram_mem_used()
Greg Hackmann [Thu, 10 Dec 2015 00:36:08 +0000 (16:36 -0800)]
Return long long from get_zram_mem_used()

Commit 187a6aeb112ecbf85387a21ea75cf6beb3f9fc76 replaced atoll() with
fscanf("%ld").  Though unlikely, there could theoretically be 32-bit
devices with >2GB zram where the type difference matters.

Bug: 25951511

Change-Id: I902e27a214038fea1396185ef9a521316b0009f9
Signed-off-by: Greg Hackmann <ghackmann@google.com>
8 years agoMerge "Allow white-listed apps to change VIBRATE_WHEN_RINGING"
Svetoslav Ganov [Thu, 10 Dec 2015 00:35:09 +0000 (00:35 +0000)]
Merge "Allow white-listed apps to change VIBRATE_WHEN_RINGING"

8 years agoAllow white-listed apps to change VIBRATE_WHEN_RINGING
Svetoslav Ganov [Thu, 10 Dec 2015 00:29:22 +0000 (16:29 -0800)]
Allow white-listed apps to change VIBRATE_WHEN_RINGING

We don't allows apps white-listed to write to system
settings to change settings that aren't a part of the
public APIs. Now that we made VIBRATE_WHEN_RINGING it
should be moved from the list of private settings to
the public list which apps can modify.

bug:25941020

Change-Id: Ice91f782aeca4785fa0aed300b22d9ecdbb51bd3

8 years agoFixed a bug where the heads up had the wrong size
Selim Cinek [Wed, 9 Dec 2015 18:18:02 +0000 (10:18 -0800)]
Fixed a bug where the heads up had the wrong size

Change-Id: I05bc0e68bf4b9f786b9f0cb4466bba002a0fc4d4

8 years agoAdapted the appear animation for notification children
Selim Cinek [Wed, 9 Dec 2015 05:21:17 +0000 (21:21 -0800)]
Adapted the appear animation for notification children

Previously the delays where inverted leading to a weird
staggering effect.

Change-Id: I6e212fcf1651cf0e5fa15934a91bc6b648abcfad

8 years agoAdded darkmode for notification groups
Selim Cinek [Wed, 9 Dec 2015 03:19:48 +0000 (19:19 -0800)]
Added darkmode for notification groups

Somewhere in the dark a dim shimmer of light appeared

Change-Id: I9de970d4f5b8bb3c3d99f34af7f411f62ff2e094

8 years agoMerge "Add bitmapmesh, rect, and patch rendering"
Chris Craik [Thu, 10 Dec 2015 00:11:50 +0000 (00:11 +0000)]
Merge "Add bitmapmesh, rect, and patch rendering"

8 years agoMerge "Prefer new zram ABI"
Greg Hackmann [Thu, 10 Dec 2015 00:09:51 +0000 (00:09 +0000)]
Merge "Prefer new zram ABI"

8 years agoAdd bitmapmesh, rect, and patch rendering
Chris Craik [Wed, 9 Dec 2015 01:21:58 +0000 (17:21 -0800)]
Add bitmapmesh, rect, and patch rendering

bug:22480459

Change-Id: Id9e9146997dd018b3e4e785c2bc13689e3cf7c3c

8 years agoUse Android.mk to specify private symbol package name
Adam Lesinski [Mon, 7 Dec 2015 23:00:25 +0000 (15:00 -0800)]
Use Android.mk to specify private symbol package name

Change-Id: I290cb5a16173af9e8d1b16203ed8e8ddaa35045f

8 years agoMerge "Fix issue #26102692: Unable to create secondary user..."
Dianne Hackborn [Thu, 10 Dec 2015 00:00:10 +0000 (00:00 +0000)]
Merge "Fix issue #26102692: Unable to create secondary user..."

8 years agoMerge "Enable swipe-from-navbar gesture by default"
Jorim Jaggi [Wed, 9 Dec 2015 23:36:43 +0000 (23:36 +0000)]
Merge "Enable swipe-from-navbar gesture by default"

8 years agoMerge "make RingBuffer const viable"
Andres Morales [Wed, 9 Dec 2015 23:25:03 +0000 (23:25 +0000)]
Merge "make RingBuffer const viable"

8 years agoEnable swipe-from-navbar gesture by default
Jorim Jaggi [Wed, 9 Dec 2015 23:22:06 +0000 (15:22 -0800)]
Enable swipe-from-navbar gesture by default

Change-Id: Ic38a517c3c53838e3bdd2173a9d245f312136ad4

8 years agoImprove logging in BluetoothHeadsetClientCall. am: 3c67873f0a am: 180dd72a9b am:...
Bryce Lee [Wed, 9 Dec 2015 23:18:52 +0000 (23:18 +0000)]
Improve logging in BluetoothHeadsetClientCall. am: 3c67873f0a am: 180dd72a9b am: a83d518689
am: 0a8c81a204

* commit '0a8c81a2046753f08c036ec68a15778e0c0dade4':
  Improve logging in BluetoothHeadsetClientCall.

8 years agoMerge "Replace hard-coded errno values with OsConstants" am: cb299b858f
Eino-Ville Talvala [Wed, 9 Dec 2015 23:17:31 +0000 (23:17 +0000)]
Merge "Replace hard-coded errno values with OsConstants" am: cb299b858f
am: 6fa9cc1bd3

* commit '6fa9cc1bd3cdb0489452396f708d57e22f742bf7':
  Replace hard-coded errno values with OsConstants

8 years agoMerge "Use a custom TrustedCertificateStore" am: 95f15495a2
Chad Brubaker [Wed, 9 Dec 2015 23:15:42 +0000 (23:15 +0000)]
Merge "Use a custom TrustedCertificateStore" am: 95f15495a2
am: 5a12cf5cb7

* commit '5a12cf5cb703dd531ca8207e8db87b019eb6d477':
  Use a custom TrustedCertificateStore

8 years agoMerge "Expose findByIssuerAndSignature" am: b27d820920
Chad Brubaker [Wed, 9 Dec 2015 23:13:41 +0000 (23:13 +0000)]
Merge "Expose findByIssuerAndSignature" am: b27d820920
am: f1870eee34

* commit 'f1870eee348179ccfc796956fd366d77f77ab850':
  Expose findByIssuerAndSignature

8 years agoImprove logging in BluetoothHeadsetClientCall. am: 3c67873f0a am: 180dd72a9b
Bryce Lee [Wed, 9 Dec 2015 23:07:23 +0000 (15:07 -0800)]
Improve logging in BluetoothHeadsetClientCall. am: 3c67873f0a am: 180dd72a9b
am: a83d518689

* commit 'a83d5186898c49888f9b3c1d2ef2333d297d8449':
  Improve logging in BluetoothHeadsetClientCall.

8 years agoImprove logging in BluetoothHeadsetClientCall. am: 3c67873f0a
Bryce Lee [Wed, 9 Dec 2015 23:01:13 +0000 (15:01 -0800)]
Improve logging in BluetoothHeadsetClientCall. am: 3c67873f0a
am: 180dd72a9b

* commit '180dd72a9b36ca6f74e5ad255347d815a0c8729a':
  Improve logging in BluetoothHeadsetClientCall.

8 years agoImprove logging in BluetoothHeadsetClientCall.
Bryce Lee [Wed, 9 Dec 2015 22:54:19 +0000 (22:54 +0000)]
Improve logging in BluetoothHeadsetClientCall.
am: 3c67873f0a

* commit '3c67873f0a20a958f6cf1ccccb472fa050bf55b7':
  Improve logging in BluetoothHeadsetClientCall.

8 years agoMerge "Slight API renaming, better behavior."
Jeff Sharkey [Wed, 9 Dec 2015 22:51:43 +0000 (22:51 +0000)]
Merge "Slight API renaming, better behavior."

8 years agoFix selection highlights.
Ben Kwa [Wed, 9 Dec 2015 22:48:59 +0000 (14:48 -0800)]
Fix selection highlights.

Setting an item animator means the background color of the items needs
to be manually managed by the app code as well, otherwise recycled view
end up having the wrong background color.

BUG=26112851

Change-Id: If08f54eedf8da23abd4424159efa72f2f33def39

8 years agomake RingBuffer const viable
Andres Morales [Wed, 9 Dec 2015 22:40:33 +0000 (14:40 -0800)]
make RingBuffer const viable

- mark size() const
- expose const operator[]

Change-Id: Ie94ff798caed6b0d9a039e359610204e93c073ac

8 years agoSlight API renaming, better behavior.
Jeff Sharkey [Wed, 9 Dec 2015 21:15:27 +0000 (14:15 -0700)]
Slight API renaming, better behavior.

Rename APIs to reflect that they're storage-related.  Also move
credential-storage APIs to be system API.

Return a null Context when device-encrypted storage isn't
supported.  This is the easiest way to keep legacy apps working when
upgrading from M to N.

Reduce strictness of path checking so we don't crash when working
with special packages like "android".

Bug: 2235853926104027
Change-Id: I38c24fc003488186210a6ae3b64270f86e1efe56

8 years agoFix issue #26102692: Unable to create secondary user...
Dianne Hackborn [Wed, 9 Dec 2015 22:15:34 +0000 (14:15 -0800)]
Fix issue #26102692: Unable to create secondary user...

...device restarts while adding account or password in SUW

Change-Id: Ibcacb034720133359509b1be1b289abe68be44b4

8 years agoMerge "Add shape animation test case"
Chris Craik [Wed, 9 Dec 2015 22:13:23 +0000 (22:13 +0000)]
Merge "Add shape animation test case"

8 years agoMerge "Add a mechanism for broadcasts to control background dispatching."
Dianne Hackborn [Wed, 9 Dec 2015 21:50:32 +0000 (21:50 +0000)]
Merge "Add a mechanism for broadcasts to control background dispatching."

8 years agoRemaining APIs for freeform window caption.
Filip Gruszczynski [Wed, 9 Dec 2015 16:42:41 +0000 (08:42 -0800)]
Remaining APIs for freeform window caption.

The APIs are:
* setting a listener for the area of the caption where we display
control buttons; this is intended for apps that overlay the caption on
their content, so they don't display the content in that area and clash
with the buttons;
* specifying the color pallete of controls in the caption; by default we
try to infer the best color from the theme (dark buttons for light theme
and vice versa), but in case we get it wrong, we allow the developer to
overwrite it;
* specifying the caption background during the resizing; by default we
try to infer a good color from the theme, but in case we do it wrong, we
allow the developer to overwrite this.

The CL also includes merging of layouts decor_caption_dark and
decor_caption_light into a single one. Not only it reduces code
duplication, but also is necessary for allowing adjustment of the
controls color pallete after the layout was created.

Bug: 25486369
Bug: 25818398

Change-Id: Ib87fe849b07df341893ec7873982bf7ab932f6d5

8 years agoPrefer new zram ABI
Greg Hackmann [Wed, 9 Dec 2015 17:36:12 +0000 (09:36 -0800)]
Prefer new zram ABI

Starting with Linux 4.1, reading from /dev/block/zram*/mem_used_total
logs this warning:

"Attribute mem_used_total (and others) will be removed. See zram
documentation."

mem_used_total and several related counters are now consolidated under a
new node mm_stat.  Prefer that when it's available.

Bug: 25951511

Change-Id: I0862c3cd1af5d003158aca6be42db25e4bebe7c7
Signed-off-by: Greg Hackmann <ghackmann@google.com>
8 years agoAdd shape animation test case
Chris Craik [Wed, 9 Dec 2015 19:17:28 +0000 (11:17 -0800)]
Add shape animation test case

Change-Id: Ie4c99218c3ae7f08250e2a77f11263d9f68ec861