119938 Commits

Author SHA1 Message Date
Jatin Lodhia
64234cfc1e am 09e7e0ef: Delegate existence of account check to Authenticator.
* commit '09e7e0ef8bcd8b7b78b79fb570de2032871f0c97':
  Delegate existence of account check to Authenticator.
2013-11-11 15:54:31 -08:00
Jean-Michel Trivi
cb623a8d44 am f99e8650: am fed822cb: Merge "Fix Tethys asset" into klp-dev
* commit 'f99e8650c931026e0e119ede672ee12a2d2867a7':
  Fix Tethys asset
2013-11-11 15:50:21 -08:00
Jatin Lodhia
09e7e0ef8b Delegate existence of account check to Authenticator.
Current AccountManager code for getAuthToken checks if the account
in the request exists. If the account does not exist then it throws
an exception which leads to a runtime exception being thrown by
AccountManager in the client. In perticular, Checkin client code
hits this issue when accounts are deleted by user. As the exception
is thrown from the getAuthToken method call and is a RuntimeException
it is not caught by the client. Futhermore, Checkin runs in one of the
important processes and this exception makes the process crash.

This cl, does the following:
1) Delegates the account exists check to Authentictor which in turn
would cause an AuthenticatorException which is a checked exception.
2) Replaces some of the runtime exceptions thrown by AccountManagerService
with calling AccountManagerResponse.onError() which causes more graceful
failure on the client.
3) Correctly passes on the error returned by Authenticator to
AccountManager. Earlier if Authenticator returned an error code to
the AccountManager, it ignored the error and returned null token to the
client which was incorrect.

Bug: 10856295
Change-Id: Ie250fec601d46f6dfecd74677b478bfd4e9dcfad
2013-11-11 23:48:53 +00:00
Jean-Michel Trivi
f99e8650c9 am fed822cb: Merge "Fix Tethys asset" into klp-dev
* commit 'fed822cb8e17579dfa792b40ebe82683088e7779':
  Fix Tethys asset
2013-11-11 15:47:36 -08:00
Jean-Michel Trivi
fed822cb8e Merge "Fix Tethys asset" into klp-dev 2013-11-11 23:44:28 +00:00
Jeff Brown
7117c0c184 am 40c81e4a: am 3105b6d2: am 12c32b4d: Merge "Make quick settings show the standard media router icon." into klp-dev
* commit '40c81e4a5d96f8a3853045b289f6131c44d3155d':
  Make quick settings show the standard media router icon.
2013-11-11 15:23:40 -08:00
Chong Zhang
19001d29bd am 9a05e846: am f32962a8: am e8d0fbf2: Merge "Fixed a bug updating presentation displays." into klp-dev
* commit '9a05e846f3ac2f5c60f42160bcca37355647a3a7':
  Fixed a bug updating presentation displays.
2013-11-11 15:23:37 -08:00
Sonia Sharma
daee2d3a82 am 3b98a287: am a877cbcc: am 26f54442: Merge "Remove TMobile Tethering APN from default builds" into klp-dev
* commit '3b98a287aec69ea76fc2d79695029665abf1ab00':
  Remove TMobile Tethering APN from default builds
2013-11-11 15:23:33 -08:00
Dirk Dougherty
1b45fda758 am 1256460d: am 8ede85d2: am 2705c8ba: Doc change: edits to RTL support descriptions.
* commit '1256460dd5748d4e7e21724fad87f79b45003141':
  Doc change: edits to RTL support descriptions.
2013-11-11 15:23:30 -08:00
Dirk Dougherty
321e7346a4 am 27ead4fc: am fca02914: am d296e25a: eoc change: Add developer stories for localization.
* commit '27ead4fc070f3eef8780809dfc28cb6c3c519eeb':
  eoc change: Add developer stories for localization.
2013-11-11 15:23:26 -08:00
Jason Sams
21659ac4c8 Add long/double read support.
Change-Id: I1957f7ac18262a3004a4adcb7c31055212e483c2
2013-11-11 23:22:53 +00:00
Jeff Sharkey
874dfd733a am 34163e82: am 55d12486: Merge "Give storage provider access to secondary devices." into klp-dev
* commit '34163e8259db8661afbb267e3b899b64f429bcb7':
  Give storage provider access to secondary devices.
2013-11-11 15:22:37 -08:00
Jeff Sharkey
34163e8259 am 55d12486: Merge "Give storage provider access to secondary devices." into klp-dev
* commit '55d12486df5e801dc8e74d96abdf87a250bc0ba1':
  Give storage provider access to secondary devices.
