OSDN Git Service

android-x86/frameworks-base.git
8 years agoFix personal apps are not shown when tapping "personal" in activity chooser
Tony Mak [Wed, 24 Feb 2016 20:26:24 +0000 (20:26 +0000)]
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

8 years agoMerge "Throw UnsupportedOperationException when creating ephemeral user on a system...
Lenka Trochtova [Wed, 24 Feb 2016 13:50:16 +0000 (13:50 +0000)]
Merge "Throw UnsupportedOperationException when creating ephemeral user on a system without split system user." into nyc-dev

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 24 Feb 2016 13:25:31 +0000 (08:25 -0500)]
Import translations. DO NOT MERGE

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

8 years agoMerge "Call webview updating logic with the system UID when setup done." into nyc-dev
Gustav Sennton [Wed, 24 Feb 2016 12:56:08 +0000 (12:56 +0000)]
Merge "Call webview updating logic with the system UID when setup done." into nyc-dev

8 years agoMerge "Prevent ephemeral user from being re-entered after stop." into nyc-dev
Lenka Trochtova [Wed, 24 Feb 2016 12:34:57 +0000 (12:34 +0000)]
Merge "Prevent ephemeral user from being re-entered after stop." into nyc-dev

8 years agoMerge "Removing lock contention in SecurityLogMonitor" into nyc-dev
Michal Karpinski [Wed, 24 Feb 2016 12:12:25 +0000 (12:12 +0000)]
Merge "Removing lock contention in SecurityLogMonitor" into nyc-dev

8 years agoRemoving lock contention in SecurityLogMonitor
Michal Karpinski [Fri, 19 Feb 2016 12:47:46 +0000 (12:47 +0000)]
Removing lock contention in SecurityLogMonitor

After being interrupted the monitor thread tried to acquire
a lock that is held by interrupting thread, resulting in timeouting
on join().

Bug: 27061904
Change-Id: Ifbd578d5f5a266083b207fedd8ebb6d26ab08c31

8 years agoMerge "Fix FontFamily nAddFontWeightStyle in nyc" into nyc-dev
Diego Perez [Wed, 24 Feb 2016 11:50:22 +0000 (11:50 +0000)]
Merge "Fix FontFamily nAddFontWeightStyle in nyc" into nyc-dev

8 years agoMerge "Should call clearCallingIdentity before accessing getProfileParent" into nyc-dev
Tony Mak [Wed, 24 Feb 2016 11:36:39 +0000 (11:36 +0000)]
Merge "Should call clearCallingIdentity before accessing getProfileParent" into nyc-dev

8 years agoShould call clearCallingIdentity before accessing getProfileParent
Tony Mak [Wed, 24 Feb 2016 11:08:38 +0000 (11:08 +0000)]
Should call clearCallingIdentity before accessing getProfileParent

Bug: 27308833
Change-Id: Ib33fcc0f30dada5f307f45c7c85dce5fb5e4a064

8 years agoCall webview updating logic with the system UID when setup done.
Gustav Sennton [Wed, 24 Feb 2016 10:58:09 +0000 (10:58 +0000)]
Call webview updating logic with the system UID when setup done.

After performing the webview setup we check whether we changed webview
implementation during the setup and, if so, we rerun the updating-logic.
This logic needs special permissions such as changing settings
(Settings.Global) which the shared relro process doesn't have,
therefore, when the shared relro process notifies us that the setup is
done we need to switch to using the system uid when running the
update-logic.

Bug: 27262336
Change-Id: I68646884e31ba55c860ff98c3f30a520beb0ef95

8 years agoPrevent ephemeral user from being re-entered after stop.
Lenka Trochtova [Fri, 12 Feb 2016 09:42:12 +0000 (10:42 +0100)]
Prevent ephemeral user from being re-entered after stop.

Once the ephemeral user stops, the user's deletion is scheduled.
It takes a while before the user actually disappears and it is not
desirable for the user to be re-entered in the meantime.
Mark the user as disabled on stop and check this flag
in the activity manager to prevent the user from being switched
to again. Also hide the user from user-switching UI.

BUG: 26795729
BUG: 26780152

Change-Id: I83a61674958954b5a210114b88ffa5ae55922c1f

8 years agoMerge "Clarify javadoc for SecurityLog" into nyc-dev
Rubin Xu [Wed, 24 Feb 2016 10:31:35 +0000 (10:31 +0000)]
Merge "Clarify javadoc for SecurityLog" into nyc-dev

