OSDN Git Service

android-x86/frameworks-base.git
8 years agoClean up asset manager package-private methods
Alan Viverette [Tue, 5 Jan 2016 15:25:54 +0000 (10:25 -0500)]
Clean up asset manager package-private methods

Refactors duplicate code, flattens methods by inverting if blocks, updates
nullability annotations, fills out missing javadoc, uses consistent
variable names. No functional changes.

Change-Id: I4c3a139197697a9d6f6afc9c428a193c02fc777c

8 years agoMerge "Add some options to macrobench"
John Reck [Mon, 4 Jan 2016 15:26:18 +0000 (15:26 +0000)]
Merge "Add some options to macrobench"

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 4 Jan 2016 13:53:33 +0000 (05:53 -0800)]
Import translations. DO NOT MERGE

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

8 years agoMerge "Return null on getPrivateKey failure not exception"
Robin Lee [Mon, 4 Jan 2016 10:05:13 +0000 (10:05 +0000)]
Merge "Return null on getPrivateKey failure not exception"

8 years agoReduced the radio log
Jack Yu [Wed, 30 Dec 2015 22:34:12 +0000 (22:34 +0000)]
Reduced the radio log
am: d2cf0ce9c1

* commit 'd2cf0ce9c17cd37a12827882b3a10512d2904103':
  Reduced the radio log

8 years agoReduced the radio log
Jack Yu [Wed, 30 Dec 2015 20:06:01 +0000 (12:06 -0800)]
Reduced the radio log

Reduced the radio log by moving some to VDBG or merging few lines
into one.

bug: 25956251
Change-Id: I290d894e95c9fdd664db35fd0cee3536c37dbd20

8 years agoMerge "VectorDrawable: Use the matrix scale only if the matrix has no rotation or...
Doris Liu [Wed, 30 Dec 2015 19:17:06 +0000 (19:17 +0000)]
Merge "VectorDrawable: Use the matrix scale only if the matrix has no rotation or skew."

8 years agoVectorDrawable: Use the matrix scale only if the matrix has no rotation or skew.
Doris Liu [Tue, 29 Dec 2015 22:57:49 +0000 (14:57 -0800)]
VectorDrawable: Use the matrix scale only if the matrix has no rotation or skew.

When canvas is rotated or skewed, the scale factor is affected.
Conservatively reset the scale used to modify path stroke size to 1 in these
cases, since the image will be somewhat blurry anyway with rotation / skew..

b/25418943

Change-Id: I6dff1bca5fac5500fa688c68f8b81b6212526b6b

8 years agoMerge "Update an error message."
Sudheer Shanka [Wed, 30 Dec 2015 18:17:30 +0000 (18:17 +0000)]
Merge "Update an error message."

8 years agoUpdate an error message.
Sudheer Shanka [Wed, 30 Dec 2015 17:45:40 +0000 (17:45 +0000)]
Update an error message.

Change-Id: Ifc32120ccccd14e8e821770995de91008ed518d7

8 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Wed, 30 Dec 2015 14:12:49 +0000 (14:12 +0000)]
Merge "Import translations. DO NOT MERGE"

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 30 Dec 2015 14:06:22 +0000 (06:06 -0800)]
Import translations. DO NOT MERGE

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

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 30 Dec 2015 14:02:31 +0000 (06:02 -0800)]
Import translations. DO NOT MERGE

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

8 years agoresolve merge conflicts of 8c79fe5dc4 to master.
Randy Pan [Tue, 29 Dec 2015 23:09:09 +0000 (15:09 -0800)]
resolve merge conflicts of 8c79fe5dc4 to master.

Change-Id: Id331e763f64ecbf8ed23764a487e32b94c4d3c09

8 years agoNotify client when the window is moved because of a resize
Chong Zhang [Mon, 28 Dec 2015 23:18:29 +0000 (15:18 -0800)]
Notify client when the window is moved because of a resize

We need to notify the client that the window has moved if a resize
results in a move without size change. This makes sure that relevent
info on client side (such as mAttachInfo.mWindowLeft/Top) gets updated
to the new frame. Things like View.getLocationOnScreen() may depend
on these to function.

