OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Don't throw RemoteException from new NLS APIs" into nyc-dev
TreeHugger Robot [Mon, 23 May 2016 18:54:17 +0000 (18:54 +0000)]
Merge "Don't throw RemoteException from new NLS APIs" into nyc-dev

8 years agoMerge "Fix Certificate authority installed notification is gone when turning off...
Victor Chang [Mon, 23 May 2016 18:42:08 +0000 (18:42 +0000)]
Merge "Fix Certificate authority installed notification is gone when turning off and on the work mode." into nyc-dev

8 years agoMerge "Correct height of add printer list separator" into nyc-dev
Philip P. Moltmann [Mon, 23 May 2016 18:27:13 +0000 (18:27 +0000)]
Merge "Correct height of add printer list separator" into nyc-dev

8 years agoRemoving extra haptic feedback.
Winson [Sat, 21 May 2016 17:51:19 +0000 (10:51 -0700)]
Removing extra haptic feedback.

- ag/923796 changed the logic to always return true, so these extra
  calls are no longer needed.

Bug: 28867314
Change-Id: I07a4f6ac772a1444bba1950b2f27aa4be58a8419

8 years agoMerge "Fixed flicker when docking task from recents." into nyc-dev
TreeHugger Robot [Mon, 23 May 2016 18:01:12 +0000 (18:01 +0000)]
Merge "Fixed flicker when docking task from recents." into nyc-dev

8 years agoMerge "Fixing isOpRestricted in AppOpsService" into nyc-dev
TreeHugger Robot [Mon, 23 May 2016 17:57:49 +0000 (17:57 +0000)]
Merge "Fixing isOpRestricted in AppOpsService" into nyc-dev

8 years agoMerge "Never fetch notification badges for USER_SYSTEM" into nyc-dev
Chris Wren [Mon, 23 May 2016 17:44:14 +0000 (17:44 +0000)]
Merge "Never fetch notification badges for USER_SYSTEM" into nyc-dev

8 years agoMerge "Remove PROPERTY_WORK_CALL" into nyc-dev
Tony Mak [Mon, 23 May 2016 17:17:26 +0000 (17:17 +0000)]
Merge "Remove PROPERTY_WORK_CALL" into nyc-dev

8 years agoCatching all exceptions when docking.
Winson [Sat, 21 May 2016 17:39:53 +0000 (10:39 -0700)]
Catching all exceptions when docking.

- Catch all exceptions thrown when docking an activity (similar to when
  we start an activity) to allow us to gracefully handle the failure and
  animate the task back into the stack.

Bug: 28867188
Change-Id: I3f80d261343c0161c5cbfd08a05a1fc6157f653e

8 years agoCorrect height of add printer list separator
Philip P. Moltmann [Mon, 23 May 2016 16:43:42 +0000 (09:43 -0700)]
Correct height of add printer list separator

Do not use listPreferredItemHeightSmall a height for list separator.

Fixes: 28907033
Change-Id: Ibe9744f28e7bd17fb5a298fa3cff0e3d403de10f

8 years agoFix Certificate authority installed notification is gone when turning off and on...
Victor Chang [Mon, 23 May 2016 16:37:01 +0000 (17:37 +0100)]
Fix Certificate authority installed notification is gone when turning off and on the work mode.

cause: Work mode is turned on before entering USER_STOPPED state.
Thus, BOOT_COMPLETED broadcast is not sent, but the notification has been dismissed.

use USER_STARTED + USER_UNLOCKED because both are foreground.

Bug: 28864104
Change-Id: I4796b61586e194d8367b9e52a9c56f858cbcbe7d

8 years agoFixed flicker when docking task from recents.
Wale Ogunwale [Mon, 23 May 2016 16:10:24 +0000 (09:10 -0700)]
Fixed flicker when docking task from recents.

