It was s/[tT]ransferrable/$1ransferable/g though.
Bug: 149534504
Test: build & atest mr2 related tests
Change-Id: I7b6cbb51993a5f1673e39f590d65e057d9474315
This CL is the 4th in the series of CLs which intend to "unbind" StatusBar on TV.
In order to make StatusBar really optional and thus to allow us to unbind it, we also need to make some of the classes that depends on it optional as well. For all these cases we need to move from @Inject-annotated contructors to @Provides annotated methods. For this we are introducing BubbleModule and KeyguardModule.
Change-Id: I57009153e2279078ac88c42a53d3963a96eb8452
Test: make SystemUI; atest SystemUITests
Bug: 146188087
This CL is the 3rd in the series of CLs which intend to "unbind" StatusBar on TV.
In order to make StatusBar really optional and thus to allow us to unbind it, we also need to make some of the classes that depends on it optional as well. For all these cases we need to move from @Inject-annotated contructors to @Provides annotated methods. For this we are introducing StatusBarModule, as well as StatusBarPhoneDependenciesModule and StatusBarDependenciesModule - these two provide dependecies needed to build StatusBar, but not the StatusBar itself
Change-Id: Ie3551bda7056465159f2c7fde4989e009f277304
Test: make SystemUI; atest SystemUITests
Bug: 146188087
This CL is the 2nd in the series of CLs which intend to "unbind" StatusBar on TV.
In order to make StatusBar really optional and thus to allow us to unbind it, we also need to make some of the classes that depends on it optional as well. For all these cases we need to move from @Inject-annotated contructors to @Provides annotated methods. For this we are introducing StatusBarNotificationModule.
Change-Id: Id56f970d21323f49e859715b6874f5cd773aa62a
Test: make SystemUI; atest SystemUITests
Bug: 146188087
This CL is the 1st in the series of CLs which intend to "unbind" StatusBar on TV.
In order to make StatusBar really optional and thus to allow us to unbind it, we also need to make some of the classes that depends on it optional as well. For all these cases we need to move from @Inject-annotated contructors to @Provides annotated methods. For this we are expanding NotificationsModule.
Change-Id: Icccafd2170f2fdffb8412370056aab7042ffd580
Test: make SystemUI; make CarSystemUI; atest SystemUITests
Bug: 146188087
Added missing javadoc and updated some to clarify.
Renamed activeScan to performActiveScan.
This CL is to address issues in API review.
Bug: 149299503
Test: make api-stubs-docs-update-current-api
Change-Id: Ic8a630eb65daab190ec6e0a106c81aa6edfbf72d
Set support is a little weird in Java and Android.
Java doesn't support ArraySet, but Android does; Parcel
has both read/write for ArraySet, but they are @hide. Thus,
my options were limited to:
-use the hidden parcel methods
-convert between list and set in the constructor and parcel code
-convert between list and set in the getter
-maintain parallel data structures.
Using the hidden methods seemed cleanest. Since they are
@UnsupportedAppUsage they can't be credibly removed.
In addition, the HAL code doesn't understand Set<> only List<> so
I was faced with the choice of having 2 constructors or using
Collection<>, which actually works just fine and avoids changing
a hundred or so unit tests with no ill effect.
Bug: 149476549
Test: atest FrameworksTelephonyTests
Test: (cts) atest CellInfoTest
Change-Id: I9dfa5f59512f3d1305187cc383c4069ceaaf27fd
New media requiring backup can appear on the device without the user
directly using the gallery app. If the gallery app is responsible for
media backups, this can lead to a lot of pending backup jobs because of
the likely low-priority standby bucket of the gallery app.
We should be lenient in imposing throttling to such jobs.
Test: atest FrameworksMockingServicesTests:JobStatusTest
Bug: 148887841
Change-Id: I54a42037c335f86a9078cf15e3e8d745d03c7337
Communicate current audio mode owner UID to native service
when changing audio mode via setPhoneState.
This will be used by call audio capture restriction rules.
Bug: 148368476
Test: manual phone call tests
Change-Id: Ieb1ff01f20d4b70a4f52b6a0e320d8275d90dbfb
Extract the order system partition list from package manager so
OverlayConfig can reuse the PMS partition order.
Bug: 119442586
Bug: 135048762
Test: ScanTests and PackageManagerServiceTest
Change-Id: If281c5d47e3551eb635c466af6d2400c514518eb
am skip reason: Change-Id I207c446108afdac7ee2c25e6bbcbc37c4e3f6529 with SHA-1 3e63df535a is in history
Change-Id: Ib90134e63ac00f6b377d27d1d8f2a125a247d724
API Council has noted an inconsistency
between setRegisteredPlmn() and getRegisteredPlmn().
Because other methods such as CellIdentity#getMncStr()
are already nullable, it's reasonable to allow the
registered PLMN to be null in the event that the device
isn't registered.
Bug: 149476549
Test: make update-api && make && atest NetworkRegistrationInfoTest
Change-Id: Ib38e72a6bdbaf4e1fd439e92f835daa6f87ceb73
- Let listeners know which task is going to front or back.
onTaskFocusChanged(taskId, focused)
- calls when the task gets or loses focus.
Test: atest ActivityStackSupervisorTest#testNotifyTaskFocusChanged
Bug: 129951708
Change-Id: I92bfdb760f4c5f1db00334f4eff41fe52115b942
1. Modify the related documentations.
2. Make the timestamp got from framework side.
3. Use the ParcelableColorSpace class.
Bug: 149271120
Test: a11y CTS & unit tests
Change-Id: I2aedf67f8ed7d949322b23b59eaa383e53ecb594
isProcStateBackground() mostly is used to determinte when to call registered IUidObserver's
onUidActive() and onUidIdle() callbacks. CameraServer and AudioServer
are the two most notable IUidObserver.
Since AppOps uses PROCESS_STATE_BOUND_FOREGROUND_SERVICE as foreground state cutoff. It is
better we consolidate other part of code use the same proc state as
foreground cutoff.
Bug: 149500958
Test: NA.
Change-Id: I8206ef4c8cad210547204117c2fe8eb0550d459f
Also, extends the client-side timeout to match that
in ActivityManagerService.
Also, fixes an ANR that could occur if getType is called for
an unknown content provider
---------------
Revert "Revert "Prevents an NPE when content provider is slow to start""
This reverts commit 3a54effffd.
Reason for revert: Roll forward of the original CL,
with a fix for the regression it caused
Original commit 140fc2e9c9
Test: atest FrameworksCoreTests:android.content.ContentResolverTest
Fixes: 148987678
Change-Id: Ic60acceaabbf6b32c71d0b8bdf831a7d1f13d392
ActivityControllers are used in tests (e.g. monkeys), therefore
we are not concerned about misbehaving activity controllers on
production devices.
Fixes: 147705653
Test: run a monkey to ensure that activities can still start and
there are no ONEWAY_FLAG warnings from BinderProxy
Change-Id: If14c17e821106e27b562e2ddf76edfd3bdcdd80a