Bug: 25565385
Change-Id: I5b9ded0b16243c14494f9a69257d56570ee8996d

8 years agoMerge "Crop to stack bounds during animation if docked task is non-resizeable"
Chong Zhang [Tue, 29 Dec 2015 21:40:08 +0000 (21:40 +0000)]
Merge "Crop to stack bounds during animation if docked task is non-resizeable"

8 years agoCorrect WiFi exponential back off scan
Randy Pan [Thu, 17 Dec 2015 21:07:07 +0000 (13:07 -0800)]
Correct WiFi exponential back off scan

Correct the comments for exponential back off scan. Only binary
exponential back off scan is supported.

Updated the API doc. A couple of un-related fields which were
not updated get updated as well.

Bug: 26236392
Change-Id: I5668092f393b564aa40904ed609a51aa16890614

8 years agoMerge "DPM Test: DA and PO cannot call DPM.reboot()"
Mahaver Chopra [Tue, 29 Dec 2015 15:46:15 +0000 (15:46 +0000)]
Merge "DPM Test: DA and PO cannot call DPM.reboot()"

8 years agoDPM Test: DA and PO cannot call DPM.reboot()
Mahaver Chopra [Wed, 23 Dec 2015 14:42:18 +0000 (14:42 +0000)]
DPM Test: DA and PO cannot call DPM.reboot()

Bug: 25304994
Change-Id: Ifaccf3625314f4bfcd7f99413abc9067cc3dd2f9

8 years agoMerge "Defines task to front/back animations in styles_micro." into cw-e-dev am:...
Gus Prevas [Tue, 29 Dec 2015 15:24:49 +0000 (15:24 +0000)]
Merge "Defines task to front/back animations in styles_micro." into cw-e-dev am: 1d3bac82b3 am: b805bb8b66 am: 19c7ad05f7
am: 5211f9bcbb

* commit '5211f9bcbb2faba350e044c7d19f7af4e167b525':
  Defines task to front/back animations in styles_micro.

8 years agoMerge "Defines task to front/back animations in styles_micro." into cw-e-dev am:...
Gus Prevas [Tue, 29 Dec 2015 15:20:39 +0000 (15:20 +0000)]
Merge "Defines task to front/back animations in styles_micro." into cw-e-dev am: 1d3bac82b3 am: b805bb8b66
am: 19c7ad05f7

* commit '19c7ad05f7bc950ffe23dcb3d01668229b4735c1':
  Defines task to front/back animations in styles_micro.

8 years agoMerge "Defines task to front/back animations in styles_micro." into cw-e-dev am:...
Gus Prevas [Tue, 29 Dec 2015 15:16:23 +0000 (15:16 +0000)]
Merge "Defines task to front/back animations in styles_micro." into cw-e-dev am: 1d3bac82b3
am: b805bb8b66

* commit 'b805bb8b660c5897e7a379fb2d79815269039271':
  Defines task to front/back animations in styles_micro.

8 years agoMerge "Defines task to front/back animations in styles_micro." into cw-e-dev
Gus Prevas [Tue, 29 Dec 2015 15:12:10 +0000 (07:12 -0800)]
Merge "Defines task to front/back animations in styles_micro." into cw-e-dev
am: 1d3bac82b3

* commit '1d3bac82b3bc59fd7225a3c27b32db2fc90b0308':
  Defines task to front/back animations in styles_micro.

8 years agoMerge "Defines task to front/back animations in styles_micro." into cw-e-dev
Gus Prevas [Tue, 29 Dec 2015 15:09:26 +0000 (15:09 +0000)]
Merge "Defines task to front/back animations in styles_micro." into cw-e-dev

8 years agoMerge "Add reply text section to notifications"
Adrian Roos [Tue, 29 Dec 2015 13:05:46 +0000 (13:05 +0000)]
Merge "Add reply text section to notifications"

8 years agoMerge "VectorDrawable native rendering - Step 3 of MANY"
Doris Liu [Tue, 29 Dec 2015 01:45:03 +0000 (01:45 +0000)]
Merge "VectorDrawable native rendering - Step 3 of MANY"