8 years agoMerge "Wire removeDocument() to Jobs." into nyc-dev
Tomasz Mikolajewski [Wed, 24 Feb 2016 08:42:15 +0000 (08:42 +0000)]
Merge "Wire removeDocument() to Jobs." into nyc-dev

8 years agoresolve merge conflicts of 51e4acb29d to nyc-dev
Lorenzo Colitti [Wed, 24 Feb 2016 06:06:39 +0000 (15:06 +0900)]
resolve merge conflicts of 51e4acb29d to nyc-dev

Also add the appropriate changes to api/test-current.txt, which
is not present on mm-wireless-dev from which this change came.

Change-Id: Ic4df6d0f89add73b7e5252ef662de07a4e8fce31

8 years agoMerge "Add Connectivity Metrics Logger service" into mm-wireless-dev
Pierre Imai [Wed, 24 Feb 2016 04:49:24 +0000 (04:49 +0000)]
Merge "Add Connectivity Metrics Logger service" into mm-wireless-dev

8 years agoMerge "Adapted the lockscreen style" into nyc-dev
Selim Cinek [Wed, 24 Feb 2016 03:59:44 +0000 (03:59 +0000)]
Merge "Adapted the lockscreen style" into nyc-dev

8 years agoWire removeDocument() to Jobs.
Tomasz Mikolajewski [Tue, 23 Feb 2016 06:12:54 +0000 (15:12 +0900)]
Wire removeDocument() to Jobs.

Bug: 27303034
Change-Id: I6388e2b70b523670210cd8285800b4c187c8f8b8

8 years agoMerge "Update accessibility to be encryption-aware." into nyc-dev
Jeff Sharkey [Wed, 24 Feb 2016 03:17:10 +0000 (03:17 +0000)]
Merge "Update accessibility to be encryption-aware." into nyc-dev

8 years agoUpdate accessibility to be encryption-aware.
Jeff Sharkey [Wed, 24 Feb 2016 00:52:16 +0000 (17:52 -0700)]
Update accessibility to be encryption-aware.

Look for both EA and non-EA accessibility services, but when the user
is locked only bind to EA services.  Once the user is unlocked, we
take another pass and bind to any non-EA services.

We only consider disabling accessibility once the user is unlocked,
since there could be non-EA services waiting in the wings.

Bug: 25860579
Change-Id: I97bd019661457c3577d629ba12290d02f026011a

8 years agoMerge "TIF: Add COLUMN_SEASON_TITLE and COLUMN_(SEASON|EPISODE)_DISPLAY_NUMBER" into...
Dongwon Kang [Wed, 24 Feb 2016 02:09:01 +0000 (02:09 +0000)]
Merge "TIF: Add COLUMN_SEASON_TITLE and COLUMN_(SEASON|EPISODE)_DISPLAY_NUMBER" into nyc-dev

8 years agoTIF: Add COLUMN_SEASON_TITLE and COLUMN_(SEASON|EPISODE)_DISPLAY_NUMBER
Dongwon Kang [Wed, 17 Feb 2016 18:40:44 +0000 (10:40 -0800)]
TIF: Add COLUMN_SEASON_TITLE and COLUMN_(SEASON|EPISODE)_DISPLAY_NUMBER

Bug: 21778419
Change-Id: I1684e2f1c274306706736061e3f41c9840e563c4

8 years agoAdapted the lockscreen style
Selim Cinek [Tue, 23 Feb 2016 20:28:31 +0000 (12:28 -0800)]
Adapted the lockscreen style

It's that time of the release again.

Bug: 24866646
Change-Id: Iebfae2f2cc6b5a21b7b98df359de2247b2bc8632

8 years agoMerge "ImageReader: override the flexible YUV compatible formats" into nyc-dev
Zhijun He [Wed, 24 Feb 2016 01:45:29 +0000 (01:45 +0000)]
Merge "ImageReader: override the flexible YUV compatible formats" into nyc-dev

8 years agoMerge "Make FingerprintManager#hasEnrolledFingerprints per-user" into nyc-dev
Clara Bayarri [Wed, 24 Feb 2016 01:30:58 +0000 (01:30 +0000)]
Merge "Make FingerprintManager#hasEnrolledFingerprints per-user" into nyc-dev

8 years agoMerge "Disable switching users until user 0 is unlocked" into nyc-dev
Fyodor Kupolov [Wed, 24 Feb 2016 00:51:09 +0000 (00:51 +0000)]
Merge "Disable switching users until user 0 is unlocked" into nyc-dev