2013-11-11 15:19:44 -08:00
Jeff Sharkey
55d12486df Merge "Give storage provider access to secondary devices." into klp-dev 2013-11-11 23:16:38 +00:00
Baligh Uddin
dcb8348464 am 6164b166: (-s ours) am 840587b3: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit '6164b1666b571905dd313e542ceb9adcaf6e6803':
  Import translations. DO NOT MERGE
2013-11-11 14:45:05 -08:00
Baligh Uddin
45ad4f4e63 am 4f2ff756: (-s ours) am 082c7dbc: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit '4f2ff756e169984abf955fc02e060b681d1f0f20':
  Import translations. DO NOT MERGE
2013-11-11 14:45:02 -08:00
Baligh Uddin
8e084bbd32 am 17d19c27: (-s ours) am c0c41cbe: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit '17d19c27c00e6774c14ec45084dee988f59f6f0b':
  Import translations. DO NOT MERGE
2013-11-11 14:44:58 -08:00
Baligh Uddin
6164b1666b am 840587b3: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit '840587b309d52d31f9b4f3dc6e709145a9c96d6d':
  Import translations. DO NOT MERGE
2013-11-11 14:41:14 -08:00
Baligh Uddin
4f2ff756e1 am 082c7dbc: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit '082c7dbc02962b321d6d6efddd683d056579b29d':
  Import translations. DO NOT MERGE
2013-11-11 14:41:12 -08:00
Baligh Uddin
17d19c27c0 am c0c41cbe: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit 'c0c41cbee8c8cee2639bdb63860c378d6522feaa':
  Import translations. DO NOT MERGE
2013-11-11 14:41:09 -08:00
Baligh Uddin
c2c5689da5 Merge "Import translations. DO NOT MERGE" 2013-11-11 22:39:44 +00:00
Baligh Uddin
840587b309 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-11-11 22:39:35 +00:00
Baligh Uddin
9be057c627 Merge "Import translations. DO NOT MERGE" 2013-11-11 22:39:30 +00:00
Baligh Uddin
082c7dbc02 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-11-11 22:39:21 +00:00
Baligh Uddin
0914c0a20c Merge "Import translations. DO NOT MERGE" 2013-11-11 22:39:10 +00:00
Baligh Uddin
c0c41cbee8 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-11-11 22:39:04 +00:00
Baligh Uddin
d92329366b Merge "Import translations. DO NOT MERGE" 2013-11-11 22:38:54 +00:00
Jeff Sharkey
7e1f5410ff Give storage provider access to secondary devices.
Bug: 11411460
Change-Id: I3827ed5b859a68c60742a27917459e8df2c276bb
2013-11-11 14:36:33 -08:00
Eino-Ville Talvala
7a31310439 Camera2: Add support for partial result metadata quirk
- Add new CaptureListener.onCapturePartial() callback for receiving
  partial result metadata sooner than the full result metadata will be sent
  in onCaptureComplete().
- Add hidden keys for the partial result quirk
- Dispatch results to onCapturePartial based on the partial result quirk

All additions are hidden for now.

Bug: 11115603
Change-Id: Ie9a3be640f147257ae22e5b5edf0974bddc1cb85
2013-11-11 13:47:46 -08:00
John Spurlock
f92b6161b8 Disallow transient status bar on the keyguard.
FLAG_FULLSCREEN on the app under the keyguard was keeping
the transient status bar visible if the user locked while
revealing it.

Bug:11629810
Change-Id: I034d3a4f4fe5463702253a1fca6d32debd520c3c
2013-11-11 15:01:16 -05:00
Amith Yamasani
f65c0a9958 Fix inconsistency in reporting device admin active state.
When a device admin goes away due to a package change, only one of two lists
was being updated, causing an inconsistency in the query for active admins
depending on which API was being called.

This makes sure that mAdminMap stays in sync with mAdminList so that
isActiveAdmin() and getActiveAdmins() returns the same results.

Bug: 11588094
Change-Id: I232608738249492d9fca7e4d7aa7566d96fccf46
2013-11-11 11:44:37 -08:00
Dianne Hackborn
f488cd3b77 am 7e40e317: am c85a1143: Merge "Fix issue #11630188: Still seeing some processes not on LRU list errors" into klp-dev
* commit '7e40e3176399e0609051e5f0bfcb5149e78c2ea6':
  Fix issue #11630188: Still seeing some processes not on LRU list errors