8 years agoMerge "Use GID "wakelock" to control access to kernel wakelock" am: 60d142c54b
Pavlin Radoslavov [Tue, 29 Dec 2015 01:35:29 +0000 (01:35 +0000)]
Merge "Use GID "wakelock" to control access to kernel wakelock" am: 60d142c54b
am: 91fc6d1f9c

* commit '91fc6d1f9cd5e83eec5753ef92960d03367c33a6':
  Use GID "wakelock" to control access to kernel wakelock

8 years agoMerge "Use GID "wakelock" to control access to kernel wakelock"
Pavlin Radoslavov [Tue, 29 Dec 2015 01:31:16 +0000 (01:31 +0000)]
Merge "Use GID "wakelock" to control access to kernel wakelock"
am: 60d142c54b

* commit '60d142c54b16be08d8352c7fd1510538014839f7':
  Use GID "wakelock" to control access to kernel wakelock

8 years agoMerge "Use GID "wakelock" to control access to kernel wakelock"
Pavlin Radoslavov [Tue, 29 Dec 2015 01:24:14 +0000 (01:24 +0000)]
Merge "Use GID "wakelock" to control access to kernel wakelock"

8 years agoMerge "Avoid byte[] allocations in writePackageListLPr"
Fyodor Kupolov [Tue, 29 Dec 2015 00:30:23 +0000 (00:30 +0000)]
Merge "Avoid byte[] allocations in writePackageListLPr"

8 years agoVectorDrawable native rendering - Step 3 of MANY
Doris Liu [Wed, 2 Dec 2015 01:59:40 +0000 (17:59 -0800)]
VectorDrawable native rendering - Step 3 of MANY

- Refactored VPathRenderer & VectorDrawableState
- Moved all the VD rendering into native
- Set up hooks for VD's property changes in JNI for animated VD

TODO: JNI calls can be further reduced when we convert the animation
in AVD to use RenderNodeAnimator, in which case animation will be
driven from native and therefore most of the JNI hooks for changing
VD's properties during animation will no longer be needed.

Change-Id: I52021f4d7bea057b83ace54085d870dd45acae0f

8 years agoUse GID "wakelock" to control access to kernel wakelock
Pavlin Radoslavov [Tue, 24 Nov 2015 01:13:25 +0000 (17:13 -0800)]
Use GID "wakelock" to control access to kernel wakelock

 * Added GID "wakelock" (3010) to the list of groups the System Server
   belongs to.

 * Added GID "wakelock" to the list of assigned groups for the
   "android.permission.BLUETOOTH_STACK" Android permission.

 * Grant CAP_BLOCK_SUSPEND to processes that belong to GID "wakelock"

Bug: 25864142
Change-Id: I8a9a5f11e4a9ecd1abf2d4f4b90ec89b3101332e

8 years agoDefines task to front/back animations in styles_micro.
Gus Prevas [Mon, 28 Dec 2015 20:02:13 +0000 (15:02 -0500)]
Defines task to front/back animations in styles_micro.

Bug: 26112737
Change-Id: I9f8c1da21580d525c32a76f25e223dc24d012837

8 years agoUse GID "wakelock" to control access to kernel wakelock
Pavlin Radoslavov [Tue, 24 Nov 2015 01:13:25 +0000 (17:13 -0800)]
Use GID "wakelock" to control access to kernel wakelock

 * Added GID "wakelock" (3010) to the list of groups the System Server
   belongs to.

 * Added GID "wakelock" to the list of assigned groups for the
   "android.permission.BLUETOOTH_STACK" Android permission.

 * Grant CAP_BLOCK_SUSPEND to processes that belong to GID "wakelock"

Bug: 25864142
Change-Id: I8a9a5f11e4a9ecd1abf2d4f4b90ec89b3101332e

8 years agoresolve merge conflicts of 94ab88228e to master.
Mark Salyzyn [Tue, 22 Dec 2015 21:02:39 +0000 (13:02 -0800)]
resolve merge conflicts of 94ab88228e to master.

Bug: 26178938
Change-Id: I1ec3421f4bb501942a0c06032d56cdaf06f56b45

8 years agoCrop to stack bounds during animation if docked task is non-resizeable
Chong Zhang [Mon, 28 Dec 2015 19:09:01 +0000 (11:09 -0800)]
Crop to stack bounds during animation if docked task is non-resizeable