8 years agoMake FingerprintManager#hasEnrolledFingerprints per-user
Clara Bayarri [Fri, 19 Feb 2016 16:54:49 +0000 (16:54 +0000)]
Make FingerprintManager#hasEnrolledFingerprints per-user

Needed by Settings to determine if the work profile has fingerprints

Bug: 27263452
Change-Id: Ic54f59461b44a525284f6a1ab3d17627c652f842

8 years agoFix wrong measurement in DecorView
Jorim Jaggi [Wed, 24 Feb 2016 00:20:59 +0000 (19:20 -0500)]
Fix wrong measurement in DecorView

Bug: 27215338
Change-Id: I512df9b23788daf485b020a2199a55a7c6ab6311

8 years agoMerge "TIF: Unhide URI util methods" into nyc-dev
Jae Seo [Tue, 23 Feb 2016 23:39:08 +0000 (23:39 +0000)]
Merge "TIF: Unhide URI util methods" into nyc-dev

8 years agoMerge "Add new ConnectionEvent API (hide) to send a notification to Telecom" into...
Tyler Gunn [Tue, 23 Feb 2016 23:38:58 +0000 (23:38 +0000)]
Merge "Add new ConnectionEvent API (hide) to send a notification to Telecom" into nyc-dev

8 years agoMerge "Fix drawColor/drawPaint bounds" into nyc-dev
Chris Craik [Tue, 23 Feb 2016 23:33:51 +0000 (23:33 +0000)]
Merge "Fix drawColor/drawPaint bounds" into nyc-dev

8 years agoTIF: Unhide URI util methods
Jae Seo [Tue, 23 Feb 2016 22:57:02 +0000 (14:57 -0800)]
TIF: Unhide URI util methods

Bug: 27314735
Change-Id: Ib2aeb451a435bb959efb1cba359c335b051f88e5

8 years agoMerge "Copy shared accounts after the user is unlocked" into nyc-dev
Fyodor Kupolov [Tue, 23 Feb 2016 23:05:38 +0000 (23:05 +0000)]
Merge "Copy shared accounts after the user is unlocked" into nyc-dev

8 years agoMerge "DO NOT MERGE: Add subscription specific TelephonyManager calls." into mm-wirel...
Shishir Agrawal [Tue, 23 Feb 2016 23:04:25 +0000 (23:04 +0000)]
Merge "DO NOT MERGE: Add subscription specific TelephonyManager calls." into mm-wireless-dev
am: 29c490bcd3  -s ours

* commit '29c490bcd31cda210e1730649ba4fef02d74c69d':
  DO NOT MERGE: Add subscription specific TelephonyManager calls.

8 years agoMerge "DO NOT MERGE: Add subscription specific TelephonyManager calls." into mm-wirel...
Shishir Agrawal [Tue, 23 Feb 2016 22:59:23 +0000 (22:59 +0000)]
Merge "DO NOT MERGE: Add subscription specific TelephonyManager calls." into mm-wireless-dev

8 years agoMerge "Support running AVD on UI thread" into nyc-dev
Doris Liu [Tue, 23 Feb 2016 22:43:52 +0000 (22:43 +0000)]
Merge "Support running AVD on UI thread" into nyc-dev

8 years agoSupport running AVD on UI thread
Doris Liu [Tue, 23 Feb 2016 00:51:40 +0000 (16:51 -0800)]
Support running AVD on UI thread

By default, AVD animates on RT thread. But since in some cases there's a
need for a finer control on when the frame update for the animation should
happen, such as coordiating the AVD animation with other animations that
run on UI thread, we are providing a way to force the AVD to run on UI
thread.

Bug: 27278616
Change-Id: I372ecd3dc52e3fa0bdce3a1e9c19443f9b199027

8 years agoDO NOT MERGE Bluetooth: Restrict gain for Absolute volume case am: 9ef7634fa9 am...
Liejun Tao [Tue, 23 Feb 2016 22:14:24 +0000 (22:14 +0000)]
DO NOT MERGE Bluetooth: Restrict gain for Absolute volume case am: 9ef7634fa9 am: d46bd91531
am: 2fb16b066b  -s ours

* commit '2fb16b066b3e4e22ee489f31f75170ebc052f0ec':
  DO NOT MERGE Bluetooth: Restrict gain for Absolute volume case

8 years agoMerge "Scale phone state icons." into nyc-dev
Anthony Chen [Tue, 23 Feb 2016 22:11:16 +0000 (22:11 +0000)]
Merge "Scale phone state icons." into nyc-dev