2013-11-11 11:37:19 -08:00
Dianne Hackborn
7e40e31763 am c85a1143: Merge "Fix issue #11630188: Still seeing some processes not on LRU list errors" into klp-dev
* commit 'c85a1143aa7be1cef40cba72f83c71e81fe5c86e':
  Fix issue #11630188: Still seeing some processes not on LRU list errors
2013-11-11 11:33:38 -08:00
Dianne Hackborn
c85a1143aa Merge "Fix issue #11630188: Still seeing some processes not on LRU list errors" into klp-dev 2013-11-11 19:31:59 +00:00
Dianne Hackborn
bc72dce075 Fix issue #11630188: Still seeing some processes not on LRU list errors
This happened:

android.util.Log$TerribleFailure: Adding dependent process ProcessRecord{43c7a120 0:com.google.android.gms/u0a7} not on LRU list: service connection ConnectionRecord{437c16e0 u0 CR ACT com.google.android.gms/.icing.impl.IndexService:@436ba7f8} from ProcessRecord{43c64208 4908:com.google.android.googlequicksearchbox:search/u0a19}
	at android.util.Log.wtf(Log.java:290)
	at android.util.Slog.wtf(Slog.java:82)
	at com.android.server.am.ActivityManagerService.updateLruProcessInternalLocked(ActivityManagerService.java:2290)
	at com.android.server.am.ActivityManagerService.updateLruProcessLocked(ActivityManagerService.java:2508)
	at com.android.server.am.ActiveServices.updateServiceClientActivitiesLocked(ActiveServices.java:636)
	at com.android.server.am.ActiveServices.removeConnectionLocked(ActiveServices.java:1656)
	at com.android.server.am.ActiveServices.unbindServiceLocked(ActiveServices.java:860)
	at com.android.server.am.ActivityManagerService.unbindService(ActivityManagerService.java:12773)
	at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:869)
	at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2071)
	at android.os.Binder.execTransact(Binder.java:404)
	at dalvik.system.NativeStart.run(Native Method)

Because of this earlier:

11-09 18:02:19.126 W/ActivityManager(  809): Exception when starting service com.google.android.gms/.icing.impl.IndexService
11-09 18:02:19.126 W/ActivityManager(  809): android.os.DeadObjectException
11-09 18:02:19.126 W/ActivityManager(  809): 	at android.os.BinderProxy.transact(Native Method)
11-09 18:02:19.126 W/ActivityManager(  809): 	at android.app.ApplicationThreadProxy.scheduleCreateService(ApplicationThreadNative.java:850)
11-09 18:02:19.126 W/ActivityManager(  809): 	at com.android.server.am.ActiveServices.realStartServiceLocked(ActiveServices.java:1384)
11-09 18:02:19.126 W/ActivityManager(  809): 	at com.android.server.am.ActiveServices.bringUpServiceLocked(ActiveServices.java:1294)
11-09 18:02:19.126 W/ActivityManager(  809): 	at com.android.server.am.ActiveServices.bindServiceLocked(ActiveServices.java:755)
11-09 18:02:19.126 W/ActivityManager(  809): 	at com.android.server.am.ActivityManagerService.bindService(ActivityManagerService.java:12766)
11-09 18:02:19.126 W/ActivityManager(  809): 	at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:859)
11-09 18:02:19.126 W/ActivityManager(  809): 	at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2071)
11-09 18:02:19.126 W/ActivityManager(  809): 	at android.os.Binder.execTransact(Binder.java:404)
11-09 18:02:19.126 W/ActivityManager(  809): 	at dalvik.system.NativeStart.run(Native Method)

Not clearing the service's app pointer.

Also fix this wtf where we were not clearing the started state of
a ServiceTracker when its process goes away.  (This was like this
because we used to want to leave the started state so that we can
know the process is trying to restart.  But now that have a new
explicit restarting strate, there is no need to leave it.)