When a non-resizeable task is docked, it's running in fullscreen size, its
visible area should always be cropped to docked stack size. Otherwise wrong
size might show through during animation.

bug: 26163416
Change-Id: Idcbf4b86ae0976d86a2f91e78ccc2113dd86af62

8 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Mon, 28 Dec 2015 17:20:09 +0000 (17:20 +0000)]
Merge "Import translations. DO NOT MERGE"

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 28 Dec 2015 17:13:40 +0000 (18:13 +0100)]
Import translations. DO NOT MERGE

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

8 years agoMerge "Add APIs to access various locale lists."
Mihai Niță [Mon, 28 Dec 2015 15:35:22 +0000 (15:35 +0000)]
Merge "Add APIs to access various locale lists."

8 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Mon, 28 Dec 2015 14:00:31 +0000 (14:00 +0000)]
Merge "Import translations. DO NOT MERGE"

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 28 Dec 2015 13:59:37 +0000 (05:59 -0800)]
Import translations. DO NOT MERGE

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

8 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Mon, 28 Dec 2015 13:53:52 +0000 (13:53 +0000)]
Merge "Import translations. DO NOT MERGE"

8 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Mon, 28 Dec 2015 13:53:30 +0000 (13:53 +0000)]
Merge "Import translations. DO NOT MERGE"

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 28 Dec 2015 13:48:01 +0000 (05:48 -0800)]
Import translations. DO NOT MERGE

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

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 28 Dec 2015 13:44:56 +0000 (05:44 -0800)]
Import translations. DO NOT MERGE

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

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 28 Dec 2015 13:14:41 +0000 (05:14 -0800)]
Import translations. DO NOT MERGE

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

8 years agoMerge "Prevent double recreation of the failure dialog in DocumentsUI."
Tomasz Mikolajewski [Mon, 28 Dec 2015 00:46:47 +0000 (00:46 +0000)]
Merge "Prevent double recreation of the failure dialog in DocumentsUI."

8 years agoPrevent double recreation of the failure dialog in DocumentsUI.
Tomasz Mikolajewski [Fri, 25 Dec 2015 08:06:52 +0000 (17:06 +0900)]
Prevent double recreation of the failure dialog in DocumentsUI.

DialogFragment takes care of recreation on configuration change, so no
need to recreate it manually.

Bug: 26322214
Change-Id: I7c50a1c5bb1ba9fab34f6e8d31ed1e23e7edfbb7

8 years agoMerge "Stop to remove device rows at MtpDocumentsProvider."
Daichi Hirono [Fri, 25 Dec 2015 07:09:38 +0000 (07:09 +0000)]
Merge "Stop to remove device rows at MtpDocumentsProvider."

8 years agoStop to remove device rows at MtpDocumentsProvider.
Daichi Hirono [Fri, 25 Dec 2015 06:59:47 +0000 (15:59 +0900)]
Stop to remove device rows at MtpDocumentsProvider.

Previously MtpDocumentsProvider used to remove device info in the
database when the device is closed. It loses a chance that RootScanner
handles the removal of roots. As a result, notifications for root cursor
does not issued.

The CL stops removing device info at MtpDocumentsProvider, and let
RootScanner remove it.

BUG=26321346

Change-Id: I6aec0cf843a1e5c93e7f67a718cabd26841d9799

8 years agoMerge changes from topic \'aosp-merge-24-12\' am: e0e81bf407
Narayan Kamath [Thu, 24 Dec 2015 12:31:00 +0000 (04:31 -0800)]
Merge changes from topic \'aosp-merge-24-12\' am: e0e81bf407
am: f59c02a65e  -s ours

* commit 'f59c02a65e9fd529467c4e5083d94ed6453e70f7':
  Special case system_server to not create the JIT code cache.
  Don't use IntegralToString
  Track libcore commit 85d69e16fe1e59e50c1ad228e754abf325088362.
  Track API changes to java.lang.ref.Reference.
  Remove merge markers from preloaded-classes
  Move StrictJarFile from libcore to framework
  Switch RecoverySystem impl to use sun.security.pkcs
  API update for OpenJdk based libcore
  Use libcore/known_oj_tags for the javadoc stage.
  Stop preloading fortress classes
  Use HexDump instead of java.lang.IntegralToString
  Add core-oj to the list of core library jars.