8 years agoDO NOT MERGE Bluetooth: Restrict gain for Absolute volume case am: 9ef7634fa9
Liejun Tao [Tue, 23 Feb 2016 22:00:37 +0000 (22:00 +0000)]
DO NOT MERGE Bluetooth: Restrict gain for Absolute volume case am: 9ef7634fa9
am: d46bd91531

* commit 'd46bd9153144f905138e0b609c3d8252a5d5505e':
  DO NOT MERGE Bluetooth: Restrict gain for Absolute volume case

8 years agoDO NOT MERGE Bluetooth: Restrict gain for Absolute volume case
Liejun Tao [Tue, 23 Feb 2016 21:54:00 +0000 (21:54 +0000)]
DO NOT MERGE Bluetooth: Restrict gain for Absolute volume case
am: 9ef7634fa9

* commit '9ef7634fa9b4e9cf9ea9380aee8b7dfd71f24b57':
  DO NOT MERGE Bluetooth: Restrict gain for Absolute volume case

8 years agoMerge "Emulator: Replace ro.kernel.qemu.gles with qemu.gles" into nyc-dev
Bo Hu [Tue, 23 Feb 2016 21:46:31 +0000 (21:46 +0000)]
Merge "Emulator: Replace ro.kernel.qemu.gles with qemu.gles" into nyc-dev

8 years agoMerge changes from topic \'notification\' into mm-wireless-dev
Pankaj Kanwar [Tue, 23 Feb 2016 21:40:52 +0000 (21:40 +0000)]
Merge changes from topic \'notification\' into mm-wireless-dev
am: 2339b786c7

* commit '2339b786c77fb75f2f123f592195579da20554ca':
  Changing string in notification when data is blocked. b/25209821
  Changing string in notification when data is blocked. b/25209821

8 years agoMerge "Removed warning icons and use friendlier locale names" into nyc-dev
Mihai Niță [Tue, 23 Feb 2016 21:37:03 +0000 (21:37 +0000)]
Merge "Removed warning icons and use friendlier locale names" into nyc-dev

8 years agoMerge changes from topic 'notification' into mm-wireless-dev
Pankaj Kanwar [Tue, 23 Feb 2016 21:32:15 +0000 (21:32 +0000)]
Merge changes from topic 'notification' into mm-wireless-dev

* changes:
  Changing string in notification when data is blocked. b/25209821
  Changing string in notification when data is blocked. b/25209821

8 years agoMake getBatteryUptimeLocked protected so it can be mocked.
Joe Onorato [Tue, 23 Feb 2016 21:25:10 +0000 (13:25 -0800)]
Make getBatteryUptimeLocked protected so it can be mocked.

Also fix test names.

Change-Id: I43477e61c22cd36735214951c45c52b39095e1b5

8 years agoRemoved warning icons and use friendlier locale names
Mihai Nita [Tue, 23 Feb 2016 00:40:26 +0000 (16:40 -0800)]
Removed warning icons and use friendlier locale names

* Removed warning icons in locale list (b/26710677)
* Use getDisplayNameWithDialect() instead of getDisplayName()
  for the locale names (b/27066642)
* Set proper locale for the language labels (b/27130516)
* Fixed build warning in LocaleHelper (b/27148053)

Bug: 26710677
Bug: 27066642
Bug: 27130516
Bug: 27148053
Change-Id: I149a3675262b286c8b740d2ad5b02f4df31316ec

8 years agoMerge changes I4e45afed,I2ea19f9a,I922d6f38 into nyc-dev
Joe Onorato [Tue, 23 Feb 2016 21:06:22 +0000 (21:06 +0000)]
Merge changes I4e45afed,I2ea19f9a,I922d6f38 into nyc-dev

* changes:
  Add unit tests for BatteryStatsImpl.
  Turn down the logging a little bit.
  Turn down the logging a little bit.

8 years agoMerge "Offer to cache ringtones in system DE storage." into nyc-dev
Jeff Sharkey [Tue, 23 Feb 2016 20:57:45 +0000 (20:57 +0000)]
Merge "Offer to cache ringtones in system DE storage." into nyc-dev

8 years agoMerge "Clear calling identity on Session.startingMovingTask" into nyc-dev
Wale Ogunwale [Tue, 23 Feb 2016 20:50:49 +0000 (20:50 +0000)]
Merge "Clear calling identity on Session.startingMovingTask" into nyc-dev