android.util.Log$TerribleFailure: Service owner ServiceRecord{436f5168 u0 com.dirtywaterlabs.uberhype/com.dirtywaterlabs.musichype.MDService} cleared while started: pkg=com.dirtywaterlabs.uberhype service=com.dirtywaterlabs.musichype.MDService proc=ProcessState{42bf4bb8 com.dirtywaterlabs.uberhype:remote/10115 pkg=com.dirtywaterlabs.uberhype}
	at android.util.Log.wtf(Log.java:290)
	at android.util.Slog.wtfStack(Slog.java:86)
	at com.android.internal.app.ProcessStats$ServiceState.clearCurrentOwner(ProcessStats.java:2989)
	at com.android.server.am.ActiveServices.serviceDoneExecutingLocked(ActiveServices.java:1821)
	at com.android.server.am.ActiveServices.serviceProcessGoneLocked(ActiveServices.java:1779)
	at com.android.server.am.ActiveServices.removeConnectionLocked(ActiveServices.java:1693)
	at com.android.server.am.ActiveServices.killServicesLocked(ActiveServices.java:2028)
	at com.android.server.am.ActivityManagerService.cleanUpApplicationRecordLocked(ActivityManagerService.java:12424)
	at com.android.server.am.ActivityManagerService.handleAppDiedLocked(ActivityManagerService.java:3605)
	at com.android.server.am.ActivityManagerService.appDiedLocked(ActivityManagerService.java:3750)
	at com.android.server.am.ActivityManagerService$AppDeathRecipient.binderDied(ActivityManagerService.java:1026)
	at android.os.BinderProxy.sendDeathNotice(Binder.java:493)
	at dalvik.system.NativeStart.run(Native Method)

Change-Id: I25a3fb678b5365254490cd5509b558348655b589
2013-11-11 10:55:42 -08:00
Jeff Brown
fa0d9c2fa8 am 02b77575: am 1cdbbb1e: Merge "Changes to support new screen cast settings screen." into klp-dev
* commit '02b775755105a956456cb193b60d765e1a4690b6':
  Changes to support new screen cast settings screen.
2013-11-11 10:23:57 -08:00
Jeff Brown
02b7757551 am 1cdbbb1e: Merge "Changes to support new screen cast settings screen." into klp-dev
* commit '1cdbbb1e73bff05f5dd1679bae2e3502d4f82368':
  Changes to support new screen cast settings screen.
2013-11-11 10:21:58 -08:00
Jeff Brown
1cdbbb1e73 Merge "Changes to support new screen cast settings screen." into klp-dev 2013-11-11 18:19:26 +00:00
Craig Mautner
c1c5e37cf6 am 86b06976: am 45bf2815: Merge "Fix a couple of issues with mOpeningApps." into klp-dev
* commit '86b06976e7d93772422c85c15d08ec1f00ebbcfc':
  Fix a couple of issues with mOpeningApps.
2013-11-11 10:07:25 -08:00
Craig Mautner
6492c0f3af am 22a97106: am 8cfa6d08: Merge "Use old task info when creating new task." into klp-dev
* commit '22a9710608d47747f9b834aa2a6b377bf529ad33':
  Use old task info when creating new task.
2013-11-11 10:07:21 -08:00
Craig Mautner
86b06976e7 am 45bf2815: Merge "Fix a couple of issues with mOpeningApps." into klp-dev
* commit '45bf2815158cb98130fff120b34ad05f5a54b8f8':
  Fix a couple of issues with mOpeningApps.
2013-11-11 10:04:46 -08:00
Craig Mautner
22a9710608 am 8cfa6d08: Merge "Use old task info when creating new task." into klp-dev
* commit '8cfa6d083bc5638801fa6d1b2dfccbc460c88bb9':
  Use old task info when creating new task.
2013-11-11 10:04:43 -08:00
Craig Mautner
45bf281515 Merge "Fix a couple of issues with mOpeningApps." into klp-dev 2013-11-11 18:02:08 +00:00
Craig Mautner
8cfa6d083b Merge "Use old task info when creating new task." into klp-dev 2013-11-11 18:01:36 +00:00
John Reck
e77a040f3a Merge "More refactoring" 2013-11-11 17:38:18 +00:00
John Reck
2ee011a3c4 Merge "Always do simple path detection" 2013-11-11 17:37:25 +00:00
John Reck
3083579424 More refactoring
Merge GlRenderer and Gl20Renderer
 Move GLRenderer to its own file
 Move native methods from HardwareRenderer to GLRenderer

Change-Id: Ib4680b03dd98101b2a428062cc94774ff73baa75
2013-11-11 09:37:02 -08:00
Baligh Uddin
e5347dfffa Import translations. DO NOT MERGE
Change-Id: Ie6cacaae8072f3d4ed70b5f1459f8084b49a526c
Auto-generated-cl: translation import
2013-11-11 08:59:18 -08:00
Baligh Uddin
e7e1a20e02 Import translations. DO NOT MERGE
Change-Id: I78f1c240c242ca7f9b4e52503e65a991460de62e
Auto-generated-cl: translation import
2013-11-11 08:56:43 -08:00
Baligh Uddin
d405ecff9b Import translations. DO NOT MERGE
Change-Id: Ie8d11728f20f3aafe18a33edd4e81e314e507bd1
Auto-generated-cl: translation import
2013-11-11 08:50:15 -08:00