8 years agoMerge changes from topic \'aosp-merge-24-12\'
Narayan Kamath [Thu, 24 Dec 2015 12:07:42 +0000 (04:07 -0800)]
Merge changes from topic \'aosp-merge-24-12\'
am: e0e81bf407

* commit 'e0e81bf407508ec096c752948f8794af5fd480ca':
  Special case system_server to not create the JIT code cache.
  Don't use IntegralToString
  Track libcore commit 85d69e16fe1e59e50c1ad228e754abf325088362.
  Track API changes to java.lang.ref.Reference.
  Remove merge markers from preloaded-classes
  Move StrictJarFile from libcore to framework
  Switch RecoverySystem impl to use sun.security.pkcs
  API update for OpenJdk based libcore
  Use libcore/known_oj_tags for the javadoc stage.
  Stop preloading fortress classes
  Use HexDump instead of java.lang.IntegralToString
  Add core-oj to the list of core library jars.

8 years agoMerge changes from topic 'aosp-merge-24-12'
Narayan Kamath [Thu, 24 Dec 2015 11:56:44 +0000 (11:56 +0000)]
Merge changes from topic 'aosp-merge-24-12'

* changes:
  Special case system_server to not create the JIT code cache.
  Don't use IntegralToString
  Track libcore commit 85d69e16fe1e59e50c1ad228e754abf325088362.
  Track API changes to java.lang.ref.Reference.
  Remove merge markers from preloaded-classes
  Move StrictJarFile from libcore to framework
  Switch RecoverySystem impl to use sun.security.pkcs
  API update for OpenJdk based libcore
  Use libcore/known_oj_tags for the javadoc stage.
  Stop preloading fortress classes
  Use HexDump instead of java.lang.IntegralToString
  Add core-oj to the list of core library jars.

8 years agoMerge "Remove some minimally supported locales from LocalePicker"
Roozbeh Pournader [Thu, 24 Dec 2015 04:54:37 +0000 (04:54 +0000)]
Merge "Remove some minimally supported locales from LocalePicker"

8 years agoRemove some minimally supported locales from LocalePicker
Roozbeh Pournader [Thu, 24 Dec 2015 04:50:31 +0000 (20:50 -0800)]
Remove some minimally supported locales from LocalePicker

For now, these locales are removed:

1. Mundang (mua): the name of the language is all-caps (while the
name of other languages in the locale are either lowercase or
titlecase.

2. Tachelhit (shi): It does not have the name of the Latin or
Tifinagh scripts that it's written in.

3. Vai (vai): It does not have the name of the Latin or Vai scripts
that it's written in.

4. Kashmiri (ks): The spelling of India uses incorrect Unicode
characters, and so do many other pieces of information in the locale.

5. Northen Luri (lrc): It doesn't have the name of the countries it's
spoken in (Iran and Iraq).

(The header of the config file is also fixed.)

Bug: 26279867
Change-Id: I52ad5f9058390f060705e21db62df81513d6ca6e

8 years agoMerge "Fix flakiness MtpManagerTest test."
Daichi Hirono [Thu, 24 Dec 2015 04:07:27 +0000 (04:07 +0000)]
Merge "Fix flakiness MtpManagerTest test."

8 years agoFix flakiness MtpManagerTest test.
Daichi Hirono [Thu, 24 Dec 2015 03:43:12 +0000 (12:43 +0900)]
Fix flakiness MtpManagerTest test.

The test for readEvent cancelling was flakiness because it can
successfully receives an event before the test tries to cancel it.

Change-Id: Ie7625dff53e07b8bc9888da03e78155e683a6d46

8 years agoMerge "Wire thumbnails in archives in ExternalStorageProvider."
Tomasz Mikolajewski [Thu, 24 Dec 2015 02:21:48 +0000 (02:21 +0000)]
Merge "Wire thumbnails in archives in ExternalStorageProvider."

8 years agoUse "merge -s ours origin/mirror-partner-mm-wireless-dev" as described in b/26154276
Alex Cheung [Wed, 23 Dec 2015 22:48:52 +0000 (14:48 -0800)]
Use "merge -s ours origin/mirror-partner-mm-wireless-dev" as described in b/26154276

8 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Wed, 23 Dec 2015 20:07:32 +0000 (20:07 +0000)]
Merge "Import translations. DO NOT MERGE"

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 23 Dec 2015 17:18:28 +0000 (18:18 +0100)]
Import translations. DO NOT MERGE

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