8 years agoMerge "TIF: Add @NonNull for Programs.Genres.encode/decode" into nyc-dev
Dongwon Kang [Tue, 23 Feb 2016 20:45:21 +0000 (20:45 +0000)]
Merge "TIF: Add @NonNull for Programs.Genres.encode/decode" into nyc-dev

8 years agoAdd unit tests for BatteryStatsImpl.
Joe Onorato [Tue, 9 Feb 2016 00:49:39 +0000 (16:49 -0800)]
Add unit tests for BatteryStatsImpl.

- Add a Clocks interface to wrap SystemClock.uptimeMillis and
  SystemClock.elapsedRealtime.
- Make the inner classes static so they can be created independently,
  which meant passing explicit pointers to the BatteryStatsImpl and
  the Uid objects in a lot of places.
- Make several fields protected so they can be accessed by the tests (they are
  still @hidden)
- Add a test suite for the battery stats.
- Add the tests

Change-Id: I4e45afedc64f7050985c28a7eb4f5c1ddbaa63fa

8 years agoTurn down the logging a little bit.
Joe Onorato [Tue, 2 Feb 2016 02:04:24 +0000 (18:04 -0800)]
Turn down the logging a little bit.

Change-Id: I2ea19f9a7951c215aee98825f9cb2923295a965d

8 years agoTurn down the logging a little bit.
Joe Onorato [Tue, 2 Feb 2016 01:45:03 +0000 (17:45 -0800)]
Turn down the logging a little bit.

Change-Id: I922d6f3895d80292fbf613b90e502cad462bb9ef

8 years agoTIF: Add @NonNull for Programs.Genres.encode/decode
Dongwon Kang [Tue, 23 Feb 2016 18:30:51 +0000 (10:30 -0800)]
TIF: Add @NonNull for Programs.Genres.encode/decode

Bug: 27292029
Change-Id: Ib74f6383f3b0880179b51268e730ea8e88ab20c3

8 years agoMerge "Revert "Revert "Add option to allow key validity after fingerprint enrollment...
Shawn Willden [Tue, 23 Feb 2016 20:33:09 +0000 (20:33 +0000)]
Merge "Revert "Revert "Add option to allow key validity after fingerprint enrollment.""" into nyc-dev

8 years agoMerge "Remove @Nullable annotation from getDrawable() methods" into nyc-dev
Alan Viverette [Tue, 23 Feb 2016 20:30:06 +0000 (20:30 +0000)]
Merge "Remove @Nullable annotation from getDrawable() methods" into nyc-dev

8 years agoOffer to cache ringtones in system DE storage.
Jeff Sharkey [Tue, 23 Feb 2016 00:52:45 +0000 (17:52 -0700)]
Offer to cache ringtones in system DE storage.

Ringtones often live on shared media, which is now encrypted with CE
keys and not available until after the user is unlocked.  To improve
the user experience while locked, cache the default ringtone,
notification sound, and alarm sound in a DE storage area.

Bug: 26730753
Change-Id: Ie6ad7790af4c87dd25759df3ed017e3b91a2fb87

8 years agoClear calling identity on Session.startingMovingTask
Wale Ogunwale [Tue, 23 Feb 2016 18:38:35 +0000 (10:38 -0800)]
Clear calling identity on Session.startingMovingTask

This call is comming from the client which doesn't have
the manage task permission required by setFocusTask in AM.

Bug: 27157914
Change-Id: I494a0c44e8fb4316a16bcd44c87bdd8d23e7e6d5

8 years agoRemove @Nullable annotation from getDrawable() methods
Alan Viverette [Tue, 23 Feb 2016 19:59:51 +0000 (14:59 -0500)]
Remove @Nullable annotation from getDrawable() methods

Developers usually do not need to check the result of getDrawable(), so
we shouldn't be annotating it like they do.

Bug: 27134828
Change-Id: I0db0ca806fd89c18781da452fe3f31ef344f3cca

8 years agoDisable switching users until user 0 is unlocked
Fyodor Kupolov [Wed, 17 Feb 2016 18:46:11 +0000 (10:46 -0800)]
Disable switching users until user 0 is unlocked

Switching with user0 locked can be re-enabled by setting
allow_user_switching_when_system_user_locked flag to a non-zero value

Bug: 26933989
Change-Id: I0958058f1cc8a059db9c20930e07183c14c8460a

8 years agoMerge "Fix NinePatchDrawable handling of density changes" into nyc-dev
Alan Viverette [Tue, 23 Feb 2016 19:56:22 +0000 (19:56 +0000)]
Merge "Fix NinePatchDrawable handling of density changes" into nyc-dev