Regression introduced by ag/1044640 where we don't want recents to the
visible if it's stack isn't fullscreen or focused. However, it is
possible for switching the home stack to not-fullscreen to prolonged
while transitioning to split-screen mode from recents. We now check
for if the docked stack exists which is a better indicator we are in
split-screen mode regardless of if the stask is fullscreen.

Bug: 28882948
Bug: 28246419
Change-Id: I54c02cc1486e7b5bf6a20dd0706c9bfe3f40a953

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
TreeHugger Robot [Mon, 23 May 2016 15:49:53 +0000 (15:49 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
TreeHugger Robot [Mon, 23 May 2016 15:48:14 +0000 (15:48 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
TreeHugger Robot [Mon, 23 May 2016 15:47:59 +0000 (15:47 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
TreeHugger Robot [Mon, 23 May 2016 15:35:52 +0000 (15:35 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 23 May 2016 13:21:44 +0000 (06:21 -0700)]
Import translations. DO NOT MERGE

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

8 years agoMerge "New api in LockSettingsService to get StrongAuth synchronously" into nyc-dev
Victor Chang [Mon, 23 May 2016 11:51:54 +0000 (11:51 +0000)]
Merge "New api in LockSettingsService to get StrongAuth synchronously" into nyc-dev

8 years agoMerge "Only actually log the DNS events we have." into nyc-dev
TreeHugger Robot [Mon, 23 May 2016 09:01:44 +0000 (09:01 +0000)]
Merge "Only actually log the DNS events we have." into nyc-dev

8 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 23 May 2016 08:53:03 +0000 (01:53 -0700)]
Import translations. DO NOT MERGE

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

8 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 23 May 2016 08:42:41 +0000 (01:42 -0700)]
Import translations. DO NOT MERGE

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

8 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 23 May 2016 08:20:28 +0000 (01:20 -0700)]
Import translations. DO NOT MERGE

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

8 years agoOnly actually log the DNS events we have.
Lorenzo Colitti [Mon, 23 May 2016 05:10:19 +0000 (14:10 +0900)]
Only actually log the DNS events we have.

DnsEventListenerService#logAndClear was always logging 100 DNS
events regardless of how many were actually logged. The rest of
the events were either all zero or previously-recorded events.

Bug: 28204408
Change-Id: I9da3b07a2e7b7512397a3eb6568a877815eb3312

8 years agoMerge "Use an attribute for the network security config resource" into nyc-dev
TreeHugger Robot [Mon, 23 May 2016 02:23:25 +0000 (02:23 +0000)]
Merge "Use an attribute for the network security config resource" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Baligh Uddin [Sun, 22 May 2016 23:22:28 +0000 (23:22 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Baligh Uddin [Sun, 22 May 2016 23:22:16 +0000 (23:22 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Baligh Uddin [Sun, 22 May 2016 23:21:47 +0000 (23:21 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Baligh Uddin [Sun, 22 May 2016 23:21:43 +0000 (23:21 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Baligh Uddin [Sun, 22 May 2016 23:21:38 +0000 (23:21 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Baligh Uddin [Sun, 22 May 2016 23:21:36 +0000 (23:21 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Baligh Uddin [Sun, 22 May 2016 23:21:33 +0000 (23:21 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Baligh Uddin [Sun, 22 May 2016 23:21:31 +0000 (23:21 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Baligh Uddin [Sun, 22 May 2016 23:21:29 +0000 (23:21 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Baligh Uddin [Sun, 22 May 2016 23:12:31 +0000 (23:12 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sun, 22 May 2016 02:12:53 +0000 (19:12 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 28857042
Change-Id: If505e78ba6d78210fb4eba0ac8a57df26e860d03

8 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sun, 22 May 2016 02:10:02 +0000 (19:10 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 28857042
Change-Id: Ic64c474ffea820c8d329796bc6f84bb7b2704c2d

8 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sun, 22 May 2016 01:43:19 +0000 (18:43 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 28857042
Change-Id: Ia00d58694c7f42c901f10a3bd93bb6b3b2725400

8 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sun, 22 May 2016 01:40:26 +0000 (18:40 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 28857042
Change-Id: I6d6dc4604209ca11ed6b05c582ee8c30705cd5b3

8 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sun, 22 May 2016 01:32:50 +0000 (18:32 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 28857042
Change-Id: I65276399d18300cfa46f8912ae1269b1655c7a2a

8 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sun, 22 May 2016 01:24:43 +0000 (18:24 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 28857042
Change-Id: I2e883f6dd637c5cbd3bf17bb6f73946f8793fd44

8 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sun, 22 May 2016 01:16:25 +0000 (18:16 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 28857042
Change-Id: I99304991a57f64a31b07ca2ca85cf47e348d41c9

8 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sun, 22 May 2016 01:13:37 +0000 (18:13 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 28857042
Change-Id: I52cdbac273fbf9e3d30d67e82b539e469aed3b31

8 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sun, 22 May 2016 01:10:37 +0000 (18:10 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 28857042
Change-Id: I57faba063381c76c11ea7530bef7ca455d9da4d5

8 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sat, 21 May 2016 19:46:09 +0000 (12:46 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 28857042
Change-Id: I3e66f964402487321dd1923656d488b514bc68ba

8 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sat, 21 May 2016 19:39:28 +0000 (12:39 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 28857042
Change-Id: If486d4168089e018bea1f2acbdbccb2846ee9250

8 years agoMerge "Docs: Fixed a typo" into mnc-io-docs am: 31707f0185
Hemal Patel [Sat, 21 May 2016 01:02:58 +0000 (01:02 +0000)]
Merge "Docs: Fixed a typo" into mnc-io-docs am: 31707f0185
am: 7f21500b1c

* commit '7f21500b1c8fbd38fadb0bf10504b2c5fba9d7fa':
  Docs: Fixed a typo

Change-Id: I115b647df4e3489e6fd47222b621f8b9c7cdfdf3

8 years agoMerge "Docs: Fixed a typo" into mnc-io-docs
Hemal Patel [Sat, 21 May 2016 00:58:14 +0000 (00:58 +0000)]
Merge "Docs: Fixed a typo" into mnc-io-docs
am: 31707f0185

* commit '31707f01851ab18ab7b60d8cd8a825b07e83e840':
  Docs: Fixed a typo

Change-Id: Icdd5d354cedea96a70d74c0e63604e1c69eae370

8 years agoMerge "Docs: Fixed a typo" into mnc-io-docs
Hemal Patel [Sat, 21 May 2016 00:49:46 +0000 (00:49 +0000)]
Merge "Docs: Fixed a typo" into mnc-io-docs

8 years agoMerge "Dispose HideNavInputEventReceiver on PhoneWindowManager's handler" into nyc-dev
Chong Zhang [Sat, 21 May 2016 00:49:36 +0000 (00:49 +0000)]
Merge "Dispose HideNavInputEventReceiver on PhoneWindowManager's handler" into nyc-dev

8 years agoDispose HideNavInputEventReceiver on PhoneWindowManager's handler
Chong Zhang [Sat, 21 May 2016 00:03:08 +0000 (17:03 -0700)]
Dispose HideNavInputEventReceiver on PhoneWindowManager's handler

Disposal of input event receiver needs to happen on the handler
specified for receiving the inputs, otherwise nativeFinishInputEvent
could crash due to race with native dispose.

Instead of disposing mInputConsumer in beginLayoutLw(), post to
PhoneWindowManager's handler to dispose, and skip any input events
received after mInputConsumer is set to null by beginLayoutLw().

bug: 26927018
Change-Id: I094eb4472ea68f2c8bd6a428161d7edb11dc8900

8 years agoMerge "Performance improvements in AssetManager" into nyc-dev
Adam Lesinski [Sat, 21 May 2016 00:07:00 +0000 (00:07 +0000)]
Merge "Performance improvements in AssetManager" into nyc-dev

8 years agoFixing isOpRestricted in AppOpsService
Suprabh Shukla [Fri, 20 May 2016 23:37:26 +0000 (16:37 -0700)]
Fixing isOpRestricted in AppOpsService

AppOpsService was returning false for a restricted operation if the
operation did not allow the system to bypass the restrictions on it.

Bug: 28860721
Change-Id: I487e23f1d3bf6ea602caee439fb500c058e7c8ff

8 years agoMerge "Correctly clear resizing drawable when nulling background." into nyc-dev
TreeHugger Robot [Fri, 20 May 2016 22:56:46 +0000 (22:56 +0000)]
Merge "Correctly clear resizing drawable when nulling background." into nyc-dev

8 years agoMerge "Add check for Vibration RingerMode in VibratorService" into nyc-dev
Brad Ebinger [Fri, 20 May 2016 22:53:26 +0000 (22:53 +0000)]
Merge "Add check for Vibration RingerMode in VibratorService" into nyc-dev

8 years agoMerge "Fix cut off actions in messaging style" into nyc-dev
Adrian Roos [Fri, 20 May 2016 22:08:35 +0000 (22:08 +0000)]
Merge "Fix cut off actions in messaging style" into nyc-dev

8 years agoPerformance improvements in AssetManager
Adam Lesinski [Fri, 20 May 2016 01:25:28 +0000 (18:25 -0700)]
Performance improvements in AssetManager

Change the implementation of getLocales() to iterate the set of
configurations using a templated method, instead of using the result
of getConfigurations().

Also remove the check for AndroidManifest.xml when adding an asset path.
This is unneccessary.

Bug:28625993
Change-Id: I16de5da598d0c371421d1dc8eee054dce9baf53a

8 years agoMerge "MediaBrowserService: Add more explanation on getBrowserRootHints()" into nyc-dev
Jae Seo [Fri, 20 May 2016 20:53:01 +0000 (20:53 +0000)]
Merge "MediaBrowserService: Add more explanation on getBrowserRootHints()" into nyc-dev

8 years agoAdd check for Vibration RingerMode in VibratorService
Brad Ebinger [Fri, 13 May 2016 01:05:17 +0000 (18:05 -0700)]
Add check for Vibration RingerMode in VibratorService

Add a check for whether or not the Phone is in the Vibrate RingerMode
when deciding whether or not to vibrate for an incoming call.

Bug: 28569078
Change-Id: Ib2e6243fd0b18c5426b5572c0806d67111a80a57

8 years agoRemove PROPERTY_WORK_CALL
Tony Mak [Fri, 20 May 2016 17:22:38 +0000 (18:22 +0100)]
Remove PROPERTY_WORK_CALL

Bug: 28842878
Change-Id: I7fb28ec3b121f4546ea60d6b170c2c6d98ffcb8c

8 years agoMerge "QS: Fix RTL animation" into nyc-dev
Jason Monk [Fri, 20 May 2016 19:42:39 +0000 (19:42 +0000)]
Merge "QS: Fix RTL animation" into nyc-dev

8 years agoMerge "Clear locales without changing layout direction." into nyc-dev
Roozbeh Pournader [Fri, 20 May 2016 19:42:30 +0000 (19:42 +0000)]
Merge "Clear locales without changing layout direction." into nyc-dev

8 years agoDon't throw RemoteException from new NLS APIs
Chris Wren [Fri, 20 May 2016 18:53:16 +0000 (14:53 -0400)]
Don't throw RemoteException from new NLS APIs

Bug: 28820058
Change-Id: If4a290ab7549aa999cee348bf0db85b70cb57553

8 years agoQS: Fix RTL animation
Jason Monk [Fri, 20 May 2016 18:44:16 +0000 (14:44 -0400)]
QS: Fix RTL animation

Change-Id: I9de6e0891fa98ec2212abe28fa942779aa224056
Fixes: 28674500

8 years agoMerge "Fix notifications for USB PD enabled devices" into nyc-dev
TreeHugger Robot [Fri, 20 May 2016 18:32:09 +0000 (18:32 +0000)]
Merge "Fix notifications for USB PD enabled devices" into nyc-dev

8 years agoNever fetch notification badges for USER_SYSTEM
Chris Wren [Thu, 12 May 2016 20:42:37 +0000 (16:42 -0400)]
Never fetch notification badges for USER_SYSTEM

This user never gets a badge, and secondary users will
see a security exception attempting to fetch it for
USER_ALL notifications, such as USB and battery state,
which are posted by USER_SYSTEM.

Bug: 28743335
Change-Id: I65aeb1cf2192811055f8cd94df0b7e292c5c1acf

8 years agoClear locales without changing layout direction.
Seigo Nonaka [Fri, 13 May 2016 06:11:37 +0000 (15:11 +0900)]
Clear locales without changing layout direction.

Calling Configuration.setLocales with emtpy LocaleList may change the
layout direction to LTR. To clear the locales in Configuration without
layout direction change, introduce hidden API to Configuration.

Bug: 28695661
Change-Id: I47c339dffb83099bd329ddb60237dab27b05f593

8 years agoMerge "setTransformationMethod should reset mTextDir" into nyc-dev
Siyamed Sinir [Fri, 20 May 2016 17:46:26 +0000 (17:46 +0000)]
Merge "setTransformationMethod should reset mTextDir" into nyc-dev

8 years agoMerge "Don't remove existing EAP configurations" into nyc-dev
Paul Stewart [Fri, 20 May 2016 17:39:43 +0000 (17:39 +0000)]
Merge "Don't remove existing EAP configurations" into nyc-dev

8 years agoMerge "Fix parsing of kernel wakelocks" into nyc-dev
Adam Lesinski [Fri, 20 May 2016 17:23:07 +0000 (17:23 +0000)]
Merge "Fix parsing of kernel wakelocks" into nyc-dev

8 years agoMerge "Put launch adjacent activity in a new task if the activity does exist" into...
TreeHugger Robot [Fri, 20 May 2016 17:15:58 +0000 (17:15 +0000)]
Merge "Put launch adjacent activity in a new task if the activity does exist" into nyc-dev

8 years agoMerge "Back up / restore the 'mono audio' setting" into nyc-dev
Chris Tate [Fri, 20 May 2016 17:05:37 +0000 (17:05 +0000)]
Merge "Back up / restore the 'mono audio' setting" into nyc-dev

8 years agoMerge "Nav bar: fix tablet density change issues" into nyc-dev
TreeHugger Robot [Fri, 20 May 2016 16:52:19 +0000 (16:52 +0000)]
Merge "Nav bar: fix tablet density change issues" into nyc-dev

8 years agoOnly broadcast screenshot error to the current user.
Winson [Thu, 19 May 2016 17:06:18 +0000 (10:06 -0700)]
Only broadcast screenshot error to the current user.

Bug: 28807226
Change-Id: I428ecc5572d7522580cdf38bded2fff9cf07abc2

8 years agoMerge "rate limit notification enqueues" into nyc-dev
TreeHugger Robot [Fri, 20 May 2016 16:04:48 +0000 (16:04 +0000)]
Merge "rate limit notification enqueues" into nyc-dev

8 years agoPut launch adjacent activity in a new task if the activity does exist
Wale Ogunwale [Fri, 20 May 2016 15:50:15 +0000 (08:50 -0700)]
Put launch adjacent activity in a new task if the activity does exist

For the launch adjacent case we only want to put the activity in
an existing task if the activity already exists in the history.

Bug: 28828326
Change-Id: I1a6fdd6779cb20f8c0d9b7d94635b21718f4ac1b

8 years agoRename PROPERTY_WORK_CALL to PROPERTY_ENTERPRISE_CALL based on API review
Tony Mak [Thu, 19 May 2016 12:40:38 +0000 (13:40 +0100)]
Rename PROPERTY_WORK_CALL to PROPERTY_ENTERPRISE_CALL based on API review

TODO: After updating all places that use the SDK, remove/hide the old API

Bug: 28842878

Change-Id: I131be644439080dd0507cd10d8bd6618246ee7ad

8 years agoDon't remove existing EAP configurations
Paul Stewart [Fri, 20 May 2016 15:14:30 +0000 (08:14 -0700)]
Don't remove existing EAP configurations

When merging backed-up configurations with the current supplicant
configuration, we read both configurations into a instance of
WifiNetworkSettings.  No EAP configurations should be restored as
per b/25725016, however existing EAP configurations that already
reside in wpa_supplicant.conf (presumably configured in SUW)
should not be removed in the process.

This CL adds a parameter to the "readNetworks" method to allow it
to select whether or not EAP configurations should be read in.  It
is used to allow the "restoreWifiSupplicant" method to copy in EAP
configurations from the existing wpa_supplicant.conf, but not out
of the backup data.

BUG: 28873992
Change-Id: I8b3e0c1a6629b3f1ca5055b1b2190e6b3ca4c033

8 years agoNav bar: fix tablet density change issues
Jason Monk [Fri, 20 May 2016 15:21:59 +0000 (11:21 -0400)]
Nav bar: fix tablet density change issues

 - Re-inflate the contents of the NavigationBarInflaterView
 - Call up to parent to notify the contents has been reinflated
 - Fix how default tunable is handled, so that the resource is
   reloaded on density change

Change-Id: If25f68d01eedd3319b0c270e1cf80ac382eea637
Fixes: 27227522

8 years agorate limit notification enqueues
Chris Wren [Tue, 17 May 2016 21:11:29 +0000 (17:11 -0400)]
rate limit notification enqueues

This is distinct from and in addition to the limit on the number of
distinct notifications. This includes many updates to a single
notification.

Bug: 28693065
Change-Id: I5ec0911716cace91d3ad85435a5c6123b290b3a2

8 years agoMerge "QS Edit: Better handling if drags" into nyc-dev
Jason Monk [Fri, 20 May 2016 13:42:56 +0000 (13:42 +0000)]
Merge "QS Edit: Better handling if drags" into nyc-dev

8 years agoMerge "Add support for ICU data pinning in the Zygote" into nyc-dev
Neil Fuller [Fri, 20 May 2016 12:53:46 +0000 (12:53 +0000)]
Merge "Add support for ICU data pinning in the Zygote" into nyc-dev

8 years agoMerge "Enable boost-locked-region-priority" into nyc-dev
Alan Leung [Fri, 20 May 2016 06:09:13 +0000 (06:09 +0000)]
Merge "Enable boost-locked-region-priority" into nyc-dev

8 years agosetTransformationMethod should reset mTextDir
Siyamed Sinir [Fri, 20 May 2016 01:26:09 +0000 (18:26 -0700)]
setTransformationMethod should reset mTextDir

When transformation method is set via API, text direction heuristics has
to be reset since for PasswordTransformationMethod it is set to LTR. Not
resetting it causes inconsistencies with the remaining of the TextView.

Bug: 28562779
Change-Id: I225e35e39bde60d4296852ff17b107d5b7b99f8a

8 years agoMerge "Hide VoicemailContract.setQuota()" into nyc-dev
Ta-wei Yen [Fri, 20 May 2016 01:00:29 +0000 (01:00 +0000)]
Merge "Hide VoicemailContract.setQuota()" into nyc-dev

8 years agoMerge "Rename visual voicemail sync intent value" into nyc-dev
Ta-wei Yen [Fri, 20 May 2016 01:00:02 +0000 (01:00 +0000)]
Merge "Rename visual voicemail sync intent value" into nyc-dev

8 years agoMerge "Docs: Fixed a wrong file name" into mnc-io-docs am: 06a9fbcdd6
Hemal Patel [Fri, 20 May 2016 00:25:49 +0000 (00:25 +0000)]
Merge "Docs: Fixed a wrong file name" into mnc-io-docs am: 06a9fbcdd6
am: a18a3d3211

* commit 'a18a3d32118872907e0979856f5906752360b058':
  Docs: Fixed a wrong file name

Change-Id: I93ac53610c9c1b0aad68e525eed3d8703bfde613

8 years agoUse an attribute for the network security config resource
Chad Brubaker [Fri, 13 May 2016 21:09:27 +0000 (14:09 -0700)]
Use an attribute for the network security config resource

Originally we went with the meta-data approach to make unbundling
easier, however with the amount of platform changes that the config
ended up relying on it would be better to focus on exposing it through
the platform.

Bug:28763009
Change-Id: Iaf80001b1980220cd2e1e05faf2dc86af41700e1

8 years agoFix parsing of kernel wakelocks
Adam Lesinski [Wed, 18 May 2016 01:31:02 +0000 (18:31 -0700)]
Fix parsing of kernel wakelocks

We handled stale wakelocks (wakelocks that disappear from /d/wakeup_sources)
differently in previous version of Android. They would be set stale, but still be
updated with their previous counts (they would never disappear).

The method setStale has been replaced with endSample(), which is semantically different.
Once a SamplingTimer has endSample() called, it expects any future calls to update() to
be a new sample, meaning the entire amount passed to update() is included in the kernel
wakelock's total. Since stale wakelocks were never removed from the list, this would
increase by large amounts when nothing had actually changed.

This was exacerbated by the fact that there was a bug where the last wakelock in
/d/wakeup_sources was never parsed, so if the order ever changed, this "stale" wakelock
would suddenly re-appear and the entire amount reported would be charged to the wakelock,
instead of just the difference since the last update.

All this was exposed when we added support to handle wakelocks that would disappear and
reappear with smaller values, meaning the kernel had pruned them from its accounting and
reset them.

Bug:28601080
Change-Id: Ic96027f7d580dac5e20aa73d67e5cedac4ccabeb

8 years agoMerge "Docs: Fixed a wrong file name" into mnc-io-docs
Hemal Patel [Fri, 20 May 2016 00:19:35 +0000 (00:19 +0000)]
Merge "Docs: Fixed a wrong file name" into mnc-io-docs
am: 06a9fbcdd6

* commit '06a9fbcdd68a3d48697e6e88c04fcdb6040673c5':
  Docs: Fixed a wrong file name

Change-Id: I7f672848dfc1f77a2559494c34de6d5cc70df130

8 years agoMerge "Docs: Fixed a wrong file name" into mnc-io-docs
Hemal Patel [Fri, 20 May 2016 00:15:08 +0000 (00:15 +0000)]
Merge "Docs: Fixed a wrong file name" into mnc-io-docs

8 years agoMerge "docs: Fix card descriptions in Android Monitor Overview page b/2885829" into...
Cheryl Potter [Fri, 20 May 2016 00:14:07 +0000 (00:14 +0000)]
Merge "docs: Fix card descriptions in Android Monitor Overview page b/2885829" into mnc-mr-docs am: d382293118 am: f2fa5cd702
am: 0793d19267

* commit '0793d1926729cdfd6cd023e89e45b21c63c1d91d':
  docs: Fix card descriptions in Android Monitor Overview page b/2885829

Change-Id: I183e31bdf55e6e691785430d65d4cf2934a2f7ef

8 years agoMerge "fix dashboards page. the src attributes were being modified by the devsite...
smain@google.com [Fri, 20 May 2016 00:14:02 +0000 (00:14 +0000)]
Merge "fix dashboards page. the src attributes were being modified by the devsite parser, so i renamed those attributes then rename them again at runtime. bug: 28801246" into mnc-mr-docs am: 486f792d44 am: 9ad92619dc
am: ccf143ea10

* commit 'ccf143ea106de35de35d4829ade55ba78b7a3fee':
  fix dashboards page. the src attributes were being modified by the devsite parser, so i renamed those attributes then rename them again at runtime. bug: 28801246

Change-Id: I42306e09cb173642840ee29130bb80e9da347a81

8 years agoMerge "docs: Fix card descriptions in Android Monitor Overview page b/2885829" into...
Cheryl Potter [Fri, 20 May 2016 00:11:13 +0000 (00:11 +0000)]
Merge "docs: Fix card descriptions in Android Monitor Overview page b/2885829" into mnc-mr-docs am: d382293118
am: f2fa5cd702

* commit 'f2fa5cd7022d450d4e0faa4c81db5207d1ec00d3':
  docs: Fix card descriptions in Android Monitor Overview page b/2885829

Change-Id: Iacbf1fca2c1d3189a39122e893ece5fcf033246a

8 years agoMerge "docs: Fix card descriptions in Android Monitor Overview page b/2885829" into...
Cheryl Potter [Fri, 20 May 2016 00:08:47 +0000 (00:08 +0000)]
Merge "docs: Fix card descriptions in Android Monitor Overview page b/2885829" into mnc-mr-docs
am: d382293118

* commit 'd382293118dad1337726986c1f2465d2ec25171b':
  docs: Fix card descriptions in Android Monitor Overview page b/2885829

Change-Id: Ieadb04df863e4f50db2b1b6168cc31f6501fa242

8 years agoMerge "fix dashboards page. the src attributes were being modified by the devsite...
Scott Main [Fri, 20 May 2016 00:08:46 +0000 (00:08 +0000)]
Merge "fix dashboards page. the src attributes were being modified by the devsite parser, so i renamed those attributes then rename them again at runtime. bug: 28801246" into mnc-mr-docs am: 486f792d44
am: 9ad92619dc

* commit '9ad92619dc455a42c40e5b102e2fdf65c2787549':
  fix dashboards page. the src attributes were being modified by the devsite parser, so i renamed those attributes then rename them again at runtime. bug: 28801246

Change-Id: I52fc62f8f233682a6707a4c1e5ef67f42844551b

8 years agoMerge "fix dashboards page. the src attributes were being modified by the devsite...
smain@google.com [Fri, 20 May 2016 00:05:01 +0000 (00:05 +0000)]
Merge "fix dashboards page. the src attributes were being modified by the devsite parser, so i renamed those attributes then rename them again at runtime. bug: 28801246" into mnc-mr-docs
am: 486f792d44

* commit '486f792d4448819c47c7e18dfd4ccb40133df528':
  fix dashboards page. the src attributes were being modified by the devsite parser, so i renamed those attributes then rename them again at runtime. bug: 28801246

Change-Id: Iffb768397f425b34c1e297d40c9b1077d1e7ad5d

8 years agoMerge "docs: Fix card descriptions in Android Monitor Overview page b/2885829" into...
Cheryl Potter [Fri, 20 May 2016 00:03:06 +0000 (00:03 +0000)]
Merge "docs: Fix card descriptions in Android Monitor Overview page b/2885829" into mnc-mr-docs

8 years agoBack up / restore the 'mono audio' setting
Christopher Tate [Thu, 19 May 2016 23:55:49 +0000 (16:55 -0700)]
Back up / restore the 'mono audio' setting

Bug 28437565

Change-Id: I6028886eb1aa424edabca65ad9d11d984b82d198

8 years agodocs: Fix card descriptions in Android Monitor Overview page
Cheryl Potter [Thu, 19 May 2016 23:55:49 +0000 (16:55 -0700)]
docs: Fix card descriptions in Android Monitor Overview page
b/2885829

Change-Id: I2c36d9889f685ea6f18859f5859d876da55ba034

8 years agoMerge "fix dashboards page. the src attributes were being modified by the devsite...
Scott Main [Thu, 19 May 2016 23:54:19 +0000 (23:54 +0000)]
Merge "fix dashboards page. the src attributes were being modified by the devsite parser, so i renamed those attributes then rename them again at runtime. bug: 28801246" into mnc-mr-docs