8 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Wed, 23 Dec 2015 13:54:59 +0000 (13:54 +0000)]
Merge "Import translations. DO NOT MERGE"

8 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Wed, 23 Dec 2015 13:54:39 +0000 (13:54 +0000)]
Merge "Import translations. DO NOT MERGE"

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 23 Dec 2015 13:53:57 +0000 (05:53 -0800)]
Import translations. DO NOT MERGE

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

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 23 Dec 2015 13:52:22 +0000 (05:52 -0800)]
Import translations. DO NOT MERGE

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

8 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Wed, 23 Dec 2015 13:44:37 +0000 (13:44 +0000)]
Merge "Import translations. DO NOT MERGE"

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 23 Dec 2015 13:40:31 +0000 (05:40 -0800)]
Import translations. DO NOT MERGE

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

8 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Wed, 23 Dec 2015 13:38:43 +0000 (13:38 +0000)]
Merge "Import translations. DO NOT MERGE"

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 23 Dec 2015 13:37:14 +0000 (05:37 -0800)]
Import translations. DO NOT MERGE

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

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 23 Dec 2015 13:18:27 +0000 (05:18 -0800)]
Import translations. DO NOT MERGE

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

8 years agoMerge "Clear calling identify b4 Beam callback." into mnc-dr1.5-dev am: 4bbd3c4819...
Martijn Coenen [Wed, 23 Dec 2015 08:33:26 +0000 (00:33 -0800)]
Merge "Clear calling identify b4 Beam callback." into mnc-dr1.5-dev am: 4bbd3c4819 am: c94df7c685
am: 68521a6825

* commit '68521a682524c53e6bfd883a3f41b4fe514c2d0c':
  Clear calling identify b4 Beam callback.

8 years agoMerge "Clear calling identify b4 Beam callback." into mnc-dr1.5-dev am: 4bbd3c4819
Martijn Coenen [Wed, 23 Dec 2015 08:29:19 +0000 (00:29 -0800)]
Merge "Clear calling identify b4 Beam callback." into mnc-dr1.5-dev am: 4bbd3c4819
am: c94df7c685

* commit 'c94df7c685947d8263f3617c3cd352a0bcd9e8c1':
  Clear calling identify b4 Beam callback.

8 years agoMerge "Clear calling identify b4 Beam callback." into mnc-dr1.5-dev
Martijn Coenen [Wed, 23 Dec 2015 08:25:08 +0000 (00:25 -0800)]
Merge "Clear calling identify b4 Beam callback." into mnc-dr1.5-dev
am: 4bbd3c4819

* commit '4bbd3c4819fa9766442f6a063a4be2a786be8180':
  Clear calling identify b4 Beam callback.

8 years agoMerge "Clear calling identify b4 Beam callback." into mnc-dr1.5-dev
Martijn Coenen [Wed, 23 Dec 2015 08:22:21 +0000 (08:22 +0000)]
Merge "Clear calling identify b4 Beam callback." into mnc-dr1.5-dev

8 years agoAdd APIs to access various locale lists.
Mihai Nita [Wed, 23 Dec 2015 07:13:43 +0000 (23:13 -0800)]
Add APIs to access various locale lists.

This includes APIs to get / set the user locale list,
and getters for the curated list of supported locales,
localized assets, and pseudo-locales.

Change-Id: Ie5771d769cd4a01f6404fa82f6f4f9bcb9b83a9e
Bug: 25800339

8 years agoRename variable that hides the contatining classes name.
Philip P. Moltmann [Wed, 23 Dec 2015 04:08:00 +0000 (20:08 -0800)]
Rename variable that hides the contatining classes name.

Change-Id: Iad0a9b341a866d33d10b7a389d243e677a65057c