8 years agoFix NinePatchDrawable handling of density changes
Alan Viverette [Tue, 23 Feb 2016 19:54:01 +0000 (14:54 -0500)]
Fix NinePatchDrawable handling of density changes

Scaling is now manually applied when the canvas density is not set.

Removes set/getNinePatch accessors that were added in N, since these
are not used and setting the nine patch directly will break padding.
Also removes local NinePatch, which was not necessary.

Bug: 27038114
Change-Id: Ie8b2e485b54d1ed1521081b329a09915fd0a95c1

8 years agoMerge "Camera2: Fix getInternalFormatSizes for depth" into nyc-dev
Chien-Yu Chen [Tue, 23 Feb 2016 19:52:19 +0000 (19:52 +0000)]
Merge "Camera2: Fix getInternalFormatSizes for depth" into nyc-dev

8 years agoMerge "destroyHardwareResources in onStop()" into nyc-dev
John Reck [Tue, 23 Feb 2016 19:45:05 +0000 (19:45 +0000)]
Merge "destroyHardwareResources in onStop()" into nyc-dev

8 years agoMerge "Do not show work challenge when profile is turned off." into nyc-dev
Rubin Xu [Tue, 23 Feb 2016 19:42:02 +0000 (19:42 +0000)]
Merge "Do not show work challenge when profile is turned off." into nyc-dev

8 years ago[NAN] API cleanup - rename FLAGS. [DO NOT MERGE]
Etan Cohen [Tue, 23 Feb 2016 19:11:42 +0000 (19:11 +0000)]
[NAN] API cleanup - rename FLAGS. [DO NOT MERGE]
am: ad3693d59b  -s ours

* commit 'ad3693d59b990f4994f96f6d3ca98cdbfe26723c':
  [NAN] API cleanup - rename FLAGS. [DO NOT MERGE]

8 years agoMerge "Modify the wake reasons data structure(2/2)" into mm-wireless-dev
Roshan Pius [Tue, 23 Feb 2016 19:09:24 +0000 (19:09 +0000)]
Merge "Modify the wake reasons data structure(2/2)" into mm-wireless-dev
am: 2d3bea7f01

* commit '2d3bea7f014a7fa2eff91ce996663059218bf21d':
  Modify the wake reasons data structure(2/2)

8 years agoMerge "Add logic for selecting filename in RenameDocumentFragment - different selecti...
Aga Wronska [Tue, 23 Feb 2016 19:04:03 +0000 (19:04 +0000)]
Merge "Add logic for selecting filename in RenameDocumentFragment - different selection for directory. Prevent test from creating directories in Documents folder." into nyc-dev

8 years agoAdd logic for selecting filename in RenameDocumentFragment - different selection...
Aga Wronska [Tue, 23 Feb 2016 18:49:29 +0000 (10:49 -0800)]
Add logic for selecting filename in RenameDocumentFragment - different selection for directory.
Prevent test from creating directories in Documents folder.

Change-Id: Ib656f8d69cba27b201b5fe67bcb11fa1dec04953

8 years agoScale phone state icons.
Anthony Chen [Tue, 9 Feb 2016 15:42:25 +0000 (07:42 -0800)]
Scale phone state icons.

The status bar icons can all be optionally scaled by the scale factor in
dimens. The phone stat icons had not been updated to include this
scaling logic.

Also allow the spacing between the icons in the mobile signal group to
be adjusted.

Change-Id: I12b35d462599f8a0747477fb280a974ffa77d01c

8 years agoSupport op dumping in new pipeline
Chris Craik [Mon, 22 Feb 2016 21:39:33 +0000 (13:39 -0800)]
Support op dumping in new pipeline

bug:26565102

Change-Id: I266e420a2f18ba9ad62942b8a0de295dfa3a2a88

8 years agoMerge "Using addAssetPathAsSharedLibrary in WebViewDelegate" into nyc-dev
Tao Bai [Tue, 23 Feb 2016 18:52:14 +0000 (18:52 +0000)]
Merge "Using addAssetPathAsSharedLibrary in WebViewDelegate" into nyc-dev

8 years agoThrow UnsupportedOperationException when creating ephemeral
Lenka Trochtova [Tue, 23 Feb 2016 18:14:27 +0000 (19:14 +0100)]
Throw UnsupportedOperationException when creating ephemeral
user on a system without split system user.

BUG: 27143201

Change-Id: I7b7e634ba7fce576dd72a416e802c80939f05d3e

8 years agoMerge "Changed sys-ui manifest to use resizeableActivity attribute..." into nyc-dev
Wale Ogunwale [Tue, 23 Feb 2016 18:37:48 +0000 (18:37 +0000)]
Merge "Changed sys-ui manifest to use resizeableActivity attribute..." into nyc-dev

8 years agoMerge "TIF: Hide android.permission.READ_TV_LISTINGS" into nyc-dev
Jae Seo [Tue, 23 Feb 2016 18:37:40 +0000 (18:37 +0000)]
Merge "TIF: Hide android.permission.READ_TV_LISTINGS" into nyc-dev

8 years agodestroyHardwareResources in onStop()
John Reck [Tue, 23 Feb 2016 18:35:19 +0000 (10:35 -0800)]
destroyHardwareResources in onStop()

Bug: 27286867

This hopefully makes everything fully-deterministic. It should
also fix some old annoyances around Bitmap lifecycle as they will
be released earlier in onStop() instead of waiting for
dispatchDetachedFromWindow() which may never happen.

Change-Id: I6e871760650780e327c0e42f62950c1052dd8019

8 years agoMerge "Fixed MetricsLogger usage." into nyc-dev
Felipe Leme [Tue, 23 Feb 2016 18:33:02 +0000 (18:33 +0000)]
Merge "Fixed MetricsLogger usage." into nyc-dev

8 years agoFixed MetricsLogger usage.
Felipe Leme [Tue, 23 Feb 2016 18:28:55 +0000 (10:28 -0800)]
Fixed MetricsLogger usage.

BUG: 26759986
Change-Id: Ice16c58f09de8778240ae845917e59bf36ccd112

8 years agoMerge "hide the nanos even harder" into nyc-dev
Chris Wren [Tue, 23 Feb 2016 18:25:12 +0000 (18:25 +0000)]
Merge "hide the nanos even harder" into nyc-dev

8 years agoDo not show work challenge when profile is turned off.
Rubin Xu [Tue, 23 Feb 2016 18:21:48 +0000 (18:21 +0000)]
Do not show work challenge when profile is turned off.

When the profile is turned off, the associated user is not running so it
makes no sense to try to unlock the profile challenge.

Also adjust order of activity startup interception so suspend package takes
precedence, as that's a state user cannot recover from by his own actions.

Bug: 26928131
Change-Id: Ibb4c8ce02ba4ed2e5a5b4366cbe7b59d1535dbd7

8 years agoMerge "Fixed a bug where QS could fling up even when collapsing" into nyc-dev
Selim Cinek [Tue, 23 Feb 2016 18:21:09 +0000 (18:21 +0000)]
Merge "Fixed a bug where QS could fling up even when collapsing" into nyc-dev

8 years agoMerge "Created counter (tron_varz_dumpstate_duration) for dumpstate duration." into...
Felipe Leme [Tue, 23 Feb 2016 18:14:26 +0000 (18:14 +0000)]
Merge "Created counter (tron_varz_dumpstate_duration) for dumpstate duration." into nyc-dev

8 years agoMerge "Revive the "Optimizing apps" dialog" into nyc-dev
Nicolas Geoffray [Tue, 23 Feb 2016 18:04:39 +0000 (18:04 +0000)]
Merge "Revive the "Optimizing apps" dialog" into nyc-dev

8 years agoChanged sys-ui manifest to use resizeableActivity attribute...
Wale Ogunwale [Tue, 23 Feb 2016 18:02:58 +0000 (10:02 -0800)]
Changed sys-ui manifest to use resizeableActivity attribute...

Instead of resizeable attribute. resizeableActivity is what is used
for multi-window. The code currently works because it targets N :/

Change-Id: I82f1b1b46f66ea39ae682ed1d45f97bc6247b0bd

8 years agoMerge "Fix RenameDocumentFragment crash on rotation" into nyc-dev
Aga Wronska [Tue, 23 Feb 2016 18:00:11 +0000 (18:00 +0000)]
Merge "Fix RenameDocumentFragment crash on rotation" into nyc-dev

8 years agoMerge "New constant for BUS audio devices" into nyc-dev
Jean-Michel Trivi [Tue, 23 Feb 2016 17:55:28 +0000 (17:55 +0000)]
Merge "New constant for BUS audio devices" into nyc-dev

8 years agoMerge "Remove deprecated APIs DPM.createUser, createAndInitializeUser" into nyc-dev
Philipp Weiß [Tue, 23 Feb 2016 17:53:56 +0000 (17:53 +0000)]
Merge "Remove deprecated APIs DPM.createUser, createAndInitializeUser" into nyc-dev