8 years agoPrefer printers that have been used physically close to the current
Philip P. Moltmann [Thu, 17 Dec 2015 00:57:05 +0000 (16:57 -0800)]
Prefer printers that have been used physically close to the current
location of the user.

Commonly the users prints on a printer that this near the user current
location. Hence if possible we want to show the user printers that he
used before and that are close to him.

Hence store the location of the previous uses of a printer and prefer
printer that are close to the user.

Unfortunately getLastLocation might not report a usable location and it
will take at least 5 seconds until the first usable location arrives. At
this time the user might have already opened the destionation spinner.
It would be unexpected for the printers to suddenly change under the
users finger. Hence it might be that we did first show the printer
without any location information and then once the location is known we
cannot update thedestination spinner anymore.

The select printer activity does not have this issue, hence in the worst
case the user has to enter this activity to select a printer and by then
the location is usually determined.

This is not ideal but better than before.

Bug: 24133609
Change-Id: Ie7d20cf3d9dd163e57903f8f6ecc0b3fd4f4374e

8 years agoMerge "Only use DecorContext with main activity windows."
Filip Gruszczynski [Wed, 23 Dec 2015 02:20:49 +0000 (02:20 +0000)]
Merge "Only use DecorContext with main activity windows."

8 years agoMerge "Clean up print subsystem"
Philip P. Moltmann [Wed, 23 Dec 2015 02:11:01 +0000 (02:11 +0000)]
Merge "Clean up print subsystem"

8 years agoMerge "Close closeguard of PageContentRepository."
Philip P. Moltmann [Wed, 23 Dec 2015 01:28:07 +0000 (01:28 +0000)]
Merge "Close closeguard of PageContentRepository."

8 years agoClean up print subsystem
Philip P. Moltmann [Fri, 18 Dec 2015 21:58:40 +0000 (13:58 -0800)]
Clean up print subsystem

- Stop using deprecated APIs
- Fix all public and some internal javadoc
- Add @Decorations to public APIs
- Some minor cleanup, e.g. don't use variables with overlapping names in same scope
- remove unnecessary properties from manifest (they are set by the build
  system)

Change-Id: I0ce8849a516414763fe9de76c3a18ce17d896816

8 years agoMerge "Adjust grid margins to match mocks."
Ben Kwa [Wed, 23 Dec 2015 01:13:03 +0000 (01:13 +0000)]
Merge "Adjust grid margins to match mocks."

8 years agoMerge "Fix various band select instabilities."
Ben Kwa [Wed, 23 Dec 2015 01:11:33 +0000 (01:11 +0000)]
Merge "Fix various band select instabilities."

8 years agoMerge "Update grid items to look more like the mocks."
Ben Kwa [Wed, 23 Dec 2015 01:11:12 +0000 (01:11 +0000)]
Merge "Update grid items to look more like the mocks."

8 years agoAdjust grid margins to match mocks.
Ben Kwa [Wed, 23 Dec 2015 00:45:01 +0000 (16:45 -0800)]
Adjust grid margins to match mocks.

BUG=25560424

Change-Id: I11edfd9585299acb22ca14b518274ae2538a7d01

8 years agoMerge "Fix a crash. InputDevice can be null."
Jun Mukai [Wed, 23 Dec 2015 00:00:08 +0000 (00:00 +0000)]
Merge "Fix a crash. InputDevice can be null."

8 years agoCheck permissions on getDeviceId. DO NOT MERGE
Robert Greenwalt [Fri, 4 Dec 2015 19:51:49 +0000 (11:51 -0800)]
Check permissions on getDeviceId. DO NOT MERGE

This needs the package name passed in, so the aidl changes.

bug:25778215
Change-Id: I69ee88f1d2db614bad51e6de908d3f16881a0231

8 years agoFix various band select instabilities.
Ben Kwa [Tue, 22 Dec 2015 23:27:14 +0000 (15:27 -0800)]
Fix various band select instabilities.

- Guard against OutOfBoundsExceptions by checking for
  RecyclerView.NO_POSITION before attempting to retrieve model IDs in
  various places.

- Fix a spot where the default return value of
  SparseIntArray.get (i.e. 0) was causing item 0 to incorrectly get
  selected.