8 years agoMerge "Initial implementation of logging metrics for bugreport." into nyc-dev
Felipe Leme [Tue, 23 Feb 2016 17:48:54 +0000 (17:48 +0000)]
Merge "Initial implementation of logging metrics for bugreport." into nyc-dev

8 years agoFix RenameDocumentFragment crash on rotation
Aga Wronska [Tue, 23 Feb 2016 01:57:31 +0000 (17:57 -0800)]
Fix RenameDocumentFragment crash on rotation

Bug: 26972374
Change-Id: I820661bc5363fe8ccc3ea39b3e27510907ddf2ef

8 years agoMerge "Add strings for TTS speech pitch seekbar." into nyc-dev
Shweta Chahar [Tue, 23 Feb 2016 17:40:55 +0000 (17:40 +0000)]
Merge "Add strings for TTS speech pitch seekbar." into nyc-dev

8 years agoCreated counter (tron_varz_dumpstate_duration) for dumpstate duration.
Felipe Leme [Tue, 23 Feb 2016 02:07:49 +0000 (18:07 -0800)]
Created counter (tron_varz_dumpstate_duration) for dumpstate duration.

BUG: 26759986
Change-Id: I18534c127b35776a03e31b9d5cd190d864dff9e6

8 years agoInitial implementation of logging metrics for bugreport.
Felipe Leme [Mon, 22 Feb 2016 23:22:20 +0000 (15:22 -0800)]
Initial implementation of logging metrics for bugreport.

This change logs the following user actions:

  - Interactive bug report initiated from power menu.
  - Full bug report initiated from power menu.
  - Bug report canceled using system notification.
  - Bug report details screen open using system notification.
  - Additional Bug report screen shot taken using system notification.
  - User changed bug report name using the details screen.
  - User changed bug report title using the details screen.
  - User changed bug report description using the details screen.
  - Changes made on bug report details screen were saved by user.
  - Changes made on bug report details screen were canceled by user.

BUG: 26759986
Change-Id: I1aae98b87a4dea66a1030a024dd799b97c25dd6d

8 years agoUsing addAssetPathAsSharedLibrary in WebViewDelegate
Tao Bai [Tue, 23 Feb 2016 17:01:28 +0000 (09:01 -0800)]
Using addAssetPathAsSharedLibrary in WebViewDelegate

BUG: 27245306
Change-Id: I346bc526cd9d311c290f61d0de04e33d708b81c4

8 years agoMerge "Make android.media.AudioFormat parcelable" into nyc-dev
Jean-Michel Trivi [Tue, 23 Feb 2016 16:54:11 +0000 (16:54 +0000)]
Merge "Make android.media.AudioFormat parcelable" into nyc-dev

8 years ago[NAN] API cleanup - rename FLAGS. [DO NOT MERGE]
Etan Cohen [Thu, 18 Feb 2016 02:27:43 +0000 (18:27 -0800)]
[NAN] API cleanup - rename FLAGS. [DO NOT MERGE]

Per API guidelines - non-overlapping constants can be (should be)
named with "FLAG".

Bug: 27122760
Change-Id: If8b2c0f9b2818215a64b5635e76731c8fdfd3b8d

8 years agoAdd strings for TTS speech pitch seekbar.
shwetachahar [Tue, 23 Feb 2016 14:21:39 +0000 (14:21 +0000)]
Add strings for TTS speech pitch seekbar.

Bug: 27137452
Change-Id: Id9cb836c0e802444f0cfc611c715d7e3e2c359de

8 years agohide the nanos even harder
Chris Wren [Tue, 23 Feb 2016 16:10:44 +0000 (11:10 -0500)]
hide the nanos even harder

Bug: 26925668
Change-Id: Ic56460926bd62ac41e64f4d37f52d962976ca644

8 years agoMerge "Modify the wake reasons data structure(2/2)" into mm-wireless-dev
Roshan Pius [Tue, 23 Feb 2016 16:08:25 +0000 (16:08 +0000)]
Merge "Modify the wake reasons data structure(2/2)" into mm-wireless-dev

8 years agoMerge changes I78305f7f,I6faf0167 into nyc-dev
Jorim Jaggi [Tue, 23 Feb 2016 16:03:40 +0000 (16:03 +0000)]
Merge changes I78305f7f,I6faf0167 into nyc-dev

* changes:
  Fix disappearing windows after moving divider to side
  Recents transition fixes