BUGS=26249027,26309874

Change-Id: I08d2e8c90bdd40a4738bdcf357de31e8fe6ddecf

8 years agoOnly use DecorContext with main activity windows.
Filip Gruszczynski [Tue, 22 Dec 2015 22:46:21 +0000 (14:46 -0800)]
Only use DecorContext with main activity windows.

Bug: 26251921
Change-Id: Icd41eddd4f39b95a136ee366673fabbef9d4def0

8 years agoUpdate grid items to look more like the mocks.
Ben Kwa [Tue, 22 Dec 2015 22:03:30 +0000 (14:03 -0800)]
Update grid items to look more like the mocks.

- Create a new layout for directory items, which have a different
  layout (no thumbnail, size or mod_date).

- Add drop shadows.

Also refactor a few things in the DocumentHolder and child classes to
make things more efficient and cleaner.

BUG=24326989,26229570

Change-Id: I05df52b071667190d4c4c671f50d25498383cdaa

8 years agoBind DropPermissions life cycle to Activity
Vladislav Kaznacheev [Fri, 18 Dec 2015 20:23:43 +0000 (12:23 -0800)]
Bind DropPermissions life cycle to Activity

Move requestDropPermissions from DragEvent to Activity.
Permissions will be granted using UriPermissionOwner
 associated with this activity and revoked when the activity
 is destroyed (if DropPermissions.release is not called before that).

Change-Id: Ic8f8fc3f56f57e83b9bc34ae8c96d82c2c9c4e1d

8 years agoFix a crash. InputDevice can be null.
Jun Mukai [Tue, 22 Dec 2015 22:20:24 +0000 (14:20 -0800)]
Fix a crash. InputDevice can be null.

Bug: 26306228
Change-Id: I2ada939cbacb9886bd04da791b185eb49a0a2f55

8 years agoMerge "Pressing back button clears search"
Aga Wronska [Tue, 22 Dec 2015 22:08:08 +0000 (22:08 +0000)]
Merge "Pressing back button clears search"

8 years agoMerge "AAPT2: Fix compiler error in 32-bit host test"
Dan Willemsen [Tue, 22 Dec 2015 21:55:36 +0000 (21:55 +0000)]
Merge "AAPT2: Fix compiler error in 32-bit host test"

8 years agoMerge "Allow a print service to specify per printer icons, description and info-activ...
Philip P. Moltmann [Tue, 22 Dec 2015 21:49:30 +0000 (21:49 +0000)]
Merge "Allow a print service to specify per printer icons, description and info-activities"

8 years agoAAPT2: Fix compiler error in 32-bit host test
Dan Willemsen [Tue, 22 Dec 2015 21:01:05 +0000 (13:01 -0800)]
AAPT2: Fix compiler error in 32-bit host test

We now default host native tests to build both 32-bit and 64-bit
versions.

The 32-bit version of libaapt2_test was broken because it was comparing
an unsigned int to the result from std::count(std::vector), which is a
signed int. The 64-bit version compiled fine, since
std::count(std::vector) returns a long.

Change-Id: I786fcd8a54d9f78b76b19ef82ab8dda6f5c42197

8 years agoPressing back button clears search
Aga Wronska [Mon, 21 Dec 2015 19:43:40 +0000 (11:43 -0800)]
Pressing back button clears search

Bug:26143308
Change-Id: Iaa02d39a6ee1fd1a0c7d4d07453a481af97c7664

8 years agoMerge "Set SCALING_MODE_NO_SCALE_CROP for SurfaceView."
Rob Carr [Tue, 22 Dec 2015 21:07:45 +0000 (21:07 +0000)]
Merge "Set SCALING_MODE_NO_SCALE_CROP for SurfaceView."

8 years agoMerge "SystemUI: implement bluetooth scan timeout"
David Riley [Tue, 22 Dec 2015 18:45:06 +0000 (18:45 +0000)]
Merge "SystemUI: implement bluetooth scan timeout"

8 years agoMerge "Add a permission to shell for running multi window tests."
Filip Gruszczynski [Tue, 22 Dec 2015 17:29:39 +0000 (17:29 +0000)]
Merge "Add a permission to shell for running multi window tests."